We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f2cfec commit 95b229fCopy full SHA for 95b229f
lib/bindings/window/window.go
@@ -284,22 +284,22 @@ func (w *Window) UnFocus() {
284
w.CallWhenDisplayed(&command)
285
}
286
287
-func (w *Window) Fullscreen() {
+func (w *Window) Fullscreen(fullscreen bool) {
288
command := Command{
289
Method: "set_fullscreen",
290
Args: CommandArguments{
291
- Fullscreen: true,
+ Fullscreen: fullscreen,
292
},
293
294
295
296
297
298
-func (w *Window) Kiosk() {
+func (w *Window) Kiosk(kiosk bool) {
299
300
Method: "set_kiosk",
301
302
- Kiosk: true,
+ Kiosk: kiosk,
303
304
305
0 commit comments