1
0
Fork 0
mutter-performance-source/src/core
Jonas Ådahl 5376c31a33 window: Keep windows with placement rule attached to parent
A window placed using a placement rule should keep that relative
position even if the parent window moves, as the position tied to the
parent window, not to the stage. Thus, if the parent window moves, the
child window should move with it.

In the implementation in this commit, the constraints engine is not
used when repositioning the children; the window is simply positioned
according to the effective placement rule that was derived from the
initial constraining, as the a xdg_popup at the moment cannot move
(relative its parent) after being mapped.

Closes: https://gitlab.gnome.org/GNOME/mutter/issues/274
2018-08-27 12:15:06 +00:00
..
bell.c Make bell and libstartup-notification bits work without X11 2018-07-06 19:47:16 +02:00
bell.h Make bell and libstartup-notification bits work without X11 2018-07-06 19:47:16 +02: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: Keep windows with placement rule attached to parent 2018-08-27 12:15:06 +00:00
constraints.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
core.c Move workspace related code from MetaDisplay to MetaWorkspaceManager 2018-07-06 19:47:17 +02:00
core.h core: Remove meta_core_get_frame_workspace() declaration 2015-07-23 12:13:45 +02:00
delete.c Rename errors.[ch] to meta-x11-errors.[ch] 2018-07-06 19:47:17 +02:00
display-private.h display: Export meta_display_close() 2018-07-06 19:47:17 +02:00
display.c Don't cast free function passed to g_clear_pointer 2018-07-31 23:40:01 +02:00
edge-resistance.c Move workspace related code from MetaDisplay to MetaWorkspaceManager 2018-07-06 19:47:17 +02:00
edge-resistance.h window: Remove meta_window_move as well 2014-05-27 15:44:33 -04:00
events.c Prepare for making MetaX11Display conditional 2018-07-06 19:47:16 +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 Rename errors.[ch] to meta-x11-errors.[ch] 2018-07-06 19:47:17 +02:00
frame.h frame: Put a MetaUIFrame* in our MetaFrame 2014-12-31 22:43:00 -08:00
keybindings-private.h Move UI and key grabs to MetaX11Display 2018-07-06 19:47:16 +02:00
keybindings.c keybindings: Ignore auto-repeat events for some keybindings 2018-08-20 10:16:33 +00:00
main-private.h Add --no-x11 flag so mutter wayland can be started without X11 2018-07-06 19:47:17 +02:00
main.c x11: Open window decoration X11 connection earlier 2018-07-06 19:54:46 +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 Start populating MetaX11Display 2018-07-06 19:47:16 +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 Change naming of GParmSpec enum id string for naming consistency 2018-02-10 13:49:14 +01: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
meta-workspace-manager-private.h Move workspace related code from MetaDisplay to MetaWorkspaceManager 2018-07-06 19:47:17 +02:00
meta-workspace-manager.c Move workspace related code from MetaDisplay to MetaWorkspaceManager 2018-07-06 19:47:17 +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: Remove override system 2018-07-31 18:38:53 +00:00
restart-helper.c Add a framework for restarting the compositor with nice visuals 2014-07-16 18:09:25 -04:00
restart.c Split GDK initialization from MetaUI 2018-07-06 19:47:16 +02:00
stack-tracker.c stack-tracker: Don't sort O-R's under guard window on top 2018-07-17 16:30:18 +02:00
stack-tracker.h Move stack tracking and guard_window outside of MetaScreen 2018-07-06 19:47:16 +02:00
stack.c Move workspace related code from MetaDisplay to MetaWorkspaceManager 2018-07-06 19:47:17 +02:00
stack.h Move stack tracking and guard_window outside of MetaScreen 2018-07-06 19:47:16 +02:00
startup-notification-private.h core: Refactor startup notification into a separate object 2016-02-19 17:41:03 +01:00
startup-notification.c Rename errors.[ch] to meta-x11-errors.[ch] 2018-07-06 19:47:17 +02: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 window: Keep windows with placement rule attached to parent 2018-08-27 12:15:06 +00:00
window.c window: Keep windows with placement rule attached to parent 2018-08-27 12:15:06 +00:00
workspace-private.h Move workspace related code from MetaDisplay to MetaWorkspaceManager 2018-07-06 19:47:17 +02:00
workspace.c Move workspace related code from MetaDisplay to MetaWorkspaceManager 2018-07-06 19:47:17 +02:00