Merge branch 'backport' into work
authorDana Jansens <danakj@orodu.net>
Tue, 26 Feb 2008 06:00:26 +0000 (01:00 -0500)
committerDana Jansens <danakj@orodu.net>
Tue, 26 Feb 2008 06:00:26 +0000 (01:00 -0500)
1  2 
openbox/client.c
openbox/screen.c

Simple merge
@@@ -668,12 -682,15 +668,15 @@@ void screen_set_desktop(guint num, gboo
          }
      }
      screen_desktop_timeout = FALSE;
 -    ob_main_loop_timeout_remove(ob_main_loop, last_desktop_func);
 -    ob_main_loop_timeout_add(ob_main_loop, REMEMBER_LAST_DESKTOP_TIME,
 -                             last_desktop_func, NULL, NULL, NULL);
 +    obt_main_loop_timeout_remove(ob_main_loop, last_desktop_func);
 +    obt_main_loop_timeout_add(ob_main_loop, REMEMBER_LAST_DESKTOP_TIME,
 +                              last_desktop_func, NULL, NULL, NULL);
  
 -    ob_debug("Moving to desktop %d\n", num+1);
 +    ob_debug("Moving to desktop %d", 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();