show the desktop change popup before mapping/unmapping all the windows this makes a big difference if the compmgr is being laggy trying to show windows
Dana Jansens danakj@orodu.net
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
openbox/screen.c
→
openbox/screen.c
@@ -688,6 +688,9 @@ last_desktop_func, NULL, NULL, NULL);
ob_debug("Moving to desktop %d\n", num+1); + if (ob_state() == OB_STATE_RUNNING) + screen_show_desktop_popup(screen_desktop); + /* ignore enter events caused by the move */ ignore_start = event_start_ignore_all_enters();@@ -718,9 +721,6 @@ event_end_ignore_all_enters(ignore_start);
if (event_curtime != CurrentTime) screen_desktop_user_time = event_curtime; - - if (ob_state() == OB_STATE_RUNNING) - screen_show_desktop_popup(screen_desktop); } void screen_add_desktop(gboolean current)