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

Function swapWindows

wm/window_manager.go:1388–1390  ·  view source on GitHub ↗
(arr *[]*Window, first int, last int)

Source from the content-addressed store, hash-verified

1386 }
1387}
1388func swapWindows(arr *[]*Window, first int, last int) {
1389 (*arr)[first], (*arr)[last] = (*arr)[last], (*arr)[first]
1390}
1391
1392func swapWindowsId(arr *[]*Window, first xproto.Window, last xproto.Window){
1393 var res1 int

Callers 2

RunMethod · 0.85
swapWindowsIdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected