summaryrefslogtreecommitdiff
path: root/Userland/Services/NotificationServer/NotificationWindow.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-04-04 00:02:22 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-04 00:37:54 +0200
commit5367bbb82c5ff5f2bb657b6f93ec79807ebc57d5 (patch)
treec164b85ac3237475de22aadcd14641473d915276 /Userland/Services/NotificationServer/NotificationWindow.h
parenta5db11c1f0f00f1ed16c53c3071109bc7906d3e3 (diff)
downloadserenity-5367bbb82c5ff5f2bb657b6f93ec79807ebc57d5.zip
LibGUI: Add ScreenRectChangeEvent and deliver it to windows and widgets
Having to rely on GUI::Desktop's on_rect_change is quite limiting and a bit awkward (continuing to use it would mean having to setup the callback in every application using a webview) - we need a better way of letting widgets know of a screen rect change automatically. The specific use case will be IPWV/OOPWV which need to keep track of the screen rect and notify the WebContent service of any change (which on its own deliberately can't interact with WindowServer at all). It'll also be useful for notification windows and the taskbar, which currently both rely on the GUI::Desktop callback but will now be able to listen and react to the event themselves.
Diffstat (limited to 'Userland/Services/NotificationServer/NotificationWindow.h')
0 files changed, 0 insertions, 0 deletions