mutter/src/wayland
Jonas Ådahl d340c3a6dd wayland: Don't unset surface->buffer when wl_buffer destroyed
Don't unset the surface->buffer if the associated wl_buffer object is
destroyed. The MetaWaylandBuffer doesn't really only represent a
wl_buffer object, but also the data (texture) created from the given
wl_buffer. Thus, for example destroying a released SHM wl_buffer should
not destroy the MetaWaylandBuffer instance, because the texture may
still be used.

This commit also fixes a race where calc_showing would hide a window
because, at the time of calculation whether it should be showing, the
surface's buffer had been destroyed as described above.

https://bugzilla.gnome.org/show_bug.cgi?id=762716
2016-03-01 13:33:13 +08:00
..
protocol wayland: Add gtk-primary-selection protocol 2016-02-26 19:51:32 +01:00
meta-pointer-confinement-wayland.c MetaPointerConfinementWayland: Support non-rectangular confinement regions 2016-02-16 19:02:48 +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: Don't unset surface->buffer when wl_buffer destroyed 2016-03-01 13:33:13 +08:00
meta-wayland-buffer.h wayland: Don't unset surface->buffer when wl_buffer destroyed 2016-03-01 13:33:13 +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: Ensure harder we're dealing with DnD offers/sources 2016-02-29 19:55:55 +01: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-keyboard.c wayland: Add MetaWaylandKeyboardGrab and keyboard grab API 2016-01-19 13:45:56 +01:00
meta-wayland-keyboard.h wayland: Add MetaWaylandKeyboardGrab and keyboard grab API 2016-01-19 13:45:56 +01:00
meta-wayland-outputs.c KMS/Wayland: Correct refresh rate units 2015-11-25 15:35:25 +01:00
meta-wayland-outputs.h wayland: Send wl_surface.enter and wl_surface.leave 2015-07-15 14:55:55 +08:00
meta-wayland-pointer-constraints.c MetaWaylandPointerConstraint: Don't expose internal function 2016-02-25 11:47:17 +08:00
meta-wayland-pointer-constraints.h MetaWaylandPointerConstraint: Don't expose internal function 2016-02-25 11:47:17 +08:00
meta-wayland-pointer-gesture-pinch.c wayland: Use pointer gestures protocol from wayand-protocols 2015-11-26 16:55:35 +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: Use pointer gestures protocol from wayand-protocols 2015-11-26 16:55:35 +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 wayland: Use pointer gestures protocol from wayand-protocols 2015-11-26 16:55:35 +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: Use the event coordinates when sending pointer motion events 2016-02-16 19:02:48 +08:00
meta-wayland-pointer.h Implement support for the wp_pointer_constraints protocol 2016-02-16 19:02:48 +08:00
meta-wayland-popup.c wayland: Fail clients who try to create or destroy a not-top-most popup 2015-02-17 22:14:47 +08:00
meta-wayland-popup.h wayland: Fail clients who try to create or destroy a not-top-most popup 2015-02-17 22:14:47 +08:00
meta-wayland-private.h wayland: Implement wl_pointer_gestures 2015-08-10 17:30:12 +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 it possible to trigger popups through pointer/keyboard/touch 2015-10-17 18:52:52 +02:00
meta-wayland-seat.h wayland: Make it possible to trigger popups through pointer/keyboard/touch 2015-10-17 18:52:52 +02:00
meta-wayland-surface.c wayland: Don't unset surface->buffer when wl_buffer destroyed 2016-03-01 13:33:13 +08:00
meta-wayland-surface.h wayland: Don't unset surface->buffer when wl_buffer destroyed 2016-03-01 13:33:13 +08:00
meta-wayland-touch.c wayland: Fix up touch coordinates on HiDPI 2015-12-14 14:52:23 -08:00
meta-wayland-touch.h wayland: Make it possible to trigger popups through pointer/keyboard/touch 2015-10-17 18:52:52 +02:00
meta-wayland-types.h wayland: Add MetaWaylandKeyboardGrab and keyboard grab API 2016-01-19 13:45:56 +01:00
meta-wayland-versions.h wayland: Implement gtk-shell v3 2016-02-19 17:41:03 +01:00
meta-wayland.c Implement support for the wp_pointer_constraints protocol 2016-02-16 19:02:48 +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 Implement support for the wp_pointer_constraints protocol 2016-02-16 19:02:48 +08:00
meta-window-wayland.h wayland: Take scale into account when placing windows relatively 2015-07-16 11:54:14 +08: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: Implement the (so far internal) primary selection protocol 2016-02-26 19:51:32 +01:00
meta-xwayland.c wayland: Don't scale XWayland pointer cursor sprites 2015-10-04 14:17:14 +08:00
meta-xwayland.h wayland: Don't scale XWayland pointer cursor sprites 2015-10-04 14:17:14 +08:00