summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-07 15:10:03 +0000
committerDana Jansens <danakj@orodu.net>2007-06-07 15:10:03 +0000
commit5f2d2b8f38f2cdf6b0e458573716014a343ca75f (patch)
treef1090a0128946de089785c0d158bd2008c40754e
parent5579b28481a54d9df451e40854d86b927a64a2f4 (diff)
put the directional focus dialog on the active monitor
-rw-r--r--openbox/focus_cycle_popup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c
index 071ffc16..3ec14a5c 100644
--- a/openbox/focus_cycle_popup.c
+++ b/openbox/focus_cycle_popup.c
@@ -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);