summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-04 02:58:54 +0000
committerDana Jansens <danakj@orodu.net>2003-09-04 02:58:54 +0000
commitd989e3c541ea14038258447610bea1ca48298568 (patch)
tree03163e22f93888f86667e86b1d26f62725e29e41 /openbox
parent3682b4ec400bf0fc8a1c524498eb98e8223d9097 (diff)
oops missed a !
Diffstat (limited to 'openbox')
-rw-r--r--openbox/menuframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/menuframe.c b/openbox/menuframe.c
index 6671107c..7b758d30 100644
--- a/openbox/menuframe.c
+++ b/openbox/menuframe.c
@@ -175,7 +175,7 @@ void menu_frame_move_on_screen(ObMenuFrame *self)
if (RECT_INTERSECTS_RECT(*a, self->area))
break;
}
- if (a) a = screen_physical_area_monitor(0);
+ if (!a) a = screen_physical_area_monitor(0);
dx = MIN(0, (a->x + a->width) - (self->area.x + self->area.width));
dy = MIN(0, (a->y + a->height) - (self->area.y + self->area.height));