From 3b31090f88bc4a0246796b09b52a630d66a50d5c Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 20 Apr 2010 15:39:23 -0400 Subject: [PATCH] don't restack windows that are not managed, or they get readded to the stacking list. this would cause a crash if closing a window that was moved to a different monitor while being fullscreen. --- openbox/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbox/client.c b/openbox/client.c index 5c5b765b..2d6885dc 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -3176,7 +3176,8 @@ void client_configure(ObClient *self, gint x, gint y, gint w, gint h, /* if it moved between monitors, then this can affect the stacking layer of this window or others - for fullscreen windows */ - if (screen_find_monitor(&self->frame->area) != + if (self->managed && + screen_find_monitor(&self->frame->area) != screen_find_monitor(&oldframe)) { client_calc_layer(self); -- 2.34.1