put the directional focus dialog on the active monitor
This commit is contained in:
parent
5579b28481
commit
5f2d2b8f38
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue