summaryrefslogtreecommitdiff
path: root/openbox/menuframe.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/menuframe.c')
-rw-r--r--openbox/menuframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/menuframe.c b/openbox/menuframe.c
index 4f5a34d8..fdb24afb 100644
--- a/openbox/menuframe.c
+++ b/openbox/menuframe.c
@@ -952,7 +952,7 @@ gboolean menu_frame_show_topmenu(ObMenuFrame *self, gint x, gint y,
/* find the monitor the menu is on */
for (i = 0; i < screen_num_monitors; ++i) {
- Rect a = screen_physical_area_monitor(i);
+ Rect *a = screen_physical_area_monitor(i);
gboolean contains = RECT_CONTAINS(*a, x, y);
g_free(a);
if (contains) {