diff options
| author | Dana Jansens <danakj@orodu.net> | 2009-12-08 11:32:40 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2009-12-08 13:56:37 -0500 |
| commit | 07126124c9242a5a20883c3145464730e50afe94 (patch) | |
| tree | 89124d70c3b3cb7d3df85618a8f273fb5f731df0 /openbox/client_list_combined_menu.c | |
| parent | 11ecb7d2199d06b2929ba7e5d3c92c021038a0cc (diff) | |
Fix client_activate() to work for internal Openbox menus
client_activate() is a helpful way to focus a window on another desktop,
but only Openbox is allowed to do such things, user messages cannot.
Diffstat (limited to 'openbox/client_list_combined_menu.c')
| -rw-r--r-- | openbox/client_list_combined_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/client_list_combined_menu.c b/openbox/client_list_combined_menu.c index a04d07d6..ad23cd48 100644 --- a/openbox/client_list_combined_menu.c +++ b/openbox/client_list_combined_menu.c @@ -114,7 +114,7 @@ static void menu_execute(ObMenuEntry *self, ObMenuFrame *f, else { ObClient *t = self->data.normal.data; if (t) { /* it's set to NULL if its destroyed */ - client_activate(t, FALSE, TRUE, TRUE, TRUE); + client_activate(t, TRUE, TRUE, TRUE, TRUE); /* if the window is omnipresent then we need to go to its desktop */ if (t->desktop == DESKTOP_ALL) |
