diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-01-11 18:13:12 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-01-11 18:13:12 -0500 |
| commit | 2b80e4e8ef56bb4fba614139601e750344418e5b (patch) | |
| tree | 1dd720f6fa3b3ff489819d12fc2832e84185814a /openbox/focus_cycle_popup.c | |
| parent | 6133bbd5f732622d8d5650d262413429c38af842 (diff) | |
ignore mouse clicks on override-redirect windows that aren't owned by openbox
Diffstat (limited to 'openbox/focus_cycle_popup.c')
| -rw-r--r-- | openbox/focus_cycle_popup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index 028fa45d..9a6f2420 100644 --- a/openbox/focus_cycle_popup.c +++ b/openbox/focus_cycle_popup.c @@ -128,12 +128,14 @@ void focus_cycle_popup_startup(gboolean reconfig) XMapWindow(ob_display, popup.text); stacking_add(INTERNAL_AS_WINDOW(&popup)); + g_hash_table_insert(window_map, &popup.bg, &popup); } void focus_cycle_popup_shutdown(gboolean reconfig) { icon_popup_free(single_popup); + g_hash_table_remove(window_map, &popup.bg); stacking_remove(INTERNAL_AS_WINDOW(&popup)); while(popup.targets) { |
