mutter/src/core
Olivier Fourdan 5f05112b9a wayland: update location prior to maximize
When maximizing a window, the previous location is saved so that
un-maximize would restore the same original window location.

However, if a Wayland client starts with a window maximized, the
previous location will be 0x0, so if we have to force placement in
xdg_toplevel_set_maximized(), we should update the location as well so
that the window is placed on the right monitor when un-maximizing.

For that purpose, add a new flag to force the update of the window
location, and use that flag from xdg_toplevel_set_maximized().

https://bugzilla.gnome.org/show_bug.cgi?id=783901
2018-01-11 11:03:04 +01:00
..
bell.c bell: Fallback to fullscreen flash if no window was passed 2016-03-21 11:38:31 +08:00
bell.h bell: Let the X11 caller deal with the X11 fallback 2016-03-10 12:34:56 +08:00
boxes-private.h cursor-renderer: Track cursor position using floats 2017-07-14 20:54:27 +08:00
boxes.c monitor-config-manager: Verify that logical monitors are adjecent 2017-04-07 22:30:47 +08:00
constraints.c window: Split out preview_tile_mode 2017-10-03 19:38:31 -03:00
constraints.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
core.c core: Remove meta_core_change_workspace() 2015-07-23 12:13:45 +02:00
core.h core: Remove meta_core_get_frame_workspace() declaration 2015-07-23 12:13:45 +02:00
delete.c core: Add meta_close_dialog_focus() vmethod 2017-07-16 19:21:41 +02:00
display-private.h core: Add MetaDisplay::show-osd signal 2017-02-10 20:11:19 +01:00
display.c core: Plug leaks 2017-11-07 10:48:45 +01:00
edge-resistance.c edge-resistance: Remove useless variable 2017-10-03 19:38:31 -03: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 core: Forward events meant for non-alive windows to clutter 2017-07-16 19:21:41 +02:00
events.h Move all X11 event processing to a new file in x11/ 2014-06-11 16:28:45 -04:00
frame.c Always use the default screen 2016-07-23 10:55:02 +08:00
frame.h frame: Put a MetaUIFrame* in our MetaFrame 2014-12-31 22:43:00 -08:00
keybindings-private.h keybindings: Resolve on us layout too if primary is not latin based 2017-09-25 15:31:07 -04:00
keybindings.c keybindings: Super should be inhibitable 2017-12-21 09:08:41 +01:00
main-private.h core: Add private API to override compositor configuration 2017-01-25 16:28:52 +08:00
main.c build: Fix non-wayland builds 2017-05-11 13:45:44 +02:00
meta-accel-parse.c keybindings: Avoid using unitialized memory and grabbing random keys 2016-05-12 20:06:02 +02:00
meta-accel-parse.h keybindings: Have meta_accelerator_parse take a MetaKeyCombo 2015-01-06 19:11:57 -08:00
meta-border.c MetaBorder: Use float constants and functions instead of double variants 2016-02-16 19:02:48 +08:00
meta-border.h Move out generic math parts out of the native barrier implementation 2016-02-16 19:02:48 +08:00
meta-close-dialog-default-private.h core: Implement MetaCloseDialogDefault 2017-05-15 15:09:15 +02:00
meta-close-dialog-default.c core: Ensure we send SIGTERM only once to the zenity close dialog. 2017-07-16 19:21:41 +02:00
meta-close-dialog.c core: Add meta_close_dialog_focus() vmethod 2017-07-16 19:21:41 +02:00
meta-fraction.c Add MetaFraction for dealing with fractions 2017-08-29 14:39:04 +08:00
meta-fraction.h Add MetaFraction for dealing with fractions 2017-08-29 14:39:04 +08:00
meta-gesture-tracker-private.h events: Simplify gesture event management 2014-07-24 18:05:56 +02:00
meta-gesture-tracker.c events: Simplify gesture event management 2014-07-24 18:05:56 +02:00
meta-inhibit-shortcuts-dialog-default-private.h core: implement MetaInhibitShortcutsDialogDefault 2017-08-02 11:58:55 +02:00
meta-inhibit-shortcuts-dialog-default.c core: implement MetaInhibitShortcutsDialogDefault 2017-08-02 11:58:55 +02:00
meta-inhibit-shortcuts-dialog.c core: add MetaInhibitShortcutsDialog 2017-08-02 11:58:55 +02:00
mutter.c Use Unicode in translatable strings 2017-02-16 02:44:16 +01:00
place.c monitor-manager: Move logical monitor into its own file 2017-01-25 16:28:53 +08:00
place.h core: Add support for custom window placement rules 2016-08-25 12:19:40 +08:00
prefs.c prefs: fix a couple of typos 2017-07-31 15:21:06 +01:00
restart-helper.c Add a framework for restarting the compositor with nice visuals 2014-07-16 18:09:25 -04:00
restart.c restart: Make meta_restart() work without a message 2016-06-27 20:23:49 +02:00
screen-private.h window: Split out preview_tile_mode 2017-10-03 19:38:31 -03:00
screen.c backend: move the cursor render update on screen changes here 2017-10-13 00:46:51 -05:00
stack-tracker.c stack-tracker: Keep override redirect windows on top 2017-07-14 15:30:57 +02:00
stack-tracker.h stack-tracker: Make lower_below / raise_above internal as well 2014-09-12 16:56:27 -06:00
stack.c window: Defer stack placement without a buffer 2018-01-11 11:03:04 +01:00
stack.h Revert "window: Remove old tiling code" 2016-01-10 15:16:09 +01:00
startup-notification-private.h core: Refactor startup notification into a separate object 2016-02-19 17:41:03 +01:00
startup-notification.c Always use the default screen 2016-07-23 10:55:02 +08:00
testboxes.c testboxes: Don't avoid parameter list 2015-09-24 03:08:23 +02:00
util-private.h wayland/xdg-foreign: Move out ID generation helper to util.c 2017-08-29 11:49:01 +08:00
util.c wayland/xdg-foreign: Move out ID generation helper to util.c 2017-08-29 11:49:01 +08:00
window-private.h wayland: update location prior to maximize 2018-01-11 11:03:04 +01:00
window.c wayland: update location prior to maximize 2018-01-11 11:03:04 +01:00
workspace-private.h workspace: Don't keep state given logical monitor indices 2017-01-25 16:28:52 +08:00
workspace.c core: Plug leaks 2017-11-07 10:48:45 +01:00