MCPcopy Create free account
hub / github.com/BobdaProgrammer/doWM / toggleFullScreen

Method toggleFullScreen

wm/window_manager.go:1629–1638  ·  view source on GitHub ↗
(Child xproto.Window)

Source from the content-addressed store, hash-verified

1627}
1628
1629func (wm *WindowManager) toggleFullScreen(Child xproto.Window) {
1630 win := wm.windows[Child]
1631 if win != nil {
1632 if win.Fullscreen {
1633 wm.disableFullscreen(win, Child)
1634 } else {
1635 wm.fullscreen(win, Child)
1636 }
1637 }
1638}
1639
1640func (wm *WindowManager) disableFullscreen(win *Window, Child xproto.Window) {
1641 fmt.Println("DISABLING FULL SCREEN")

Callers 1

RunMethod · 0.95

Calls 2

disableFullscreenMethod · 0.95
fullscreenMethod · 0.95

Tested by

no test coverage detected