X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenuframe.c;h=fdb24afbad7b388ab6b89a279f20c6ef4092b12b;hb=15e6775b0c17220b81456188757362d131a436c8;hp=4f5a34d8d095c2f5d460406c3194627f4a778296;hpb=9586e3bf1482a30e29f230a1a987386fcdcec2c9;p=chaz%2Fopenbox 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) {