mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 06:47:34 +00:00
WindowServer: Show downscaled window thumbnails in the window switcher.
This commit is contained in:
parent
641d55c7ef
commit
23e6c45e87
3 changed files with 38 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue