mutter/src/wayland
Carlos Garnacho 16eb461054 wayland: Clean up meta_wayland_data_device_set_primary()
This function is already checking for the focus surface client
matching the requestor. The type check was slightly bogus though
as it'd be an screwup in our code, make it an assert instead.

Also, move the check for the client having the focus into the
upper call, so this and wl_data_device.set_selection code can
get more in line.

https://gitlab.gnome.org/GNOME/mutter/issues/878
2019-11-06 15:59:16 +01:00
..
protocol wayland: Update gtk-shell protocol to v3 2019-01-26 18:07:03 +01:00
meta-cursor-sprite-wayland.c cursor-renderer/native: Fetch instead of pass wl_buffer when realizing 2018-06-15 19:09:53 +00:00
meta-cursor-sprite-wayland.h cursor-renderer/native: Fetch instead of pass wl_buffer when realizing 2018-06-15 19:09:53 +00:00
meta-pointer-confinement-wayland.c Replace ClutterPoint by graphene_point_t 2019-10-16 11:38:14 +00: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 Add some gtk-doc comments. 2019-01-06 21:57:16 +01:00
meta-pointer-lock-wayland.h Implement support for the wp_pointer_constraints protocol 2016-02-16 19:02:48 +08:00
meta-selection-source-wayland-private.h wayland: Simplify MetaSelectionSourceWayland 2019-10-11 23:04:01 +02:00
meta-selection-source-wayland.c wayland: Simplify MetaSelectionSourceWayland 2019-10-11 23:04:01 +02:00
meta-wayland-actor-surface.c wayland/actor-surface: Queue redraw for frame callback 2019-10-10 10:01:05 +00:00
meta-wayland-actor-surface.h wayland/actor-surface: Turn get_geometry_scale() into a vfunc 2019-09-27 15:48:36 +00:00
meta-wayland-buffer.c cogl: Add a notion of pixel format planes 2019-10-15 16:35:16 +00:00
meta-wayland-buffer.h wayland: Move surface texture ownership to MetaWaylandSurface 2019-02-25 15:35:38 +00:00
meta-wayland-cursor-surface.c Replace ClutterRect by graphene_rect_t 2019-10-16 11:38:14 +00:00
meta-wayland-cursor-surface.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-data-device-private.h wayland: Flatten data source object hierarchy 2019-11-06 15:59:16 +01:00
meta-wayland-data-device.c wayland: Clean up meta_wayland_data_device_set_primary() 2019-11-06 15:59:16 +01:00
meta-wayland-data-device.h wayland: Simplify MetaSelectionSourceWayland 2019-10-11 23:04:01 +02:00
meta-wayland-dma-buf.c wayland/dma-buf: Handle zero modifiers from eglQueryDmaBufModifiersEXT 2019-09-20 12:09:13 +00:00
meta-wayland-dma-buf.h wayland: Move surface texture ownership to MetaWaylandSurface 2019-02-25 15:35:38 +00:00
meta-wayland-dnd-surface.c Replace ClutterPoint by graphene_point_t 2019-10-16 11:38:14 +00:00
meta-wayland-dnd-surface.h wayland: Move DND surface role into its own file 2019-01-22 18:32:28 +01:00
meta-wayland-egl-stream.c wayland-egl-stream: Add log message on sucessful dlopen 2019-10-14 10:53:38 +02:00
meta-wayland-egl-stream.h wayland: Create EGLStream-backed buffers through wl_eglstream_controller 2018-06-15 13:45:29 -07:00
meta-wayland-gtk-shell.c wayland: Use right sign for workspace ID 2019-06-24 09:21:49 +00:00
meta-wayland-gtk-shell.h wayland: Add MetaWaylandGtkShell object 2018-11-27 15:34:13 +01:00
meta-wayland-inhibit-shortcuts-dialog.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-inhibit-shortcuts-dialog.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-inhibit-shortcuts.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-inhibit-shortcuts.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-input-device.c wayland/input-device: Add next serial helper 2016-10-11 22:51:50 +08:00
meta-wayland-input-device.h wayland/input-device: Add next serial helper 2016-10-11 22:51:50 +08:00
meta-wayland-keyboard.c wayland: Ensure to forward numlock state to clients 2019-10-07 22:28:45 +00:00
meta-wayland-keyboard.h backends: Move numlock persistence handling here 2019-06-24 18:24:57 +02:00
meta-wayland-legacy-xdg-shell.c wayland: Untie MetaWindowXwayland lifetime from the wl_surface 2019-10-07 20:25:20 +00:00
meta-wayland-legacy-xdg-shell.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-outputs.c wayland/xdg-output: Fix xdg-output v3 support 2019-09-05 07:29:10 +00:00
meta-wayland-outputs.h output: Turn winsys_id into a uint64_t 2018-11-19 14:58:48 +00:00
meta-wayland-pointer-constraints.c wayland: Unset pointer constraint in the backend before dropping the grab 2019-10-07 19:37:13 +02:00
meta-wayland-pointer-constraints.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-pointer-gesture-pinch.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-pointer-gesture-pinch.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-pointer-gesture-swipe.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-pointer-gesture-swipe.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-pointer-gestures.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-pointer-gestures.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-pointer.c Replace ClutterPoint by graphene_point_t 2019-10-16 11:38:14 +00:00
meta-wayland-pointer.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-popup.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-popup.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-private.h wayland: Implement on-demand start of Xwayland 2019-08-06 00:41:36 +00:00
meta-wayland-region.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-region.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-seat.c wayland: Check stylus serials on meta_wayland_seat_can_popup() 2019-10-28 19:10:01 +00:00
meta-wayland-seat.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-shell-surface.c wayland: Untie MetaWindowXwayland lifetime from the wl_surface 2019-10-07 20:25:20 +00:00
meta-wayland-shell-surface.h wayland: Untie MetaWindowXwayland lifetime from the wl_surface 2019-10-07 20:25:20 +00:00
meta-wayland-subsurface.c wayland/subsurface: Check if actor exists before unparenting 2019-10-07 08:29:18 +00:00
meta-wayland-subsurface.h wayland: Push actor state instead of itself pulling 2018-02-23 18:57:47 +08:00
meta-wayland-surface.c wayland/surface: Reset buffer_destroy_handler_id 2019-10-21 12:54:36 +00:00
meta-wayland-surface.h Replace ClutterRect by graphene_rect_t 2019-10-16 11:38:14 +00:00
meta-wayland-tablet-cursor-surface.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-cursor-surface.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-manager.c Pass -D_GNU_SOURCE instead of defining it in source 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-manager.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-pad-group.c clutter: Move evdev input to src/backends/native 2019-08-24 08:59:08 +00:00
meta-wayland-tablet-pad-group.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-pad-ring.c Pass -D_GNU_SOURCE instead of defining it in source 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-pad-ring.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-pad-strip.c Pass -D_GNU_SOURCE instead of defining it in source 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-pad-strip.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-pad.c wayland: use correct enum type for tablet pad 2019-11-05 13:07:47 +00:00
meta-wayland-tablet-pad.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-tablet-seat.c wayland: Check stylus serials on meta_wayland_seat_can_popup() 2019-10-28 19:10:01 +00:00
meta-wayland-tablet-seat.h wayland: Check stylus serials on meta_wayland_seat_can_popup() 2019-10-28 19:10:01 +00:00
meta-wayland-tablet-tool.c wayland: Check stylus serials on meta_wayland_seat_can_popup() 2019-10-28 19:10:01 +00:00
meta-wayland-tablet-tool.h wayland: Check stylus serials on meta_wayland_seat_can_popup() 2019-10-28 19:10:01 +00:00
meta-wayland-tablet.c Pass -D_GNU_SOURCE instead of defining it in source 2018-11-06 17:17:36 +01:00
meta-wayland-tablet.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-text-input-legacy.c Replace ClutterRect by graphene_rect_t 2019-10-16 11:38:14 +00:00
meta-wayland-text-input-legacy.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-text-input.c Replace ClutterRect by graphene_rect_t 2019-10-16 11:38:14 +00:00
meta-wayland-text-input.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-touch.c clutter: Move evdev input to src/backends/native 2019-08-24 08:59:08 +00:00
meta-wayland-touch.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-wayland-types.h wayland: Add common object for device classes 2016-09-15 09:54:55 +08:00
meta-wayland-versions.h wayland/xdg-output: Add xdg-output v3 support 2019-08-21 15:47:14 +00:00
meta-wayland-viewporter.c wayland/surface: Add support for wp_viewporter 2019-02-06 12:24:03 +00:00
meta-wayland-viewporter.h wayland/surface: Add support for wp_viewporter 2019-02-06 12:24:03 +00:00
meta-wayland-wl-shell.c wayland: Untie MetaWindowXwayland lifetime from the wl_surface 2019-10-07 20:25:20 +00:00
meta-wayland-wl-shell.h wayland: Restructure surface role building blocks code 2018-02-23 18:57:40 +08:00
meta-wayland-xdg-foreign.c wayland/xdg-foreign: Fix child surface validation check 2018-05-07 19:16:40 +00: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: Untie MetaWindowXwayland lifetime from the wl_surface 2019-10-07 20:25:20 +00:00
meta-wayland-xdg-shell.h wayland: Add support for stable xdg-shell 2018-02-23 18:57:53 +08:00
meta-wayland.c wayland: Add setting/api to check the policy to set up the X11 display 2019-08-06 00:41:36 +00:00
meta-wayland.h wayland: Don't export non-public API not used by tests 2019-06-19 15:19:05 +00:00
meta-window-wayland.c window-actor: Handle geometry scale 2019-08-23 13:23:07 +00:00
meta-window-wayland.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-window-xwayland.c window-xwayland: Add Xwayland fullscreen games workaround 2019-11-01 14:14:21 +01:00
meta-window-xwayland.h xwayland: Add MetaWindowXwayland 2017-12-18 13:15:09 +01:00
meta-xwayland-dnd-private.h wayland: Reduce MetaXWaylandSelection to just DnD 2019-05-02 16:31:45 +02:00
meta-xwayland-dnd.c Replace ClutterPoint by graphene_point_t 2019-10-16 11:38:14 +00:00
meta-xwayland-grab-keyboard.c settings: Slack off “xwayland-allow-grabs” setting 2019-06-03 09:34:31 +02:00
meta-xwayland-grab-keyboard.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-xwayland-private.h xwayland: Use given X11 display for DnD setup 2019-08-19 17:14:40 +02:00
meta-xwayland.c wayland: Untie MetaWindowXwayland lifetime from the wl_surface 2019-10-07 20:25:20 +00:00
meta-xwayland.h meta: Hide libmutter symbols by default and selectively export them 2019-01-23 14:18:13 +01:00