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

Method configureWindow

wm/window_manager.go:1569–1575  ·  view source on GitHub ↗
(Frame xproto.Window, X, Y, Width, Height int)

Source from the content-addressed store, hash-verified

1567}
1568
1569func (wm *WindowManager) configureWindow(Frame xproto.Window, X, Y, Width, Height int) {
1570 // configure the window to how it wants to be
1571 _ = xproto.ConfigureWindowChecked(wm.conn, Frame, xproto.ConfigWindowX|xproto.ConfigWindowY|xproto.ConfigWindowWidth|xproto.ConfigWindowHeight, []uint32{
1572 uint32(X), uint32(Y), uint32(Width), uint32(Height),
1573 }).Check()
1574
1575}
1576
1577func (wm *WindowManager) toggleTiling() {
1578 if !wm.currWorkspace.detachTiling {

Callers 2

fitToLayoutMethod · 0.95
disableTilingMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected