()
| 1593 | } |
| 1594 | |
| 1595 | func (wm *WindowManager) disableTiling() { |
| 1596 | wm.currWorkspace.tiling = false |
| 1597 | fmt.Println("DISABLED TILING") |
| 1598 | // restore windows to there previous state (before tiling) |
| 1599 | for _, window := range wm.currWorkspace.windowList { |
| 1600 | |
| 1601 | wm.configureWindow(window.id, window.X, window.Y, window.Width, window.Height) |
| 1602 | } |
| 1603 | wm.setNetWorkArea() |
| 1604 | } |
| 1605 | |
| 1606 | func (wm *WindowManager) enableTiling() { |
| 1607 | wm.currWorkspace.tiling = true |
no test coverage detected