]> Dogcows Code - chaz/openbox/commitdiff
put the directional focus dialog on the active monitor
authorDana Jansens <danakj@orodu.net>
Thu, 7 Jun 2007 15:10:03 +0000 (15:10 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 7 Jun 2007 15:10:03 +0000 (15:10 +0000)
openbox/focus_cycle_popup.c

index 071ffc164bd19582c0abef156b89a53bfe2a2590..3ec14a5c40dadcb8d0613bd7123653e005844052 100644 (file)
@@ -505,7 +505,7 @@ void focus_cycle_popup_single_show(struct _ObClient *c,
         g_assert(popup.targets == NULL);
 
         /* position the popup */
-        a = screen_physical_area_monitor(0);
+        a = screen_physical_area_monitor_active();
         icon_popup_position(single_popup, CenterGravity,
                             a->x + a->width / 2, a->y + a->height / 2);
         icon_popup_height(single_popup, POPUP_HEIGHT);
This page took 0.025417 seconds and 4 git commands to generate.