kwin/src
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
..
3rdparty
backends backends/drm: check explicit gpu paths for symlinks 2023-08-19 13:16:29 +00:00
colors Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
core plugins/qpa: handle modifiers more correctly 2023-08-18 13:17:38 +00:00
decorations Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
helpers port most uses of the reset(new ...) pattern to std::make_unique 2023-08-11 15:58:15 +02:00
kcms kcms/decoration: Fix highlight when hovering the preview 2023-08-18 20:39:32 +02:00
libkwineffects plugins/blur: Rewrite it 2023-08-18 13:08:48 +00:00
platformsupport port most uses of the reset(new ...) pattern to std::make_unique 2023-08-11 15:58:15 +02:00
plugins plugins/qpa: handle modifiers more correctly 2023-08-18 13:17:38 +00:00
qml Port to Kirigami.Icon 2023-07-31 16:29:49 +00:00
scene scene: port away from manual memory management 2023-08-11 15:47:36 +02:00
scripting port most uses of the reset(new ...) pattern to std::make_unique 2023-08-11 15:58:15 +02:00
tabbox SVN_SILENT made messages (.desktop file) - always resolve ours 2023-08-14 02:13:18 +00:00
tiles port most uses of the reset(new ...) pattern to std::make_unique 2023-08-11 15:58:15 +02:00
utils plugins/qpa: handle modifiers more correctly 2023-08-18 13:17:38 +00:00
wayland wayland: Use correct window resource when sending parent_window 2023-08-18 13:35:06 +00:00
xwayland xwl: Handle X11 clipboard owners closing more thoroughly 2023-08-21 07:58:12 +00:00
activation.cpp get rid of some unnecessary const_casts 2023-06-14 14:36:36 +00:00
activities.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
activities.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
appmenu.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
appmenu.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
atoms.cpp tabbox: Drop support for _KDE_FIRST_IN_WINDOWLIST 2023-03-25 11:14:09 +00:00
atoms.h tabbox: Drop support for _KDE_FIRST_IN_WINDOWLIST 2023-03-25 11:14:09 +00:00
client_machine.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
client_machine.h
CMakeLists.txt Install KWaylandServer headers 2023-07-04 08:22:43 +00:00
composite.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
composite.h libkwineffects: Stop including xcb/xcb.h everywhere 2023-05-15 18:59:46 +00:00
config-kwin.h.cmake Remove PipeWire_FOUND in config-kwin.h 2023-05-03 14:51:57 +03:00
cursor.cpp delete platform cursor before Application 2023-07-24 14:52:38 +00:00
cursor.h delete platform cursor before Application 2023-07-24 14:52:38 +00:00
cursorsource.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
cursorsource.h Don't assume SurfaceCursorSource has wl_shm buffer 2023-05-10 15:40:59 +03:00
dbusinterface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
dbusinterface.h
debug_console.cpp port most uses of the reset(new ...) pattern to std::make_unique 2023-08-11 15:58:15 +02:00
debug_console.h x11: Merge Unmanaged into X11Window 2023-03-28 18:14:32 +00:00
debug_console.ui Fix warning about duplicate names in debug_console.ui 2023-03-25 18:33:24 +00:00
dmabuftexture.cpp Remove some include_directories() 2023-03-23 14:37:48 +02:00
dmabuftexture.h Move DmaBufAttributes struct to GraphicsBuffer header 2023-04-21 06:38:58 +00:00
dpmsinputeventfilter.cpp
dpmsinputeventfilter.h
effectloader.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
effectloader.h
effects.cpp core: Rework OutputTransform type 2023-07-25 12:09:19 +03:00
effects.h Sync EffectsHandler::windowAdded with Workspace::windowAdded 2023-06-16 06:41:12 +00:00
events.cpp get rid of some unnecessary const_casts 2023-06-14 14:36:36 +00:00
focuschain.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
focuschain.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
ftrace.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
ftrace.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
gestures.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
gestures.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
globalshortcuts.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
globalshortcuts.h globalshortcuts: Do not ignore duplicated shortcuts 2023-05-22 17:44:04 +00:00
group.cpp
group.h
hide_cursor_spy.cpp
hide_cursor_spy.h
idle_inhibition.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
idle_inhibition.h
idledetector.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
idledetector.h
input.cpp input: add special handling for tabbox modifiers 2023-08-11 13:28:21 +00:00
input.h core: Batch pointer input device events 2023-05-05 10:27:08 +00:00
input_event.cpp Remove Qt 5 specific code 2023-02-28 18:30:26 +02:00
input_event.h input: add special handling for tabbox modifiers 2023-08-11 13:28:21 +00:00
input_event_spy.cpp
input_event_spy.h
inputmethod.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
inputmethod.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
inputpanelv1integration.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
inputpanelv1integration.h
inputpanelv1window.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
inputpanelv1window.h wayland: Interpret input panel's input shape as the window geometry 2023-03-31 16:59:13 +00:00
internalwindow.cpp qpa: Port OpenGL code path to GraphicsBuffer 2023-08-07 13:17:18 +00:00
internalwindow.h qpa: Port OpenGL code path to GraphicsBuffer 2023-08-07 13:17:18 +00:00
keyboard_input.cpp input: add special handling for tabbox modifiers 2023-08-11 13:28:21 +00:00
keyboard_input.h
keyboard_layout.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
keyboard_layout.h
keyboard_layout_switching.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
keyboard_layout_switching.h
keyboard_repeat.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
keyboard_repeat.h
killwindow.cpp x11: Merge Unmanaged into X11Window 2023-03-28 18:14:32 +00:00
killwindow.h
kscreenintegration.cpp core: Move Output::Transform enum to KWin namespace 2023-07-25 12:09:01 +03:00
kscreenintegration.h handle laptop lid closing in KWin 2023-05-09 15:18:33 +00:00
kwin.kcfg Drop options.h include 2023-07-04 08:22:43 +00:00
kwin.notifyrc SVN_SILENT made messages (.desktop file) - always resolve ours 2023-08-07 02:38:56 +00:00
KWinConfig.cmake.in We depend against qt6 2023-07-13 09:27:53 +02:00
kwineglutils_p.h platformsupport/scenes: move egl context into a separate class 2023-04-12 15:01:51 +02:00
layers.cpp Remove null window checks in restacking requests 2023-05-26 17:30:21 +03:00
layershellv1integration.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
layershellv1integration.h
layershellv1window.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
layershellv1window.h layershellv1window: don't destroy the window twice 2023-06-21 16:44:58 +02:00
lidswitchtracker.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
lidswitchtracker.h handle laptop lid closing in KWin 2023-05-09 15:18:33 +00:00
main.cpp delete platform cursor before Application 2023-07-24 14:52:38 +00:00
main.h delete platform cursor before Application 2023-07-24 14:52:38 +00:00
main_wayland.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
main_wayland.h
main_x11.cpp port most uses of the reset(new ...) pattern to std::make_unique 2023-08-11 15:58:15 +02:00
main_x11.h delete platform cursor before Application 2023-07-24 14:52:38 +00:00
Messages.sh {effects,scripts,plugins}: Use kwin translation domain 2023-04-19 07:10:14 +00:00
modifier_only_shortcuts.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
modifier_only_shortcuts.h
mousebuttons.cpp Fix button to Qt::MouseButton mapping 2023-02-10 09:27:37 +00:00
mousebuttons.h
moving_client_x11_filter.cpp
moving_client_x11_filter.h
netinfo.cpp port most uses of the reset(new ...) pattern to std::make_unique 2023-08-11 15:58:15 +02:00
netinfo.h port most uses of the reset(new ...) pattern to std::make_unique 2023-08-11 15:58:15 +02:00
onscreennotification.cpp port most uses of the reset(new ...) pattern to std::make_unique 2023-08-11 15:58:15 +02:00
onscreennotification.h
options.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
options.h Drop options.h include 2023-07-04 08:22:43 +00:00
org.freedesktop.DBus.Properties.xml
org.kde.kappmenu.xml
org.kde.kwin.Compositing.xml
org.kde.kwin.Effects.xml
org.kde.KWin.Plugins.xml
org.kde.KWin.Session.xml
org.kde.KWin.VirtualDesktopManager.xml
org.kde.KWin.xml
osd.cpp
osd.h
outline.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
outline.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
outputconfigurationstore.cpp outputconfigurationstore: reformat comment 2023-06-21 11:17:00 +02:00
outputconfigurationstore.h handle laptop lid closing in KWin 2023-05-09 15:18:33 +00:00
placeholderinputeventfilter.cpp
placeholderinputeventfilter.h
placeholderoutput.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
placeholderoutput.h
placement.cpp placeSmart: Properly track width and height 2023-08-07 07:14:18 +00:00
placement.h Port window cascading from X11 desktop ids to VirtualDesktop 2023-03-30 12:21:05 +03:00
placementtracker.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
placementtracker.h Remove window arg in Window::{buffer,client,frame}GeometryChanged signals 2023-03-06 17:30:27 +00:00
plugin.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
plugin.h
pluginmanager.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
pluginmanager.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
pointer_input.cpp delete platform cursor before Application 2023-07-24 14:52:38 +00:00
pointer_input.h delete platform cursor before Application 2023-07-24 14:52:38 +00:00
popup_input_filter.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
popup_input_filter.h Tidy Window::windowClosed() signal 2023-03-14 07:15:56 +00:00
resources.qrc scene: Add pixel grid snapping debug pass 2023-04-18 08:16:11 +00:00
rootinfo_filter.cpp
rootinfo_filter.h
rulebooksettings.cpp
rulebooksettings.h
rulebooksettingsbase.kcfg
rulebooksettingsbase.kcfgc
rules.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
rules.h get rid of some unnecessary const_casts 2023-06-14 14:36:36 +00:00
rulesettings.kcfg kcms/rules: Change opacity defaults to 100% 2023-02-09 22:41:39 +01:00
rulesettings.kcfgc
screenedge.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
screenedge.h Delegate screen edge reservation error handling to user 2023-05-26 08:50:37 +00:00
screenlockerwatcher.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
screenlockerwatcher.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
settings.kcfgc
shadow.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
shadow.h Drop Deleted 2023-03-28 08:31:08 +00:00
shortcutdialog.ui
sm.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
sm.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
syncalarmx11filter.cpp
syncalarmx11filter.h
tablet_input.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
tablet_input.h
tabletmodemanager.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
tabletmodemanager.h Remove unused fields 2023-07-18 11:15:50 +00:00
touch_input.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
touch_input.h Remove unused fields 2023-07-18 11:15:50 +00:00
useractions.cpp port most uses of the reset(new ...) pattern to std::make_unique 2023-08-11 15:58:15 +02:00
useractions.h Move Window::{frameId,window} to X11Window 2023-03-29 13:18:01 +03:00
virtualdesktops.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
virtualdesktops.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
virtualdesktopsdbustypes.cpp
virtualdesktopsdbustypes.h
virtualkeyboard_dbus.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
virtualkeyboard_dbus.h
was_user_interaction_x11_filter.cpp
was_user_interaction_x11_filter.h
wayland_server.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
wayland_server.h wayland: Reimplement wl-drm 2023-04-14 14:13:56 +00:00
waylandshellintegration.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
waylandshellintegration.h
waylandwindow.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
waylandwindow.h XdgTopLevelWindow: Update client output in initialize() 2023-08-05 14:41:31 +02:00
window.cpp wayland: Implement xdg-shell v6 2023-08-07 12:21:28 +00:00
window.h wayland: Implement xdg-shell v6 2023-08-07 12:21:28 +00:00
window_property_notify_x11_filter.cpp x11: Merge Unmanaged into X11Window 2023-03-28 18:14:32 +00:00
window_property_notify_x11_filter.h
workspace.cpp port most uses of the reset(new ...) pattern to std::make_unique 2023-08-11 15:58:15 +02:00
workspace.h get rid of some unnecessary const_casts 2023-06-14 14:36:36 +00:00
x11eventfilter.cpp
x11eventfilter.h
x11syncmanager.cpp Remove some include_directories() 2023-03-23 14:37:48 +02:00
x11syncmanager.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
x11window.cpp port most uses of the reset(new ...) pattern to std::make_unique 2023-08-11 15:58:15 +02:00
x11window.h Move window hiding logic to Window 2023-06-06 13:58:44 +00:00
xdgactivationv1.cpp port most uses of the reset(new ...) pattern to std::make_unique 2023-08-11 15:58:15 +02:00
xdgactivationv1.h port most uses of the reset(new ...) pattern to std::make_unique 2023-08-11 15:58:15 +02:00
xdgshellintegration.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
xdgshellintegration.h
xdgshellwindow.cpp XdgTopLevelWindow: Translate window menu coordinate from local 2023-08-09 17:03:50 +02:00
xdgshellwindow.h wayland: Implement xdg-shell v6 2023-08-07 12:21:28 +00:00
xkb.cpp input: add special handling for tabbox modifiers 2023-08-11 13:28:21 +00:00
xkb.h input: add special handling for tabbox modifiers 2023-08-11 13:28:21 +00:00