(Child xproto.Window)
| 1627 | } |
| 1628 | |
| 1629 | func (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 | |
| 1640 | func (wm *WindowManager) disableFullscreen(win *Window, Child xproto.Window) { |
| 1641 | fmt.Println("DISABLING FULL SCREEN") |
no test coverage detected