Hide the desktop cycle popup when the focus cycle popup is shown.
This commit is contained in:
parent
f4aeb10397
commit
e4f24d84a0
3 changed files with 9 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -858,6 +858,12 @@ void screen_show_desktop_popup(guint d)
|
|||
g_free(a);
|
||||
}
|
||||
|
||||
void screen_hide_desktop_popup()
|
||||
{
|
||||
ob_main_loop_timeout_remove(ob_main_loop, hide_desktop_popup_func);
|
||||
pager_popup_hide(desktop_popup);
|
||||
}
|
||||
|
||||
guint screen_find_desktop(guint from, ObDirection dir,
|
||||
gboolean wrap, gboolean linear)
|
||||
{
|
||||
|
|
|
@ -77,6 +77,8 @@ guint screen_find_desktop(guint from, ObDirection dir,
|
|||
|
||||
/*! Show the desktop popup/notification */
|
||||
void screen_show_desktop_popup(guint d);
|
||||
/*! Hide it */
|
||||
void screen_hide_desktop_popup();
|
||||
|
||||
/*! Shows and focuses the desktop and hides all the client windows, or
|
||||
returns to the normal state, showing client windows.
|
||||
|
|
Loading…
Reference in a new issue