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

Method disableTiling

wm/window_manager.go:1595–1604  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1593}
1594
1595func (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
1606func (wm *WindowManager) enableTiling() {
1607 wm.currWorkspace.tiling = true

Callers 3

RunMethod · 0.95
toggleTilingMethod · 0.95
switchWorkspaceMethod · 0.95

Calls 2

configureWindowMethod · 0.95
setNetWorkAreaMethod · 0.95

Tested by

no test coverage detected