mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibGUI+WindowServer: Add Window::set_always_on_top()
This commit is contained in:
parent
50e74de279
commit
63a18aa89e
Notes:
sideshowbarker
2024-07-17 05:59:20 +09:00
Author: https://github.com/demostanis
Commit: 63a18aa89e
Pull-request: https://github.com/SerenityOS/serenity/pull/15522
5 changed files with 21 additions and 0 deletions
|
@ -1281,4 +1281,11 @@ void Window::flush_pending_paints_immediately()
|
|||
handle_multi_paint_event(paint_event);
|
||||
}
|
||||
|
||||
void Window::set_always_on_top(bool always_on_top)
|
||||
{
|
||||
if (!m_window_id)
|
||||
return;
|
||||
ConnectionToWindowServer::the().set_always_on_top(m_window_id, always_on_top);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue