]> Dogcows Code - chaz/openbox/blobdiff - openbox/screen.c
add a slight delay to the focus/desktop switch dialogs. so if you hit the key really...
[chaz/openbox] / openbox / screen.c
index a302828baf1a7a293d87dc995e6efce2cbb687a5..25b7a46d0f918d49771e6f78bd0002bd15e44d89 100644 (file)
@@ -601,7 +601,8 @@ void screen_desktop_popup(guint d, gboolean show)
         pager_popup_width(desktop_cycle_popup, MAX(a->width/3, POPUP_WIDTH));
         pager_popup_height(desktop_cycle_popup, POPUP_HEIGHT);
 
-        pager_popup_show(desktop_cycle_popup, screen_desktop_names[d], d);
+        pager_popup_delay_show(desktop_cycle_popup, G_USEC_PER_SEC/12,
+                               screen_desktop_names[d], d);
     }
 }
 
This page took 0.020623 seconds and 4 git commands to generate.