mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibGUI+WindowServer: Add option to hide a widow's close button
This allows windows to be closed only programatically, and not from e.g. the user clicking the X button on the window frame.
This commit is contained in:
parent
8a57885494
commit
176155c695
Notes:
sideshowbarker
2024-07-18 02:06:25 +09:00
Author: https://github.com/trflynn89
Commit: 176155c695
Pull-request: https://github.com/SerenityOS/serenity/pull/10553
Reviewed-by: https://github.com/linusg ✅
8 changed files with 29 additions and 7 deletions
|
@ -142,6 +142,7 @@ void Window::show()
|
|||
m_has_alpha_channel,
|
||||
m_modal,
|
||||
m_minimizable,
|
||||
m_closeable,
|
||||
m_resizable,
|
||||
m_fullscreen,
|
||||
m_frameless,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue