soulthreads / xwinmosaic

X11 window switcher with fancy look.
BSD 2-Clause "Simplified" License
47 stars 8 forks source link

Incorrect position on the screen in portrait mode #34

Closed vaygr closed 1 year ago

vaygr commented 2 years ago

Thanks for this tool, I've been using it for a long time.

Recently I discovered in portrait mode it still thinks the resolution is 1920x1200, while in fact it's 1200x1920 🙂

This is only reproducible when you select an item while on the screen in landscape mode and launch xwinmosaic again on the screen in portrait mode (xwinmosaic will be seen as cut off from the right side of the screen). But if you do the latter once again, it will detect screen dimensions properly.

vaygr commented 1 year ago

I recently switched from intel to modesetting driver, and can't reproduce this anymore.