TomenetGame / tomenet

TomeNET is an online multiplayer roguelike role-playing game
https://www.tomenet.eu/
Other
69 stars 11 forks source link

Windows reset position with Qtile window manager #18

Closed Tokariew closed 2 years ago

Tokariew commented 3 years ago

Not sure if i should write here or on qtile github

When closing TomeNET .tomenetrc file is being rewritten, and all windows have x, y position set to my border width size.

After some fiddling I found out that XGetGeometry is always smaller than XTranslateCoordinates by my border width, tried on i3 and is always XGetGeometry: x = 2, y = 0

for qtile example:

XGetGeometry: x = 1, y = 485
XTranslateCoordinates: x = 6, y = 490

So it seems that on qtile, TomeNET is grabbing XTranslateCoordinates from "root window" and not within correct window?

Tokariew commented 2 years ago

no longer the case, after some updates…