core: cleanup border/decorated properties

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-12-24 16:02:03 -07:00
parent 9a4ae36cb6
commit 03ded69cff
3 changed files with 16 additions and 27 deletions

View file

@ -304,7 +304,7 @@ pub fn setDisplayMode(x11: *const Native, display_mode: DisplayMode, border: boo
x11.setFullscreen(true);
_ = x11.libx11.XFlush(x11.display);
},
.borderless => {
.fullscreen_borderless => {
x11.setDecorated(false);
x11.setFloating(true);
x11.setFullscreen(false);