Skip to content

Commit

Permalink
Fix fullscreen disabling enables statusbar
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhEugene committed Dec 10, 2023
1 parent 950249e commit 9e4505b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions code/modules/client/client_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -456,14 +456,18 @@
winset(usr, "mainwindow", "can-resize=false")
winset(usr, "mainwindow", "is-maximized=false")
winset(usr, "mainwindow", "is-maximized=true")
winset(usr, "mainwindow", "statusbar=false")
// [SIERRA-REMOVE] - SSINPUT
// winset(usr, "mainwindow", "statusbar=false")
// [/SIERRA-REMOVE]
winset(usr, "mainwindow", "menu=")
// winset(usr, "mainwindow.mainvsplit", "size=0x0")
else
winset(usr, "mainwindow", "is-maximized=false")
winset(usr, "mainwindow", "titlebar=true")
winset(usr, "mainwindow", "can-resize=true")
winset(usr, "mainwindow", "statusbar=true")
// [SIERRA-REMOVE] - SSINPUT
// winset(usr, "mainwindow", "statusbar=true")
// [/SIERRA-REMOVE]
winset(usr, "mainwindow", "menu=menu")

fit_viewport()
Expand Down
2 changes: 1 addition & 1 deletion mods/ssinput/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ID мода: SSINPUT
- `code/_onclick/click.dm`: `/mob/proc/MiddleClickOn()`
- `code/game/verbs/ooc.dm`: `/client/verb/ooc()`, `/client/verb/looc()`
- `code/modules/admin/callproc/callproc.dm`: `/client/Click()`
- `code/modules/client/client_procs.dm`: `/client/New()`
- `code/modules/client/client_procs.dm`: `/client/New()`, `/client/verb/toggle_fullscreen()`
- `code/modules/goonchat/browserOutput.dm`: `/datum/chatOutput/Topic()`
- `code/modules/mob/living/silicon/robot/login.dm`: `/mob/living/silicon/robot/Login()`
- `code/modules/mob/observer/ghost/ghost.dm`: `/mob/observer/ghost/appearance_flags`
Expand Down

0 comments on commit 9e4505b

Please sign in to comment.