projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3682b4e
)
oops missed a !
author
Dana Jansens
<danakj@orodu.net>
Thu, 4 Sep 2003 02:58:54 +0000
(
02:58
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 4 Sep 2003 02:58:54 +0000
(
02:58
+0000)
openbox/menuframe.c
patch
|
blob
|
history
diff --git
a/openbox/menuframe.c
b/openbox/menuframe.c
index 6671107c8f41b169336bf28def8034976db11796..7b758d30e281409a62a31bcc4353cad152d66d2b 100644
(file)
--- 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));