]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus_cycle_popup.c
put the directional focus dialog on the active monitor
[chaz/openbox] / 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.019509 seconds and 4 git commands to generate.