projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73b3838
)
take care when sibling is specified as an unmanaged window
author
Dana Jansens
<danakj@orodu.net>
Wed, 18 Jul 2007 19:45:22 +0000
(15:45 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 18 Jul 2007 19:45:22 +0000
(15:45 -0400)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index
614373d
..
3fa017f
100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-1073,8
+1073,11
@@
static void event_handle_client(ObClient *client, XEvent *e)
ObWindow *win;
win = g_hash_table_lookup(window_map,
&e->xconfigurerequest.above);
- if (WINDOW_IS_CLIENT(win) && WINDOW_AS_CLIENT(win) != client)
+ if (win && WINDOW_IS_CLIENT(win) &&
+ WINDOW_AS_CLIENT(win) != client)
+ {
sibling = WINDOW_AS_CLIENT(win);
+ }
}
if (!config_focus_under_mouse)