focus window on right click for menu, #87299.

2002-08-07  Craig Black  <blackc@speakeasy.net>

  * src/core.c: (meta_core_show_window_menu): focus window
  on right click for menu, #87299.
This commit is contained in:
Craig Black 2002-08-08 05:08:59 +00:00 committed by Craig Black
parent 7a598e5567
commit 8a5cce91bf
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-08-07 Craig Black <blackc@speakeasy.net>
* src/core.c: (meta_core_show_window_menu): focus window
on right click for menu, #87299.
2002-08-07 Craig Black <blackc@speakeasy.net> 2002-08-07 Craig Black <blackc@speakeasy.net>
* src/display.c: (meta_display_open): clear expected focus window * src/display.c: (meta_display_open): clear expected focus window

View File

@ -503,6 +503,9 @@ meta_core_show_window_menu (Display *xdisplay,
if (window == NULL || window->frame == NULL) if (window == NULL || window->frame == NULL)
meta_bug ("No such frame window 0x%lx!\n", frame_xwindow); meta_bug ("No such frame window 0x%lx!\n", frame_xwindow);
meta_window_raise (window);
meta_window_focus (window, timestamp);
meta_window_show_menu (window, root_x, root_y, button, timestamp); meta_window_show_menu (window, root_x, root_y, button, timestamp);
} }