kwin/src/xwayland
David Edmundson f7fb9476b3 xwl: Handle X11 clipboard owners closing more thoroughly
Selection acts as an abstraction around multiple X11Sources, when we get
a new source we asyncronously emit that x11OffersChanged when it
completes.

If the selection is lost, we were just deleting the source, without
notifying other parts.

XwlDataSource is the datasource that SeatInterface knows about. We need
to delete this when the X11 connection is no longer valid. SeatInterface
will update the selection when the XwmlDataSource is deleted if it's the
active selection.

The hook is introduced as updating the selection in Clipboard will cause
Selection to delete m_xSource which gets messy.

BUG: 449909
2023-08-21 07:58:12 +00:00
..
lib autotests: Make test framework a static lib again 2023-06-23 08:01:03 +00:00
clipboard.cpp xwl: Handle X11 clipboard owners closing more thoroughly 2023-08-21 07:58:12 +00:00
clipboard.h xwl: Handle X11 clipboard owners closing more thoroughly 2023-08-21 07:58:12 +00:00
CMakeLists.txt Install KWaylandServer headers 2023-07-04 08:22:43 +00:00
databridge.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
databridge.h Avoid rounding coordinates of motion events more 2023-05-06 06:43:08 +00:00
datasource.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
datasource.h wayland: Prevent matching dnd actions after drop 2022-10-27 11:03:06 +00:00
dnd.cpp xwl: Handle X11 clipboard owners closing more thoroughly 2023-08-21 07:58:12 +00:00
dnd.h xwl: Handle X11 clipboard owners closing more thoroughly 2023-08-21 07:58:12 +00:00
drag.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
drag.h Avoid rounding coordinates of motion events more 2023-05-06 06:43:08 +00:00
drag_wl.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
drag_wl.h Avoid rounding coordinates of motion events more 2023-05-06 06:43:08 +00:00
drag_x.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
drag_x.h Avoid rounding coordinates of motion events more 2023-05-06 06:43:08 +00:00
primary.cpp xwl: Handle X11 clipboard owners closing more thoroughly 2023-08-21 07:58:12 +00:00
primary.h xwl: Handle X11 clipboard owners closing more thoroughly 2023-08-21 07:58:12 +00:00
selection.cpp xwl: Handle X11 clipboard owners closing more thoroughly 2023-08-21 07:58:12 +00:00
selection.h xwl: Handle X11 clipboard owners closing more thoroughly 2023-08-21 07:58:12 +00:00
selection_source.cpp Remove unused fields 2023-07-18 11:15:50 +00:00
selection_source.h Remove unused fields 2023-07-18 11:15:50 +00:00
transfer.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
transfer.h port all headers to pragma once 2022-12-16 20:58:17 +00:00
xwayland.cpp port most uses of the reset(new ...) pattern to std::make_unique 2023-08-11 15:58:15 +02:00
xwayland.h Avoid rounding coordinates of motion events more 2023-05-06 06:43:08 +00:00
xwayland_interface.h Avoid rounding coordinates of motion events more 2023-05-06 06:43:08 +00:00
xwaylandlauncher.cpp port most uses of the reset(new ...) pattern to std::make_unique 2023-08-11 15:58:15 +02:00
xwaylandlauncher.h Launch xwayland on demand 2023-02-06 16:24:01 +00:00
xwldrophandler.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
xwldrophandler.h port all headers to pragma once 2022-12-16 20:58:17 +00:00