mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
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:
parent
7a598e5567
commit
8a5cce91bf
@ -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
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user