kwin/src
Joshua Goins 9f6c969aba Don't process pad button events from a device that has been removed
This fixes a rare crash where we may dereference a null
TabletV2Interface in findAndAdoptPad. This can happen because the
underlying device disappears, and we call
libinput_device_group_set_user_data (what tabletPadId.data points to)
to reset the user data to null.

Similar to what we do to tablet tool events (see tabletToolEvent), we
should check if this is null before continuing.

Fixes KWIN-3R6
2024-09-08 07:39:28 +00:00
..
3rdparty 3rdparty: Reformat xcursor.{h,c} 2024-05-24 16:21:36 +00:00
backends backends/drm: when presentation with tearing+vrr fails, retry first with vrr only 2024-09-06 12:10:15 +00:00
colors core: add transfer function minimum and maximum luminance values 2024-08-09 15:10:45 +02:00
core core/colorpipeline: refactor tone mapping to be about dimming instead of addnig headroom 2024-08-30 22:28:13 +02:00
decorations decorations: Show tooltip at current cursor position 2024-08-20 20:54:53 +00:00
effect effect: Refuse starting quick effect if keyboard cannot be grabbed 2024-08-22 07:25:21 +00:00
helpers Generate wayland code with PRIVATE_CODE 2024-08-15 14:16:11 +00:00
kcms SVN_SILENT made messages (.desktop file) - always resolve ours 2024-09-08 01:21:48 +00:00
opengl core/colorpipeline: refactor tone mapping to be about dimming instead of addnig headroom 2024-08-30 22:28:13 +02:00
platformsupport opengl: Add GLTexture::update() overload that takes a region 2024-08-16 19:03:40 +03:00
plugins plugins/colorblindnesscorrection: Fix typo in shader path 2024-09-06 11:09:03 +02:00
qml Round all the things consistently 2024-04-08 16:56:50 +00:00
scene scene: Fix animated software cursor not updating 2024-09-07 08:11:25 +00:00
scripting scene/item: add ItemEffect 2024-08-12 12:13:31 +00:00
tabbox SVN_SILENT made messages (.desktop file) - always resolve ours 2024-08-28 01:29:03 +00:00
tiles quicktiling: Reset layout when last quicktile ceases to exist 2024-07-01 07:53:06 +00:00
utils utils: Adapt to svg cursor format changes 2024-08-27 14:56:57 +00:00
wayland wayland/color management: fix waylandToKwinIntent 2024-09-03 11:42:23 +00:00
xwayland server side drag icons 2024-08-23 09:42:05 +00:00
activation.cpp activation: fix X11 windows being stuck in should_get_focus more properly 2024-08-05 23:25:53 +02:00
activities.cpp Rename Workspace::updateClientArea as Workspace::rearrange 2024-03-07 13:41:02 +02:00
activities.h Remove unneeded includes from headers and cpp files 2024-01-13 11:34:45 +01:00
appmenu.cpp Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
appmenu.h Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
atoms.cpp
atoms.h Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
client_machine.cpp Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
client_machine.h Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
CMakeLists.txt utils: Rename KXcursorTheme to CursorTheme 2024-08-07 11:57:39 +03:00
compositor.cpp compositor: move the composite method into X11 and Wayland implementations 2024-04-29 14:56:20 +02:00
compositor.h compositor: move the composite method into X11 and Wayland implementations 2024-04-29 14:56:20 +02:00
compositor_wayland.cpp scene: Fix animated software cursor not updating 2024-09-07 08:11:25 +00:00
compositor_wayland.h compositor: move the composite method into X11 and Wayland implementations 2024-04-29 14:56:20 +02:00
compositor_x11.cpp backends: move output refresh duration to compositor 2024-05-24 17:32:20 +02:00
compositor_x11.h Remove unneeded includes from headers and cpp files 2024-01-13 11:34:45 +01:00
config-kwin.h.cmake wayland: Bump default max buffer size to 1 MiB 2024-06-25 20:19:59 +03:00
cursor.cpp Add CursorSource::frame 2024-07-31 12:15:48 +00:00
cursor.h Add CursorSource::frame 2024-07-31 12:15:48 +00:00
cursorsource.cpp utils: Rename KXcursorTheme to CursorTheme 2024-08-07 11:57:39 +03:00
cursorsource.h utils: Rename KXcursorTheme to CursorTheme 2024-08-07 11:57:39 +03:00
dbusinterface.cpp Do not rely on NETWM for the main Window class 2024-02-20 18:04:06 +00:00
dbusinterface.h
debug_console.cpp debug_console: correct name scancode to keycode 2024-08-19 13:59:17 +00:00
debug_console.h Add effects tab in debug console 2024-06-29 09:40:43 +00:00
debug_console.ui Remove the surfaces tab in the debug console 2024-06-27 20:54:42 +03:00
dpmsinputeventfilter.cpp placeholderinputeventfilter: don't block media keys 2024-08-12 13:44:03 +00:00
dpmsinputeventfilter.h Also wake up screens on tablet interactions 2024-06-14 06:54:42 +00:00
events.cpp Fix null dereference in Workspace::workspaceEvent() 2024-08-26 13:17:13 +00:00
focuschain.cpp Add safety guards in FocusChain::move{After,Before}Window() 2024-08-21 16:28:37 +00:00
focuschain.h Introduce Workspace::stackAbove() 2024-08-21 12:33:02 +00:00
ftrace.cpp
ftrace.h libkwineffects/ -> effect/ 2023-11-20 11:32:43 +00:00
gestures.cpp
gestures.h libkwineffects/ -> effect/ 2023-11-20 11:32:43 +00:00
globalshortcuts.cpp Fix !KWIN_BUILD_GLOBALSHORTCUTS builds 2024-06-25 11:21:56 +02:00
globalshortcuts.h Fix !KWIN_BUILD_GLOBALSHORTCUTS builds 2024-06-25 11:21:56 +02:00
group.cpp Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
group.h Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
hide_cursor_spy.cpp
hide_cursor_spy.h
idle_inhibition.cpp Port away the remaining users of windowShown/windowHidden to hiddenChanged 2024-02-27 20:58:52 +00:00
idle_inhibition.h
idledetector.cpp Port IdleDetector to QBasicTimer 2024-03-08 13:12:09 +02:00
idledetector.h Port IdleDetector to QBasicTimer 2024-03-08 13:12:09 +02:00
input.cpp Don't process pad button events from a device that has been removed 2024-09-08 07:39:28 +00:00
input.h input.cpp: refactor enable and disable touchpads 2024-09-03 11:53:50 +03:00
input_event.cpp Revert "Handle null input devices in WheelEvent" 2024-07-15 12:55:28 +00:00
input_event.h pointer input: handle warp events differently from absolute motion events 2024-03-19 20:13:11 +01:00
input_event_spy.cpp
input_event_spy.h
inputmethod.cpp plugins/buttonrebinds: correctly handle level 1 keys 2024-08-05 16:37:32 +00:00
inputmethod.h inputmethod: Send pre-defined commit message to client on user interaction 2024-08-02 09:07:46 +00:00
inputpanelv1integration.cpp
inputpanelv1integration.h
inputpanelv1window.cpp inputmethod: Only align within availableGeometry if it fits 2024-08-30 14:33:12 +00:00
inputpanelv1window.h inputpanelv1window: polish window states 2024-06-24 12:48:05 +00:00
internalwindow.cpp Make Window::closeWindow() noop if the window is already closed 2024-06-14 11:16:41 +00:00
internalwindow.h Move X11Window::findModal() to Window and remove boolean trap 2024-03-19 12:47:59 +00:00
keyboard_input.cpp tabbox: Reset keyboard focus when grabbing input 2024-08-02 06:10:15 +00:00
keyboard_input.h tabbox: Reset keyboard focus when grabbing input 2024-08-02 06:10:15 +00:00
keyboard_layout.cpp KeyboardLayout: always set componentDisplayName for shortcut 2024-08-23 14:54:26 +00:00
keyboard_layout.h Export KeyboardLayout 2024-04-15 13:05:15 +00:00
keyboard_layout_switching.cpp
keyboard_layout_switching.h
keyboard_repeat.cpp
keyboard_repeat.h
killprompt.cpp Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
killprompt.h Support kill prompt for XdgTopLevelWindows 2023-11-27 14:10:15 +00:00
killwindow.cpp
killwindow.h
kscreenintegration.cpp kscreenintegration: fix rotation not being preserved from Plasma 5 2024-02-12 13:38:14 +00:00
kscreenintegration.h
kwin.kcfg options: enable separate screen focus by default 2024-08-23 00:33:01 +02:00
kwin.notifyrc SVN_SILENT made messages (.desktop file) - always resolve ours 2024-07-30 01:24:58 +00:00
KWinConfig.cmake.in Add missing find_dependency for epoxy 2024-01-15 18:02:44 +00:00
layers.cpp Drop Workspace::lowerWindowRequest(Window *window) 2024-08-21 16:59:37 +00:00
layershellv1integration.cpp Rename Workspace::updateClientArea as Workspace::rearrange 2024-03-07 13:41:02 +02:00
layershellv1integration.h wayland: Fix windows shrinking when output layout changes 2024-03-07 13:41:01 +02:00
layershellv1window.cpp Make Window::closeWindow() noop if the window is already closed 2024-06-14 11:16:41 +00:00
layershellv1window.h Improve integration of preferred buffer scale with xdg shell configure events 2024-05-23 08:15:29 +00:00
lidswitchtracker.cpp
lidswitchtracker.h
main.cpp main: Allow building without QtX11Info 2024-08-08 12:30:53 +02:00
main.h Drop WaylandServer initialization flags 2024-06-23 17:53:17 +00:00
main_wayland.cpp Initialize KCrash after setting KAboutData 2024-08-07 14:25:52 +02:00
main_wayland.h Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
main_x11.cpp core: Disable Qt RHI pipeline cache 2024-05-31 15:28:09 +00:00
main_x11.h
Messages.sh
mousebuttons.cpp
mousebuttons.h
moving_client_x11_filter.cpp Port Window::updateInteractiveMoveResize() away from input()->keyboardModifiers() 2024-07-15 15:08:11 +00:00
moving_client_x11_filter.h
netinfo.cpp Drop "send_event" boolean trap in X11Window::restackWindow() 2024-08-21 17:14:02 +00:00
netinfo.h Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
onscreennotification.cpp Unify the format for #include "config.h" 2024-02-28 16:03:50 +00:00
onscreennotification.h
options.cpp options: enable separate screen focus by default 2024-08-23 00:33:01 +02:00
options.h remove the HideUtilityWindowsForInactive option 2024-06-07 21:14:41 +02: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 Expose a method to allow closing windows on shutdown. 2023-11-20 14:56:17 +00:00
org.kde.KWin.VirtualDesktopManager.xml
org.kde.KWin.xml
osd.cpp
osd.h
outline.cpp
outline.h libkwineffects/ -> effect/ 2023-11-20 11:32:43 +00:00
outputconfigurationstore.cpp Loosen minimum screen size detection code for output scale calculation 2024-07-30 03:16:01 +00:00
outputconfigurationstore.h color management: change brightness information names to be shorter and more correct 2024-06-28 13:16:02 +00:00
placeholderinputeventfilter.cpp placeholderinputeventfilter: don't block media keys 2024-08-12 13:44:03 +00:00
placeholderinputeventfilter.h core: Introduce explicit weight to InputEventFilter 2024-08-01 08:46:06 +00:00
placeholderoutput.cpp Disable placeholder output when removing it 2024-03-21 12:19:20 +02:00
placeholderoutput.h
placement.cpp Add missing size check in Placement::placeZeroCornered() 2024-08-23 09:01:56 +00:00
placement.h Stop Placement::cascadeIfCovering() from changing window geometry 2024-08-23 09:01:56 +00:00
placementtracker.cpp window: make setQuickTileMode more sane 2024-08-14 11:38:07 +00:00
placementtracker.h placementtracker: save geometry restores more explicitly 2024-02-19 17:18:28 +01:00
plugin.cpp
plugin.h Unify the format for #include "config.h" 2024-02-28 16:03:50 +00:00
pluginmanager.cpp
pluginmanager.h libkwineffects/ -> effect/ 2023-11-20 11:32:43 +00:00
pointer_input.cpp server side drag icons 2024-08-23 09:42:05 +00:00
pointer_input.h server side drag icons 2024-08-23 09:42:05 +00:00
popup_input_filter.cpp core: Introduce explicit weight to InputEventFilter 2024-08-01 08:46:06 +00:00
popup_input_filter.h
resources.qrc plugins/invert: support color management 2023-12-11 22:46:27 +01:00
rootinfo_filter.cpp Ignore external updates of _NET_DESKTOP_LAYOUT and _NET_DESKTOP_NAMES 2024-01-30 14:14:09 +02:00
rootinfo_filter.h Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
rulebooksettings.cpp rules/RuleBook: Optimize saving discarded rules to config 2024-05-13 20:18:09 +02:00
rulebooksettings.h rules/RuleBook: Optimize saving discarded rules to config 2024-05-13 20:18:09 +02:00
rulebooksettingsbase.kcfg
rulebooksettingsbase.kcfgc
rules.cpp rules: add window rule to force tearing on or off 2024-08-21 16:02:19 +00:00
rules.h rules: add window rule to force tearing on or off 2024-08-21 16:02:19 +00:00
rulesettings.kcfg rules: add window rule to force tearing on or off 2024-08-21 16:02:19 +00:00
rulesettings.kcfgc
screenedge.cpp screenedge: allow activating clients in drag and drop 2024-08-07 16:29:55 +00:00
screenedge.h pointer_input: implement edge barrier between screens 2024-03-08 12:03:28 -08:00
screenlockerwatcher.cpp Drop WaylandServer initialization flags 2024-06-23 17:53:17 +00:00
screenlockerwatcher.h libkwineffects/ -> effect/ 2023-11-20 11:32:43 +00:00
settings.kcfgc
shadow.cpp Fix checking whether GraphicsBufferView is null 2024-07-30 14:02:16 +00:00
shadow.h Drop some unused kwineffects.h includes 2023-11-15 14:41:42 +02:00
shortcutdialog.ui
sm.cpp Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
sm.h Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
syncalarmx11filter.cpp
syncalarmx11filter.h
tablet_input.cpp workspace: unify active screen modes 2024-04-29 14:13:32 +00:00
tablet_input.h
tabletmodemanager.cpp Port away from deprecated KConfigBase::group() api 2023-11-28 10:02:03 +00:00
tabletmodemanager.h Unify the format for #include "config.h" 2024-02-28 16:03:50 +00:00
touch_input.cpp input: Allow different surfaces to be interacted in parallel by touch 2024-08-28 09:36:51 +00:00
touch_input.h input: Allow different surfaces to be interacted in parallel by touch 2024-08-28 09:36:51 +00:00
useractions.cpp Prefer en_US, "centre" -> "center" 2024-06-17 05:29:59 +00:00
useractions.h libkwineffects/ -> effect/ 2023-11-20 11:32:43 +00:00
virtualdesktops.cpp Make it possible to build KWin without libxcb 2024-02-28 16:03:50 +00:00
virtualdesktops.h virtualdesktops: improve readability 2024-06-29 09:52:36 +00:00
virtualdesktopsdbustypes.cpp
virtualdesktopsdbustypes.h
virtualkeyboard_dbus.cpp
virtualkeyboard_dbus.h
was_user_interaction_x11_filter.cpp
was_user_interaction_x11_filter.h
watchdog.cpp watchdog: add includes for geteuid 2024-06-02 00:25:26 +01:00
wayland_server.cpp wayland_server: expose xx color management support by default 2024-08-15 14:47:21 +00:00
wayland_server.h wayland: implement the alpha-modifier protocol 2024-08-14 14:26:33 +02:00
waylandshellintegration.cpp
waylandshellintegration.h
waylandwindow.cpp Improve integration of preferred buffer scale with xdg shell configure events 2024-05-23 08:15:29 +00:00
waylandwindow.h Move X11Window::findModal() to Window and remove boolean trap 2024-03-19 12:47:59 +00:00
window.cpp Add an assert in Window::unref() 2024-08-29 13:24:04 +00:00
window.h window: Extend API documentation 2024-08-28 09:36:51 +00:00
window_property_notify_x11_filter.cpp effects.h -> effecthandler.h 2023-11-20 15:47:36 +00:00
window_property_notify_x11_filter.h Merge EffectsHandlerImpl and EffectsHandler 2023-11-15 15:21:50 +02:00
workspace.cpp workspace: don't rearrange immediately when a window with struts gets removed 2024-09-03 13:29:31 +00:00
workspace.h Port Workspace::cascadeOffset() away from Window::frameGeometry() 2024-08-23 09:01:56 +00:00
x11eventfilter.cpp
x11eventfilter.h
x11syncmanager.cpp opengl: remove most of glutils 2024-03-08 17:26:54 +00:00
x11syncmanager.h opengl: remove most of glutils 2024-03-08 17:26:54 +00:00
x11window.cpp Use for range based loop in X11Window::restackWindow() when traversing through stack 2024-08-21 20:39:25 +03:00
x11window.h Drop "send_event" boolean trap in X11Window::restackWindow() 2024-08-21 17:14:02 +00:00
xdgactivationv1.cpp wayland: Install display.h 2024-01-08 23:06:43 +00:00
xdgactivationv1.h
xdgshellintegration.cpp xdgshell: Use killPingTimeout option 2023-11-27 14:10:15 +00:00
xdgshellintegration.h xdgshell: Use killPingTimeout option 2023-11-27 14:10:15 +00:00
xdgshellwindow.cpp wayland: Make XdgPopupWindow also destroy Window 2024-07-19 20:49:01 +00:00
xdgshellwindow.h Improve integration of preferred buffer scale with xdg shell configure events 2024-05-23 08:15:29 +00:00
xkb.cpp plugins/buttonrebinds: correctly handle level 1 keys 2024-08-05 16:37:32 +00:00
xkb.h xkb: Remove declared but not defined method 2024-08-12 10:52:07 +00:00