]> Dogcows Code - chaz/openbox/commitdiff
Make the desktop popup show on the primary monitor as defined in the config.
authorDana Jansens <danakj@orodu.net>
Wed, 9 Dec 2009 22:03:51 +0000 (17:03 -0500)
committerDana Jansens <danakj@orodu.net>
Wed, 9 Dec 2009 22:06:55 +0000 (17:06 -0500)
This matches the behaviour of the focus cycle and key chain popups.

openbox/screen.c

index cf2a6db793d6c3b33d8d3a4c0e6e6c1a7741c6c3..4412027e0845bf80020c43f8b52b54f920fa5aca 100644 (file)
@@ -942,7 +942,7 @@ void screen_show_desktop_popup(guint d)
     /* 0 means don't show the popup */
     if (!config_desktop_popup_time) return;
 
-    a = screen_physical_area_active();
+    a = screen_physical_area_primary();
     pager_popup_position(desktop_popup, CenterGravity,
                          a->x + a->width / 2, a->y + a->height / 2);
     pager_popup_icon_size_multiplier(desktop_popup,
This page took 0.024051 seconds and 4 git commands to generate.