core: cleanup border/decorated properties
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
9a4ae36cb6
commit
03ded69cff
3 changed files with 16 additions and 27 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue