mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
WindowServer: Show downscaled window thumbnails in the window switcher.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user