(Frame xproto.Window, X, Y, Width, Height int)
| 1567 | } |
| 1568 | |
| 1569 | func (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 | |
| 1577 | func (wm *WindowManager) toggleTiling() { |
| 1578 | if !wm.currWorkspace.detachTiling { |
no outgoing calls
no test coverage detected