mutter/src/core
Florian Müllner b64548ee1f Pass button_rect when opening window menu from button
When opening the window menu without an associated control - e.g.
by right-clicking the titlebar or by keyboard - using coordinates
for the menu position is appropriate. However when the menu is
associated with a window button, the expected behavior in the
shell can be implemented much easier with the full button geometry:
the menu will point to the center of the button's bottom edge
rather than align to the left/right side of the titlebar as it
does now, and the clickable area where a release event does not
dismiss the menu will match the actual clickable area in mutter.

So add an additional show_window_menu_for_rect() function and
use it when opening the menu from a button.

https://bugzilla.gnome.org/show_bug.cgi?id=731058
2014-06-02 23:49:48 +02:00
..
barrier.c display: Move barrier event processing to barrier.c 2013-11-12 16:53:14 -05:00
bell.c Remove trailing whitespace 2014-05-02 09:34:48 -04:00
bell.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
boxes-private.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
boxes.c Remove trailing whitespace 2014-05-02 09:34:48 -04:00
constraints.c window: Add a meta_window_get_titlebar_rect 2014-05-27 15:15:56 -04:00
constraints.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
core.c Pass button_rect when opening window menu from button 2014-06-02 23:49:48 +02:00
core.h Pass button_rect when opening window menu from button 2014-06-02 23:49:48 +02:00
delete.c Rework timestamp pinging 2014-05-20 15:59:15 -04:00
display-private.h Rework timestamp pinging 2014-05-20 15:59:15 -04:00
display.c Update (allow-none) annotations 2014-05-28 21:55:03 +02:00
edge-resistance.c window: Remove meta_window_move as well 2014-05-27 15:44:33 -04:00
edge-resistance.h window: Remove meta_window_move as well 2014-05-27 15:44:33 -04:00
errors.c Remove trailing whitespace 2014-05-02 09:34:48 -04:00
events.c Make the native backend build-optional 2014-05-29 12:43:08 -04:00
events.h Move event handling to a new file 2014-03-20 15:46:32 -04:00
frame.c frame: Don't reset window->rect 2014-05-28 10:50:23 -04:00
frame.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
keybindings-private.h events: Move keybindings event handling out of the giant switch 2014-05-08 15:28:06 -04:00
keybindings.c Make the native backend build-optional 2014-05-29 12:43:08 -04:00
main.c Make the native backend build-optional 2014-05-29 12:43:08 -04:00
meta-accel-parse.c Fix an uninitialized variable warning 2014-04-22 21:09:06 -04:00
meta-accel-parse.h Move meta_ui_parse_accelerator into core/ 2014-04-07 10:59:46 -04:00
mutter.c default: free the option context after parsing 2014-05-07 19:04:54 +02:00
place.c place: Reindent 2014-05-29 13:58:08 -04:00
place.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
prefs.c Update (allow-none) annotations 2014-05-28 21:55:03 +02:00
screen-private.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
screen.c x11: Add support for a new _GTK_SHOW_WINDOW_MENU request 2014-05-21 18:55:47 -04:00
stack-tracker.c MetaStackTracker: make sure all stack ops are freed eventually 2014-05-07 19:04:54 +02:00
stack-tracker.h Changed obsolete FSF postal address into generic URL. 2014-01-13 11:35:47 -05:00
stack.c Remove trailing whitespace 2014-05-02 09:34:48 -04:00
stack.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
testboxes.c Remove trailing whitespace 2014-05-02 09:34:48 -04:00
util-private.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
util.c Remove trailing whitespace 2014-05-02 09:34:48 -04:00
window-private.h Pass button_rect when opening window menu from button 2014-06-02 23:49:48 +02:00
window.c Pass button_rect when opening window menu from button 2014-06-02 23:49:48 +02:00
workspace-private.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
workspace.c window: Move _NET_WM_DESKTOP setting to window-x11 2014-05-20 15:59:16 -04:00