1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:27:45 +00:00

WindowServer+LibGUI: Add a way to force a window to have a drop shadow

This commit is contained in:
Andreas Kling 2021-07-04 23:10:53 +02:00
parent 3368e54224
commit c2dfa9d54c
7 changed files with 41 additions and 6 deletions

View file

@ -38,6 +38,7 @@ endpoint WindowServer
bool resizable,
bool fullscreen,
bool frameless,
bool forced_shadow,
bool accessory,
float opacity,
float alpha_hit_threshold,
@ -89,6 +90,7 @@ endpoint WindowServer
move_window_to_front(i32 window_id) =|
set_fullscreen(i32 window_id, bool fullscreen) =|
set_frameless(i32 window_id, bool frameless) =|
set_forced_shadow(i32 window_id, bool shadow) =|
popup_menu(i32 menu_id, Gfx::IntPoint screen_position) =|
dismiss_menu(i32 menu_id) =|