diff options
| author | Dana Jansens <danakj@orodu.net> | 2009-12-15 14:53:29 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2009-12-15 14:53:29 -0500 |
| commit | 3c688bc4a75436a457d3ce693eda6bd6b329412f (patch) | |
| tree | 6440dcff623cf0a36d9b72217ad6d15aa97e8a6c /openbox/focus_cycle_popup.c | |
| parent | 828c095c8b5a2df96a38faaeb8a0df504e68e70f (diff) | |
Make the NET_WORKAREA hint work the way it used to, across all monitors
The spec is not going to change this hint, but rather add a new one. So for now
just revert to the old behaviour.
Diffstat (limited to 'openbox/focus_cycle_popup.c')
| -rw-r--r-- | openbox/focus_cycle_popup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index a544bf14..740d6688 100644 --- a/openbox/focus_cycle_popup.c +++ b/openbox/focus_cycle_popup.c @@ -261,7 +261,7 @@ static void popup_render(ObFocusCyclePopup *p, const ObClient *c) const ObFocusCyclePopupTarget *newtarget; gint newtargetx, newtargety; - screen_area = screen_physical_area_primary(); + screen_area = screen_physical_area_primary(FALSE); /* get the outside margins */ RrMargins(p->a_bg, &ml, &mt, &mr, &mb); @@ -515,7 +515,7 @@ void focus_cycle_popup_single_show(struct _ObClient *c, g_assert(popup.targets == NULL); /* position the popup */ - a = screen_physical_area_primary(); + a = screen_physical_area_primary(FALSE); icon_popup_position(single_popup, CenterGravity, a->x + a->width / 2, a->y + a->height / 2); icon_popup_height(single_popup, POPUP_HEIGHT); |
