summaryrefslogtreecommitdiff
path: root/Servers/WindowServer/WSClientConnection.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-05-12 04:15:25 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-05-12 04:15:25 +0200
commit23e6c45e877dd24637bba9407666d30a9e62f368 (patch)
treebcdc52d93b4cfa43d7f704b2806c21cef3632d1b /Servers/WindowServer/WSClientConnection.cpp
parent641d55c7ef3e3a9052b7dcf1480b88fb1d90118f (diff)
downloadserenity-23e6c45e877dd24637bba9407666d30a9e62f368.zip
WindowServer: Show downscaled window thumbnails in the window switcher.
Diffstat (limited to 'Servers/WindowServer/WSClientConnection.cpp')
-rw-r--r--Servers/WindowServer/WSClientConnection.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Servers/WindowServer/WSClientConnection.cpp b/Servers/WindowServer/WSClientConnection.cpp
index 769c0dbba3..1bc518d602 100644
--- a/Servers/WindowServer/WSClientConnection.cpp
+++ b/Servers/WindowServer/WSClientConnection.cpp
@@ -8,6 +8,7 @@
#include <WindowServer/WSAPITypes.h>
#include <WindowServer/WSClipboard.h>
#include <WindowServer/WSScreen.h>
+#include <WindowServer/WSWindowSwitcher.h>
#include <SharedBuffer.h>
#include <sys/ioctl.h>
#include <sys/uio.h>
@@ -550,6 +551,8 @@ void WSClientConnection::handle_request(const WSAPIDidFinishPaintingNotification
auto& window = *(*it).value;
for (auto& rect : request.rects())
WSWindowManager::the().invalidate(window, rect);
+
+ WSWindowSwitcher::the().refresh_if_needed();
}
void WSClientConnection::handle_request(const WSAPIGetWindowBackingStoreRequest& request)