projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c341f55
)
don't restack windows that are not managed, or they get readded to the stacking list.
author
Dana Jansens
<danakj@orodu.net>
Tue, 20 Apr 2010 19:39:23 +0000
(15:39 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 20 Apr 2010 19:41:37 +0000
(15:41 -0400)
this would cause a crash if closing a window that was moved to a different monitor while being fullscreen.
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index 5c5b765bd2eccce4cd04e007b8580bae36370019..2d6885dc5780321528109a67c5c71986c8e79aa3 100644
(file)
--- 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);