add xorg PutWindowBelow.

This commit is contained in:
Miroslav Šedivý 2021-01-18 21:43:44 +01:00
parent 54760551f7
commit b49ed65a5c
4 changed files with 56 additions and 0 deletions

View file

@ -244,6 +244,13 @@ func GetCursorImage() *types.CursorImage {
}
}
func PutWindowBelow(window uint32) {
mu.Lock()
defer mu.Unlock()
C.XPutWindowBelow(C.Window(window))
}
//export goCreateScreenSize
func goCreateScreenSize(index C.int, width C.int, height C.int, mwidth C.int, mheight C.int) {
ScreenConfigurations[int(index)] = types.ScreenConfiguration{