1
0
Fork 0
mutter-performance-source/src/wayland
Jonas Ådahl 33ba06504b MetaWaylandPointerConstraints: Relax enable requirements for Xwayland
Xwayland surfaces are special, because there is no reliable way to
associate a window with its corresponding "application window" (the one
which was given focus). Many games that require pointer warping and
confining pointer grabs may for example create override redirect windows
and make that window receive input even though it will never be the
focus window.

Therefore, the requirements for enabling a constraint for a wl_surface
from Xwayland needs to be relaxed in order. This commit changes
Xwayland wl_surfaces to not require being focused to be enabled; it'll
be enabled as long as any X11 window is the one with focus.

https://bugzilla.gnome.org/show_bug.cgi?id=771050
2016-09-09 10:09:46 +08:00
..
protocol wayland: Make gtk_shell handle our private window states 2016-08-25 12:19:40 +08:00
meta-pointer-confinement-wayland.c wayland: Make seat devices GObjects 2016-09-09 10:09:46 +08:00
meta-pointer-confinement-wayland.h Implement support for the wp_pointer_constraints protocol 2016-02-16 19:02:48 +08:00
meta-pointer-lock-wayland.c Implement support for the wp_pointer_constraints protocol 2016-02-16 19:02:48 +08:00
meta-pointer-lock-wayland.h Implement support for the wp_pointer_constraints protocol 2016-02-16 19:02:48 +08:00
meta-wayland-buffer.c wayland: Survive an unsupported buffer size 2016-08-26 11:16:07 +02:00
meta-wayland-buffer.h wayland: Move buffer use count to MetaWaylandSurface 2016-03-29 18:26:10 +08:00
meta-wayland-data-device-private.h wayland: Implement the (so far internal) primary selection protocol 2016-02-26 19:51:32 +01:00
meta-wayland-data-device.c wayland: Make seat devices GObjects 2016-09-09 10:09:46 +08:00
meta-wayland-data-device.h wayland: Implement the (so far internal) primary selection protocol 2016-02-26 19:51:32 +01:00
meta-wayland-gtk-shell.c wayland: Make gtk_shell handle our private window states 2016-08-25 12:19:40 +08:00
meta-wayland-gtk-shell.h wayland: Move out gtk_shell from meta-wayland-surface.c 2016-08-25 12:19:40 +08:00
meta-wayland-keyboard.c wayland: Make seat devices GObjects 2016-09-09 10:09:46 +08:00
meta-wayland-keyboard.h wayland: Make seat devices GObjects 2016-09-09 10:09:46 +08:00
meta-wayland-outputs.c wayland-outputs: Refactor event sending to ensure we're consistent 2016-05-20 15:45:25 +02:00
meta-wayland-outputs.h wayland-outputs: Refactor event sending to ensure we're consistent 2016-05-20 15:45:25 +02:00
meta-wayland-pointer-constraints.c MetaWaylandPointerConstraints: Relax enable requirements for Xwayland 2016-09-09 10:09:46 +08:00
meta-wayland-pointer-constraints.h MetaWaylandPointerConstraint: Use own 'appears-focused' signal handler 2016-03-09 14:26:53 +08:00
meta-wayland-pointer-gesture-pinch.c wayland: Make seat devices GObjects 2016-09-09 10:09:46 +08:00
meta-wayland-pointer-gesture-pinch.h wayland: Implement the wl_pointer_gesture_pinch interface 2015-08-10 17:23:23 +02:00
meta-wayland-pointer-gesture-swipe.c wayland: Make seat devices GObjects 2016-09-09 10:09:46 +08:00
meta-wayland-pointer-gesture-swipe.h wayland: Implement the wl_pointer_gesture_swipe interface 2015-08-10 17:23:23 +02:00
meta-wayland-pointer-gestures.c configure.ac: Add AC_GNU_SOURCE 2016-07-20 14:23:48 +08:00
meta-wayland-pointer-gestures.h wayland: Implement wl_pointer_gestures 2015-08-10 17:30:12 +02:00
meta-wayland-pointer.c MetaWaylandPointer: Add 'focus-surface-changed' signal 2016-09-09 10:09:46 +08:00
meta-wayland-pointer.h wayland: Make seat devices GObjects 2016-09-09 10:09:46 +08:00
meta-wayland-popup.c wayland: Make seat devices GObjects 2016-09-09 10:09:46 +08:00
meta-wayland-popup.h wayland: Add 'MetaWaylandPopupSurface' bridge between popup and surface 2016-05-01 21:11:27 +08:00
meta-wayland-private.h wayland: Add MetaWaylandTabletManager 2016-05-03 18:17:01 +02:00
meta-wayland-region.c wayland: Make the MetaWaylandRegion type opaque 2014-10-07 20:44:19 -07:00
meta-wayland-region.h wayland: Make the MetaWaylandRegion type opaque 2014-10-07 20:44:19 -07:00
meta-wayland-seat.c wayland: Make seat devices GObjects 2016-09-09 10:09:46 +08:00
meta-wayland-seat.h wayland: Make seat devices GObjects 2016-09-09 10:09:46 +08:00
meta-wayland-surface-role-cursor.c wayland/cursor-role: Handle premature wl_buffer destruction 2016-09-09 10:02:41 +08:00
meta-wayland-surface-role-cursor.h wayland: Make MetaWaylandSurfaceRoleCursor derivable 2016-07-22 13:31:09 +02:00
meta-wayland-surface-role-tablet-cursor.c wayland: Add MetaWaylandSurfaceRoleTabletCursor 2016-07-22 13:31:09 +02:00
meta-wayland-surface-role-tablet-cursor.h wayland: Add MetaWaylandSurfaceRoleTabletCursor 2016-07-22 13:31:09 +02:00
meta-wayland-surface.c MetaWaylandSurface: Move destroy signal even earlier 2016-09-09 10:09:46 +08:00
meta-wayland-surface.h MetaWaylandSurface: Move destroy signal even earlier 2016-09-09 10:09:46 +08:00
meta-wayland-tablet-manager.c wayland: Add pointer from MetaWaylandTabletSeat to MetaWaylandSeat 2016-07-22 13:31:09 +02:00
meta-wayland-tablet-manager.h wayland: Add methods to update the position of different tools' cursors 2016-05-03 18:17:01 +02:00
meta-wayland-tablet-pad-group.c wayland: Emit wp_tablet_pad_group.buttons after focus changes 2016-07-22 13:31:09 +02:00
meta-wayland-tablet-pad-group.h wayland: Export function to tell whether a button belongs to a pad group 2016-07-22 13:31:09 +02:00
meta-wayland-tablet-pad-ring.c wayland: Check serial on wp_tablet_pad_ring.set_feedback 2016-07-22 13:31:09 +02:00
meta-wayland-tablet-pad-ring.h wayland: Add method to relate a pad ring to its group 2016-07-22 13:31:09 +02:00
meta-wayland-tablet-pad-strip.c wayland: Check serial on wp_tablet_pad_strip.set_feedback 2016-07-22 13:31:09 +02:00
meta-wayland-tablet-pad-strip.h wayland: Add method to relate a pad strip to its group 2016-07-22 13:31:09 +02:00
meta-wayland-tablet-pad.c wayland: Check serial on wp_tablet_pad.set_feedback 2016-07-22 13:31:09 +02:00
meta-wayland-tablet-pad.h wayland: Move strips/rings management back to MetaWaylandTabletPad 2016-07-22 13:31:09 +02:00
meta-wayland-tablet-seat.c wayland: Make seat devices GObjects 2016-09-09 10:09:46 +08:00
meta-wayland-tablet-seat.h wayland: Add focus management to pads 2016-07-22 13:31:09 +02:00
meta-wayland-tablet-tool.c MetaWaylandSurface: Allow passing parameters when assigning role 2016-08-25 12:19:40 +08:00
meta-wayland-tablet-tool.h wayland: Add methods to update the position of different tools' cursors 2016-05-03 18:17:01 +02:00
meta-wayland-tablet.c wayland: Implement wp_tablet.path 2016-07-22 13:31:09 +02:00
meta-wayland-tablet.h wayland: Remove unused list from MetaWaylandTablet 2016-05-10 17:45:04 +02:00
meta-wayland-touch.c wayland: Make seat devices GObjects 2016-09-09 10:09:46 +08:00
meta-wayland-touch.h wayland: Make seat devices GObjects 2016-09-09 10:09:46 +08:00
meta-wayland-types.h wayland: Implement wp_tablet_pad_group 2016-07-22 13:31:09 +02:00
meta-wayland-versions.h wayland: Add support for the xdg-foreign protocol 2016-08-22 21:03:41 +08:00
meta-wayland-wl-shell.c wayland: Make seat devices GObjects 2016-09-09 10:09:46 +08:00
meta-wayland-wl-shell.h wayland: Make wl_shell surface role name shorter 2016-05-01 21:11:27 +08:00
meta-wayland-xdg-foreign.c wayland: Add support for the xdg-foreign protocol 2016-08-22 21:03:41 +08:00
meta-wayland-xdg-foreign.h wayland: Add support for the xdg-foreign protocol 2016-08-22 21:03:41 +08:00
meta-wayland-xdg-shell.c wayland: Make seat devices GObjects 2016-09-09 10:09:46 +08:00
meta-wayland-xdg-shell.h wayland/xdg-shell: Port to unstable v6 2016-08-25 12:19:40 +08:00
meta-wayland.c wayland: Make seat devices GObjects 2016-09-09 10:09:46 +08:00
meta-wayland.h Nested X11: use KeymapNotify events to fix key state on FocusIn 2015-09-03 16:02:25 -04:00
meta-window-wayland.c wayland: add min/max size from xdg-shell v6 2016-09-06 08:54:08 +02:00
meta-window-wayland.h wayland: add min/max size from xdg-shell v6 2016-09-06 08:54:08 +02:00
meta-xwayland-private.h xwayland: Implement wayland-to-X11 DnD 2015-05-29 11:27:53 +02:00
meta-xwayland-selection-private.h wayland: Make MetaWaylandDataSource ownership protocol specific 2015-06-30 11:23:40 +08:00
meta-xwayland-selection.c wayland: Make seat devices GObjects 2016-09-09 10:09:46 +08:00
meta-xwayland.c xwayland: Add 'window-associated' signal to role 2016-09-09 10:09:46 +08:00
meta-xwayland.h wayland: Don't scale XWayland pointer cursor sprites 2015-10-04 14:17:14 +08:00