From e4f24d84a0f9cf81f6228bbe51a30128f451e041 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 22 Aug 2007 17:36:40 +0200 Subject: Hide the desktop cycle popup when the focus cycle popup is shown. --- openbox/focus_cycle_popup.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbox/focus_cycle_popup.c') diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index e0a8080f..1869cc35 100644 --- a/openbox/focus_cycle_popup.c +++ b/openbox/focus_cycle_popup.c @@ -456,6 +456,7 @@ void focus_cycle_popup_show(ObClient *c, gboolean iconic_windows, XMapWindow(ob_display, popup.bg); XFlush(ob_display); popup.mapped = TRUE; + screen_hide_desktop_popup(); } } -- cgit v1.2.3 From 78add1707740be7a3111b8400271cfb0643a5dda Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 23 Aug 2007 09:08:38 -0400 Subject: hide the desktop popup when showing the directional focus popup too --- openbox/focus_cycle_popup.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbox/focus_cycle_popup.c') diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index 1869cc35..dbc65042 100644 --- a/openbox/focus_cycle_popup.c +++ b/openbox/focus_cycle_popup.c @@ -520,6 +520,7 @@ void focus_cycle_popup_single_show(struct _ObClient *c, text = popup_get_name(c); icon_popup_show(single_popup, text, client_icon(c, ICON_SIZE, ICON_SIZE)); g_free(text); + screen_hide_desktop_popup(); } void focus_cycle_popup_single_hide() -- cgit v1.2.3 From c12d09bde85e40fdfbb36225a1b596b5f27c2335 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Tue, 4 Sep 2007 06:22:51 +0200 Subject: Fix calling functions with wrong number of arguments --- openbox/focus_cycle_popup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/focus_cycle_popup.c') diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index dbc65042..8ce2c161 100644 --- a/openbox/focus_cycle_popup.c +++ b/openbox/focus_cycle_popup.c @@ -96,7 +96,7 @@ void focus_cycle_popup_startup(gboolean reconfig) { XSetWindowAttributes attrib; - single_popup = icon_popup_new(TRUE); + single_popup = icon_popup_new(); popup.obwin.type = Window_Internal; popup.a_bg = RrAppearanceCopy(ob_rr_theme->osd_hilite_bg); -- cgit v1.2.3 From 556eb7b7fb20b3b0db03b6d92259ad3bb16dccde Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Tue, 4 Sep 2007 06:21:22 +0200 Subject: ANSI function declarations, ie () -> (void) --- openbox/focus_cycle_popup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/focus_cycle_popup.c') diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index 8ce2c161..488ecce1 100644 --- a/openbox/focus_cycle_popup.c +++ b/openbox/focus_cycle_popup.c @@ -460,7 +460,7 @@ void focus_cycle_popup_show(ObClient *c, gboolean iconic_windows, } } -void focus_cycle_popup_hide() +void focus_cycle_popup_hide(void) { gulong ignore_start; @@ -523,7 +523,7 @@ void focus_cycle_popup_single_show(struct _ObClient *c, screen_hide_desktop_popup(); } -void focus_cycle_popup_single_hide() +void focus_cycle_popup_single_hide(void) { icon_popup_hide(single_popup); } -- cgit v1.2.3