diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-03 20:39:26 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-03 20:39:26 +0000 |
| commit | e0e1d4ba7e150b215b55029ddbff3c824b94caf7 (patch) | |
| tree | f77339bd42489362112e75ddee8855231c12e6ad /openbox/client_list_combined_menu.c | |
| parent | 53975abf1220c36ebbab455299a9915477c5a6b8 (diff) | |
don't show the client menu when its for an invalid window
Diffstat (limited to 'openbox/client_list_combined_menu.c')
| -rw-r--r-- | openbox/client_list_combined_menu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/client_list_combined_menu.c b/openbox/client_list_combined_menu.c index 9dd56e0a..fcc95f69 100644 --- a/openbox/client_list_combined_menu.c +++ b/openbox/client_list_combined_menu.c @@ -33,7 +33,7 @@ ObMenu *combined_menu; -static void self_update(ObMenuFrame *frame, gpointer data) +static gboolean self_update(ObMenuFrame *frame, gpointer data) { ObMenu *menu = frame->menu; ObMenuEntry *e; @@ -104,6 +104,7 @@ static void self_update(ObMenuFrame *frame, gpointer data) e->data.normal.enabled = FALSE; } } + return TRUE; /* always show the menu */ } /* executes it using the client in the actions, since we set that |
