]> Dogcows Code - chaz/openbox/commitdiff
start menus with the cursor inside it, not over the border, a little closer to the...
authorDana Jansens <danakj@orodu.net>
Sun, 28 Sep 2003 09:48:58 +0000 (09:48 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 28 Sep 2003 09:48:58 +0000 (09:48 +0000)
openbox/menu.c

index 69256f5f5977fb9bade95286cadb0a9743a2ccad..5efacc2a197b450bd656741bdceec54993354fbe 100644 (file)
@@ -290,7 +290,7 @@ void menu_show(gchar *name, gint x, gint y, ObClient *client)
     menu_frame_hide_all();
 
     frame = menu_frame_new(self, client);
-    menu_frame_move(frame, x, y);
+    menu_frame_move(frame, x - ob_rr_theme->bwidth, y - ob_rr_theme->bwidth);
     menu_frame_show(frame, NULL);
     if (frame->entries)
         menu_frame_select_next(frame);
This page took 0.02253 seconds and 4 git commands to generate.