1
0
Fork 0
mutter-performance-source/src/wayland
Carlos Garnacho 006cdac531 wayland: Use read_all() when reading wayland selections
Plain input stream read() calls don't provide hard guarantees about
the number of bytes read, but the async method callback sort of
relies on bytes being less than requested only when reaching the
end of the transmitted data. If that happens mid transfer, that
doesn't bode well.

This is actually the behavior of g_input_stream_read_all(), so
switch to using it.
2018-02-07 19:29:28 +01:00
..
protocol protocol: Add internal text input protocol 2018-01-18 16:20:45 +01:00
meta-pointer-confinement-wayland.c wayland: Update pointer confinement on surface actor relocations 2017-10-26 12:53:20 +02: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/buffer: Add missing breaks in switch statement 2017-08-16 13:33:17 +08:00
meta-wayland-buffer.h wayland: Add zwp_linux_dmabuf_v1 support 2017-08-01 19:05:50 +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 dnd: Implement DnD handling code in Wayland 2017-03-07 08:28:36 +08:00
meta-wayland-data-device.h dnd: Implement DnD handling code in Wayland 2017-03-07 08:28:36 +08:00
meta-wayland-dma-buf.c wayland-dma-buf: Don't send modifiers to old clients 2017-10-05 10:51:06 -04:00
meta-wayland-dma-buf.h wayland: Add zwp_linux_dmabuf_v1 support 2017-08-01 19:05:50 +08:00
meta-wayland-egl-stream.c MetaWaylandEglStream: Use EGL_WL_wayland_eglstream instead of fd hack 2017-01-03 17:50:03 +08:00
meta-wayland-egl-stream.h wayland: Fix cogl include 2016-11-23 18:03:59 +01:00
meta-wayland-gtk-shell.c wayland: Send edge constraints 2017-10-03 19:38:32 -03: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-inhibit-shortcuts-dialog.c wayland: Keep the inhibit shortcut dialog 2017-09-14 09:32:26 +02:00
meta-wayland-inhibit-shortcuts-dialog.h wayland: Keep the inhibit shortcut dialog 2017-09-14 09:32:26 +02:00
meta-wayland-inhibit-shortcuts.c wayland: send shortcut inhibit “active” event 2018-02-05 09:06:49 +00:00
meta-wayland-inhibit-shortcuts.h wayland: add keyboard shortcuts inhibitor protocol 2017-08-02 11:58:55 +02: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: Let IM-processed key events go through MetaWaylandKeyboard 2018-01-18 16:20:45 +01:00
meta-wayland-keyboard.h wayland/keyboard: Apply sticky keys masks 2017-11-16 14:14:31 +01:00
meta-wayland-outputs.c wayland: send xdg-output size as size, not position 2018-01-15 10:41:01 +01:00
meta-wayland-outputs.h wayland: Add xdg-output support 2017-12-15 14:18:14 +01:00
meta-wayland-pointer-constraints.c wayland/pointer-constraints: Don't include window frame in region 2016-10-13 12:59:41 +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: Forward touchpad pinch n_fingers information to clients 2016-11-04 16:28:30 +01: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 clutter: Rename touchpad gesture n_fingers getter to be more generic 2016-11-04 16:28:30 +01: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 wayland: Update button state on motion/button events 2017-07-24 17:57:31 +02:00
meta-wayland-pointer.h wayland/pointer: Track lifetime of current surface 2017-06-01 12:46:32 +08:00
meta-wayland-popup.c MetaWaylandPopup: Dismiss popup when grab is cancelled 2016-10-12 10:08:59 +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: Allow Xwayland to leave core dumps 2017-10-26 19:50:40 -05: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: Bolt MetaWaylandTextInput in. 2018-01-18 16:20:45 +01:00
meta-wayland-seat.h wayland: Implement text input protocol 2018-01-18 16:20:45 +01:00
meta-wayland-surface-role-cursor.c cursor-renderer: Track cursor position using floats 2017-07-14 20:54:27 +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 wayland/surface: Disconnect actor handlers before unassigning role 2017-10-27 19:08:38 +08:00
meta-wayland-surface.h wayland: add inhibit shortcut mechanism 2017-08-02 11:58:55 +02: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: Clean up MetaWaylandTabletPadGroup 2017-02-10 20:11:19 +01: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: fix copy/pasto sending tool removed on rings/strips 2017-02-07 14:04:52 +01: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: fix copy/pasto sending tool removed on rings/strips 2017-02-07 14:04:52 +01: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 core: Handle special actions associated to pad buttons in generic code 2016-11-04 21:25:31 +01: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: Use clutter_input_device_is_grouped() for tablet grouping 2017-03-13 19:34:10 +01: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 wayland: Reset tablet tool cursor surface on proximity out 2017-07-26 15:41:28 +02:00
meta-wayland-tablet-tool.h cursor-renderer: Track cursor position using floats 2017-07-14 20:54:27 +08: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-text-input.c wayland: Implement text input protocol 2018-01-18 16:20:45 +01:00
meta-wayland-text-input.h wayland: Implement text input protocol 2018-01-18 16:20:45 +01:00
meta-wayland-touch.c wayland: Only send full sequences of touch events to clients 2017-12-21 12:37:20 +01:00
meta-wayland-touch.h wayland: Move device seat association to MetaWaylandInputDevice 2016-09-15 09:55:34 +08: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: Implement text input protocol 2018-01-18 16:20:45 +01:00
meta-wayland-wl-shell.c wayland: Ensure wl_shell_surfaces are set reactive 2018-01-09 11:27:30 -05: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/xdg-foreign: Move out ID generation helper to util.c 2017-08-29 11:49:01 +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: update location prior to maximize 2018-01-11 11:03:04 +01: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: No need to check for keyboard 2018-01-31 16:04:20 +01:00
meta-wayland.h wayland/output: Flush clients after creating wl_output global 2017-08-30 13:42:45 +08:00
meta-window-wayland.c wayland: update location prior to maximize 2018-01-11 11:03:04 +01:00
meta-window-wayland.h window: Replace monitor scale getter with geometry scale 2017-04-07 22:30:48 +08:00
meta-window-xwayland.c xwayland: add _XWAYLAND_MAY_GRAB_KEYBOARD property 2017-12-18 13:15:13 +01:00
meta-window-xwayland.h xwayland: Add MetaWindowXwayland 2017-12-18 13:15:09 +01:00
meta-xwayland-grab-keyboard.c wayland: Add Xwayland grab keyboard support 2017-12-18 13:15:20 +01:00
meta-xwayland-grab-keyboard.h wayland: Add Xwayland grab keyboard support 2017-12-18 13:15:20 +01: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: Use read_all() when reading wayland selections 2018-02-07 19:29:28 +01:00
meta-xwayland.c wayland: Do not fail on stalled .X11-unix entries 2018-02-05 11:36:19 +00:00
meta-xwayland.h xwayland: add _XWAYLAND_MAY_GRAB_KEYBOARD property 2017-12-18 13:15:13 +01:00