kwin/src
Daniel Lipovetsky b31baaf0cd tabbox: Show window switcher only when there are two or more windows
Previously, we showed the window switcher even if there was only one
window, or no windows.

Now, we show the window switcher only if there are two or more windows.
Note that "desktop" counts as a window when the switcher's "show desktop
mode" is enabled.

BUG: 370396
BUG: 419408
2023-07-04 13:38:30 +00:00
..
3rdparty
backends Install KWaylandServer headers 2023-07-04 08:22:43 +00:00
colors Implement initial support for color management and HDR 2023-05-15 17:01:03 +00:00
core Drop options.h include 2023-07-04 08:22:43 +00:00
decorations Adjust to kdecoration api changes 2023-03-30 15:25:50 +00:00
helpers helper: Don't leak lock file to kwin_wayland 2023-03-08 17:55:00 +02:00
kcms kcms/scripts: Relax Kirigami import version 2023-06-27 20:24:04 +03:00
libkwineffects Install KWaylandServer headers 2023-07-04 08:22:43 +00:00
platformsupport Extract reusable egl swapchain bits 2023-07-01 12:22:28 +00:00
plugins Install KWaylandServer headers 2023-07-04 08:22:43 +00:00
qml Fix reference errors, port to Kirigami 2023-07-01 07:19:26 +00:00
scene wayland: Make surface damage buffer local 2023-06-20 08:27:18 +00:00
scripting Port to KSvg 2023-06-21 15:16:39 +00:00
tabbox tabbox: Show window switcher only when there are two or more windows 2023-07-04 13:38:30 +00:00
tiles get rid of some unnecessary const_casts 2023-06-14 14:36:36 +00:00
utils backends/drm: hardcode a list of known formats instead of querying egl for information on drm formats 2023-06-20 18:24:37 +02:00
wayland Don't use QtTest => use QTest + missing include 2023-07-04 10:38:21 +00:00
xwayland Install KWaylandServer headers 2023-07-04 08:22:43 +00:00
activation.cpp get rid of some unnecessary const_casts 2023-06-14 14:36:36 +00:00
activities.cpp activities: check nullptr after the cast 2023-05-09 09:18:49 +02:00
activities.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
appmenu.cpp Use "window" instead of "toplevel" in Workspace 2023-03-13 10:37:01 +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 libkwineffects: Stop including xcb/xcb.h everywhere 2023-05-15 18:59:46 +00:00
client_machine.h port all headers to pragma once 2022-12-16 20:58:17 +00:00
CMakeLists.txt Install KWaylandServer headers 2023-07-04 08:22:43 +00:00
composite.cpp Composite: Enforce KWIN_COMPOSE 2023-06-15 08:45:25 +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 Drop InputConfig 2023-06-21 10:48:50 +00:00
cursor.h Drop InputConfig 2023-06-21 10:48:50 +00:00
cursorsource.cpp Take cursor surface offset into account 2023-05-10 13:09:49 +00:00
cursorsource.h Don't assume SurfaceCursorSource has wl_shm buffer 2023-05-10 15:40:59 +03:00
dbusinterface.cpp Extend GLX switch to check if QtGui was being built with GLX plugin 2023-04-27 18:29:51 +00:00
dbusinterface.h port all headers to pragma once 2022-12-16 20:58:17 +00:00
debug_console.cpp wayland: Rewrite wl-shm implementation 2023-06-08 06:22:46 +00: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 use std::chrono::microseconds for time in input events 2022-12-21 21:07:15 +01:00
dpmsinputeventfilter.h use std::chrono::microseconds for time in input events 2022-12-21 21:07:15 +01:00
effectloader.cpp Remove some include_directories() 2023-03-23 14:37:48 +02:00
effectloader.h port all headers to pragma once 2022-12-16 20:58:17 +00:00
effects.cpp Drop options.h include 2023-07-04 08:22:43 +00: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 closed window checks in some window activation code paths 2023-05-26 14:21:16 +03:00
focuschain.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
ftrace.cpp
ftrace.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
gestures.cpp gesture: use the global direction enums 2023-02-02 16:21:36 +00:00
gestures.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
globalshortcuts.cpp globalshortcuts: Do not ignore duplicated shortcuts 2023-05-22 17:44:04 +00:00
globalshortcuts.h globalshortcuts: Do not ignore duplicated shortcuts 2023-05-22 17:44:04 +00:00
group.cpp remove some macros with questionable usefulness 2023-01-11 19:22:23 +00:00
group.h port all headers to pragma once 2022-12-16 20:58:17 +00:00
hide_cursor_spy.cpp use std::chrono::microseconds for time in input events 2022-12-21 21:07:15 +01:00
hide_cursor_spy.h use std::chrono::microseconds for time in input events 2022-12-21 21:07:15 +01:00
idle_inhibition.cpp Tidy Window::windowClosed() signal 2023-03-14 07:15:56 +00:00
idle_inhibition.h
idledetector.cpp
idledetector.h
input.cpp input: don't crash if the internal handle is nullptr 2023-06-21 11:48:29 +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 Remove Qt 5 specific code 2023-02-28 18:30:26 +02:00
input_event_spy.cpp use std::chrono::microseconds for time in input events 2022-12-21 21:07:15 +01:00
input_event_spy.h use std::chrono::microseconds for time in input events 2022-12-21 21:07:15 +01:00
inputmethod.cpp wayland: Interpret input panel's input shape as the window geometry 2023-03-31 16:59:13 +00:00
inputmethod.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
inputpanelv1integration.cpp
inputpanelv1integration.h
inputpanelv1window.cpp Move window hiding logic to Window 2023-06-06 13:58:44 +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 wayland: Make surface damage buffer local 2023-06-20 08:27:18 +00:00
internalwindow.h Move window hiding logic to Window 2023-06-06 13:58:44 +00:00
keyboard_input.cpp Drop InputConfig 2023-06-21 10:48:50 +00:00
keyboard_input.h cleanup: get rid of "parent" argument 2022-12-29 16:55:33 +00:00
keyboard_layout.cpp Forward declare Xkb in keyboard_input.h 2022-11-02 09:21:55 +00:00
keyboard_layout.h port all headers to pragma once 2022-12-16 20:58:17 +00:00
keyboard_layout_switching.cpp Tidy Window::windowClosed() signal 2023-03-14 07:15:56 +00:00
keyboard_layout_switching.h port all headers to pragma once 2022-12-16 20:58:17 +00:00
keyboard_repeat.cpp Forward declare Xkb in keyboard_input.h 2022-11-02 09:21:55 +00:00
keyboard_repeat.h use std::chrono::microseconds for time in input events 2022-12-21 21:07:15 +01:00
killwindow.cpp x11: Merge Unmanaged into X11Window 2023-03-28 18:14:32 +00:00
killwindow.h port all headers to pragma once 2022-12-16 20:58:17 +00:00
kscreenintegration.cpp Drop options.h include 2023-07-04 08:22:43 +00: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-05-05 02:37:27 +00:00
KWinConfig.cmake.in Install KWaylandServer headers 2023-07-04 08:22:43 +00: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 wayland: Reevaluate layer shell window layer 2023-05-15 08:32:37 +00:00
layershellv1integration.h
layershellv1window.cpp layershellv1window: don't destroy the window twice 2023-06-21 16:44:58 +02:00
layershellv1window.h layershellv1window: don't destroy the window twice 2023-06-21 16:44:58 +02:00
lidswitchtracker.cpp handle laptop lid closing in KWin 2023-05-09 15:18:33 +00:00
lidswitchtracker.h handle laptop lid closing in KWin 2023-05-09 15:18:33 +00:00
main.cpp Drop InputConfig 2023-06-21 10:48:50 +00:00
main.h Drop InputConfig 2023-06-21 10:48:50 +00:00
main_wayland.cpp autotests: directly call setVirtualOutputs 2023-05-09 15:18:33 +00:00
main_wayland.h Launch xwayland on demand 2023-02-06 16:24:01 +00:00
main_x11.cpp Drop Application::setupTranslator() 2023-03-14 12:55:31 +02:00
main_x11.h cursor: make position, hotspot and size floating point 2023-02-20 21:01:39 +00:00
Messages.sh {effects,scripts,plugins}: Use kwin translation domain 2023-04-19 07:10:14 +00:00
modifier_only_shortcuts.cpp build: Add -Wno-unused-parameter compiler option 2022-10-31 15:50:37 +00:00
modifier_only_shortcuts.h port all headers to pragma once 2022-12-16 20:58:17 +00:00
mousebuttons.cpp Fix button to Qt::MouseButton mapping 2023-02-10 09:27:37 +00:00
mousebuttons.h libinput/device: Use button mapping that is used in input handling for supported buttons 2022-08-24 08:44:31 +00:00
moving_client_x11_filter.cpp
moving_client_x11_filter.h port all headers to pragma once 2022-12-16 20:58:17 +00:00
netinfo.cpp Allow activating windows on other desktops regardless of focus stealing protection 2023-04-14 19:06:21 +00:00
netinfo.h port all headers to pragma once 2022-12-16 20:58:17 +00:00
onscreennotification.cpp build: Hardcode kwin name 2022-11-02 10:21:23 +00:00
onscreennotification.h port all headers to pragma once 2022-12-16 20:58:17 +00:00
options.cpp Drop options.h include 2023-07-04 08:22:43 +00:00
options.h Drop options.h include 2023-07-04 08:22:43 +00:00
org.freedesktop.DBus.Properties.xml Include org.freedesktop.locale1 support 2022-10-30 23:03:55 +01:00
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: Fix OSD::show from the non-main thread 2022-10-29 22:30:03 +00:00
osd.h port all headers to pragma once 2022-12-16 20:58:17 +00:00
outline.cpp core: Move workspace bits from Platform to Application 2022-11-10 10:10:28 +02: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 use std::chrono::microseconds for time in input events 2022-12-21 21:07:15 +01:00
placeholderinputeventfilter.h use std::chrono::microseconds for time in input events 2022-12-21 21:07:15 +01:00
placeholderoutput.cpp Add dummy placeholder output type 2022-09-06 10:36:33 +00:00
placeholderoutput.h Add dummy placeholder output type 2022-09-06 10:36:33 +00:00
placement.cpp Port window cascading from X11 desktop ids to VirtualDesktop 2023-03-30 12:21:05 +03:00
placement.h Port window cascading from X11 desktop ids to VirtualDesktop 2023-03-30 12:21:05 +03:00
placementtracker.cpp Remove window arg in Window::{buffer,client,frame}GeometryChanged signals 2023-03-06 17:30:27 +00:00
placementtracker.h Remove window arg in Window::{buffer,client,frame}GeometryChanged signals 2023-03-06 17:30:27 +00:00
plugin.cpp
plugin.h
pluginmanager.cpp plugins: Adapt plugins to KPluginMetaData changes 2023-03-01 15:50:10 +00:00
pluginmanager.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
pointer_input.cpp Use flooredPoint() in pointer constraint tests 2023-05-15 07:36:26 +00:00
pointer_input.h Drop ImageCursorSource 2023-05-10 15:40:59 +03:00
popup_input_filter.cpp update keyboard focus when grabbing popup closed 2023-04-28 06:20:20 +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 port all headers to pragma once 2022-12-16 20:58:17 +00:00
rulebooksettings.cpp qAsConst -> std::as_const 2022-11-01 16:52:01 +02:00
rulebooksettings.h port all headers to pragma once 2022-12-16 20:58:17 +00:00
rulebooksettingsbase.kcfg
rulebooksettingsbase.kcfgc
rules.cpp kcms/rules: Remove custom executable 2023-03-24 20:40:54 +01: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 Move placement policy enum in KWin namespace 2022-09-05 14:11:42 +00:00
screenedge.cpp Delegate screen edge reservation error handling to user 2023-05-26 08:50:37 +00:00
screenedge.h Delegate screen edge reservation error handling to user 2023-05-26 08:50:37 +00:00
screenlockerwatcher.cpp build: Add -Wno-unused-parameter compiler option 2022-10-31 15:50:37 +00:00
screenlockerwatcher.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
settings.kcfgc Move placement policy enum in KWin namespace 2022-09-05 14:11:42 +00:00
shadow.cpp wayland: Rewrite wl-shm implementation 2023-06-08 06:22:46 +00:00
shadow.h Drop Deleted 2023-03-28 08:31:08 +00:00
shortcutdialog.ui
sm.cpp Move Window::desktop to X11Window 2023-03-30 18:42:28 +00:00
sm.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
syncalarmx11filter.cpp
syncalarmx11filter.h
tablet_input.cpp Remove Qt 5 specific code 2023-02-28 18:30:26 +02:00
tablet_input.h use std::chrono::microseconds for time in input events 2022-12-21 21:07:15 +01:00
tabletmodemanager.cpp tabletmodemanager: properly export properties 2023-03-01 13:53:36 +01:00
tabletmodemanager.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
touch_input.cpp workspace: take touch and tablet into account for active output follows mouse 2023-01-03 20:01:11 +00:00
touch_input.h use std::chrono::microseconds for time in input events 2022-12-21 21:07:15 +01:00
useractions.cpp Drop "Configure Window Manager" entry in user actions menu 2023-06-20 06:01:59 +00:00
useractions.h Move Window::{frameId,window} to X11Window 2023-03-29 13:18:01 +03:00
virtualdesktops.cpp virtualdesktops: use Meta key for axis shortcuts 2023-03-08 17:43:21 +00:00
virtualdesktops.h Remove some include_directories() 2023-03-23 14:37:48 +02:00
virtualdesktopsdbustypes.cpp
virtualdesktopsdbustypes.h port all headers to pragma once 2022-12-16 20:58:17 +00:00
virtualkeyboard_dbus.cpp inputmethod: Allow forcing the display of the input method 2022-09-08 23:30:16 +02:00
virtualkeyboard_dbus.h inputmethod: Allow forcing the display of the input method 2022-09-08 23:30:16 +02:00
was_user_interaction_x11_filter.cpp build: Add -Wno-unused-parameter compiler option 2022-10-31 15:50:37 +00:00
was_user_interaction_x11_filter.h port all headers to pragma once 2022-12-16 20:58:17 +00:00
wayland_server.cpp wayland: Implement kde-screen-edge-v1 2023-05-19 13:36:38 +00:00
wayland_server.h wayland: Reimplement wl-drm 2023-04-14 14:13:56 +00:00
waylandshellintegration.cpp
waylandshellintegration.h
waylandwindow.cpp wayland: Update window caption suffix on map 2023-06-23 07:32:18 +00:00
waylandwindow.h Move window hiding logic to Window 2023-06-06 13:58:44 +00:00
window.cpp Move window hiding logic to Window 2023-06-06 13:58:44 +00:00
window.h Move window hiding logic to Window 2023-06-06 13:58:44 +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 port all headers to pragma once 2022-12-16 20:58:17 +00:00
workspace.cpp Move window hiding logic to Window 2023-06-06 13:58:44 +00:00
workspace.h get rid of some unnecessary const_casts 2023-06-14 14:36:36 +00:00
x11eventfilter.cpp
x11eventfilter.h port all headers to pragma once 2022-12-16 20:58:17 +00:00
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 x11: Sync frame extents in X11 native pixels 2023-07-01 12:48:26 +01:00
x11window.h Move window hiding logic to Window 2023-06-06 13:58:44 +00:00
xdgactivationv1.cpp Don't create Plasma activation feedback if StartupNotify is false 2023-04-17 14:56:09 +00:00
xdgactivationv1.h port more stuff to standard smart pointers 2023-03-20 14:16:37 +01:00
xdgshellintegration.cpp
xdgshellintegration.h
xdgshellwindow.cpp Make show desktop mode hide windows 2023-06-01 08:59:51 +00:00
xdgshellwindow.h wayland: Drop screen edge support in XdgToplevelWindow 2023-05-23 13:02:14 +00:00
xkb.cpp locale1: fix use-after-free in xkb_keymap creation 2023-06-23 03:14:09 -07:00
xkb.h Implement sticky keys on Wayland 2023-05-05 12:05:17 +00:00