kwin/src/wayland
David Redondo 00f1382f27 wayland: Use correct window resource when sending parent_window
While not common a client can have bound the global multiple times
and create window objects through all of them. In this case the event
send to the client would carry the wrong object since only the clients
of the two resources were checked for equality.
We can save the resource of the window managment the window
belongs to by extending the resource and storing it there.
Sending the initialState has been moved out of resource_bind since
it happens directly after allocate() and there being no opportunity
to set the custom wmResource field in between.
2023-08-18 13:35:06 +00:00
..
autotests core: Rework OutputTransform type 2023-07-25 12:09:19 +03:00
protocols wayland: Reimplement wl-drm 2023-04-14 14:13:56 +00:00
tests core: Move Output::Transform enum to KWin namespace 2023-07-25 12:09:01 +03:00
tools Port to KF6 2023-02-28 18:30:26 +02:00
utils
abstract_data_source.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
abstract_data_source.h
abstract_drop_handler.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
abstract_drop_handler.h
appmenu_interface.cpp
appmenu_interface.h
blur_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
blur_interface.h
clientconnection.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
clientconnection.h
CMakeLists.txt wayland: Implement cursor-shape-v1 2023-07-12 11:22:11 +03:00
compositor_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
compositor_interface.h
contenttype_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
contenttype_v1_interface.h
contrast_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
contrast_interface.h
cursorshape_v1_interface.cpp wayland: Implement cursor-shape-v1 2023-07-12 11:22:11 +03:00
cursorshape_v1_interface.h wayland: Implement cursor-shape-v1 2023-07-12 11:22:11 +03:00
datacontroldevice_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
datacontroldevice_v1_interface.h
datacontroldevicemanager_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
datacontroldevicemanager_v1_interface.h
datacontroloffer_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
datacontroloffer_v1_interface.h
datacontrolsource_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
datacontrolsource_v1_interface.h
datadevice_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
datadevice_interface.h
datadevice_interface_p.h
datadevicemanager_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
datadevicemanager_interface.h
dataoffer_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
dataoffer_interface.h
datasource_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
datasource_interface.h
DESIGN.md
display.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
display.h wayland: Drop ClientBuffer 2023-04-30 15:39:31 +03:00
display_p.h wayland: Refactor ClientBuffer 2023-04-30 15:39:10 +03:00
dpms_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
dpms_interface.h
drmclientbuffer.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
drmclientbuffer.h wayland: Drop ClientBuffer 2023-04-30 15:39:31 +03:00
drmlease_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
drmlease_v1_interface.h
drmlease_v1_interface_p.h
fakeinput_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
fakeinput_interface.h
filtered_display.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
filtered_display.h
fractionalscale_v1_interface.cpp wayland: Don't send preferred scale and transform if not determined yet 2023-08-10 07:05:49 +00:00
fractionalscale_v1_interface.h
fractionalscale_v1_interface_p.h
idle_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
idle_interface.h
idle_interface_p.h
idleinhibit_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
idleinhibit_v1_interface.h
idleinhibit_v1_interface_p.h
idlenotify_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
idlenotify_v1_interface.h
inputmethod_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
inputmethod_v1_interface.h wayland: Use correct signal to get notified when to destroy InputPanelV1Window 2023-03-23 11:24:20 +02:00
keyboard_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
keyboard_interface.h wayland: send modifiers to clients under the mouse 2023-04-19 14:19:52 +02:00
keyboard_interface_p.h wayland: send modifiers to clients under the mouse 2023-04-19 14:19:52 +02:00
keyboard_shortcuts_inhibit_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
keyboard_shortcuts_inhibit_v1_interface.h
keystate_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
keystate_interface.h
layershell_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
layershell_v1_interface.h
linuxdmabufv1clientbuffer.cpp port most uses of the reset(new ...) pattern to std::make_unique 2023-08-11 15:58:15 +02:00
linuxdmabufv1clientbuffer.h wayland: Make LinuxDmaBufV1ClientBuffer private 2023-05-23 09:39:19 +00:00
linuxdmabufv1clientbuffer_p.h wayland: Make LinuxDmaBufV1ClientBuffer private 2023-05-23 09:39:19 +00:00
lockscreen_overlay_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
lockscreen_overlay_v1_interface.h
output_interface.cpp core: Rework OutputTransform type 2023-07-25 12:09:19 +03:00
output_interface.h
output_order_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
output_order_v1_interface.h
outputdevice_v2_interface.cpp core: Rework OutputTransform type 2023-07-25 12:09:19 +03:00
outputdevice_v2_interface.h Implement initial support for color management and HDR 2023-05-15 17:01:03 +00:00
outputmanagement_v2_interface.cpp core: Move Output::Transform enum to KWin namespace 2023-07-25 12:09:01 +03:00
outputmanagement_v2_interface.h
plasmashell_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
plasmashell_interface.h
plasmavirtualdesktop_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
plasmavirtualdesktop_interface.h autotests: Fix testPlasmaVirtualDesktop 2023-04-22 15:45:25 +00:00
plasmawindowmanagement_interface.cpp wayland: Use correct window resource when sending parent_window 2023-08-18 13:35:06 +00:00
plasmawindowmanagement_interface.h
pointer_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
pointer_interface.h wayland: Implement cursor-shape-v1 2023-07-12 11:22:11 +03:00
pointer_interface_p.h wayland: Validate serial of wl_pointer.set_cursor 2023-05-08 10:12:04 +00:00
pointerconstraints_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
pointerconstraints_v1_interface.h
pointerconstraints_v1_interface_p.h wayland: Fix null pointer constraint region handling 2023-05-15 07:36:26 +00:00
pointergestures_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
pointergestures_v1_interface.h
pointergestures_v1_interface_p.h
primaryselectiondevice_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
primaryselectiondevice_v1_interface.h
primaryselectiondevicemanager_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
primaryselectiondevicemanager_v1_interface.h
primaryselectionoffer_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
primaryselectionoffer_v1_interface.h
primaryselectionsource_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
primaryselectionsource_v1_interface.h
region_interface.cpp
region_interface_p.h
relativepointer_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
relativepointer_v1_interface.h
relativepointer_v1_interface_p.h
screencast_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
screencast_v1_interface.h
screenedge_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
screenedge_v1_interface.h wayland: Implement kde-screen-edge-v1 2023-05-19 13:36:38 +00:00
seat_interface.cpp wayland: Send data device selections to data control on bind even if null 2023-08-11 06:47:30 +00:00
seat_interface.h
seat_interface_p.h wayland: Remove SeatInterfacePrivate::accumulatedCapabilities 2023-02-09 20:15:55 +02:00
server_decoration_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
server_decoration_interface.h
server_decoration_palette_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
server_decoration_palette_interface.h
shadow_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
shadow_interface.h wayland: Drop ClientBuffer 2023-04-30 15:39:31 +03:00
shmclientbuffer.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
shmclientbuffer.h wayland: Rewrite wl-shm implementation 2023-06-08 06:22:46 +00:00
shmclientbuffer_p.h core/graphicsbuffer: correct stride handling with buffer mappings 2023-07-04 17:33:38 +02:00
slide_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
slide_interface.h
subcompositor_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
subcompositor_interface.h
subsurface_interface_p.h
surface_interface.cpp wayland: Don't send preferred scale and transform if not determined yet 2023-08-10 07:05:49 +00:00
surface_interface.h scene,wayland: Make tracking of the buffer source box less error prone 2023-07-27 10:55:14 +00:00
surface_interface_p.h wayland: Don't send preferred scale and transform if not determined yet 2023-08-10 07:05:49 +00:00
surfacerole.cpp
surfacerole_p.h
tablet_v2_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
tablet_v2_interface.h wayland: Implement cursor-shape-v1 2023-07-12 11:22:11 +03:00
tearingcontrol_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
tearingcontrol_v1_interface.h
textinput.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
textinput.h
textinput_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
textinput_v1_interface.h
textinput_v1_interface_p.h
textinput_v2_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
textinput_v2_interface.h
textinput_v2_interface_p.h
textinput_v3_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
textinput_v3_interface.h
textinput_v3_interface_p.h wayland: Disable text-input-v3 when it's destroyed 2023-03-22 17:59:22 +00:00
touch_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
touch_interface.h Match pointer/keyboard/touch lifespan to Seat lifespan 2023-02-09 16:36:24 +00:00
touch_interface_p.h
utils.h
viewporter_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
viewporter_interface.h
viewporter_interface_p.h
xdgactivation_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
xdgactivation_v1_interface.h
xdgdecoration_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
xdgdecoration_v1_interface.h
xdgdecoration_v1_interface_p.h
xdgforeign_v2_interface.cpp Remove unused fields 2023-07-18 11:15:50 +00:00
xdgforeign_v2_interface.h
xdgforeign_v2_interface_p.h Remove unused fields 2023-07-18 11:15:50 +00:00
xdgoutput_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
xdgoutput_v1_interface.h
xdgshell_interface.cpp wayland: Implement xdg-shell v6 2023-08-07 12:21:28 +00:00
xdgshell_interface.h wayland: Implement xdg-shell v6 2023-08-07 12:21:28 +00:00
xdgshell_interface_p.h wayland: Fix uninitialized variables. 2023-08-07 11:30:16 +00:00
xwaylandkeyboardgrab_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
xwaylandkeyboardgrab_v1_interface.h
xwaylandshell_v1_interface.cpp Add explicit moc includes to sources for moc-covered headers 2023-07-15 08:40:49 +00:00
xwaylandshell_v1_interface.h