diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-07-06 19:41:23 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-07-06 19:41:23 +0000 |
| commit | 0d0ce065df9ff1acc06fe63e4a0fe45c184de693 (patch) | |
| tree | 1d4837af35ef0263656360e6f91890b930b843d5 /openbox/client.c | |
| parent | b3d26fdb20e5a939210265ecdf8e5b51340991c6 (diff) | |
don't focus helper windows that map unless there are no other valid targets in the group (don't move focus from a group window to a new helper window).
this fixes gucharmap.
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c index 015e36f2..4383bc7d 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -274,6 +274,9 @@ void client_manage(Window window) /* get all the stuff off the window */ client_get_all(self, TRUE); + ob_debug("Window type: %d\n", self->type); + ob_debug("Window group: 0x%x\n", self->group?self->group->leader:0); + /* specify that if we exit, the window should not be destroyed and should be reparented back to root automatically */ XChangeSaveSet(ob_display, window, SetModeInsert); @@ -320,7 +323,7 @@ void client_manage(Window window) client_search_focus_tree_full(self)) && /* this checks for focus=false for the window */ (!settings || settings->focus != 0) && - focus_valid_target(self, FALSE, TRUE, FALSE, FALSE)) + focus_valid_target(self, FALSE, FALSE, TRUE, FALSE, FALSE)) { activate = TRUE; } |
