AlexisBRENON / ewmh_m2m

EWMH-compliant move to monitor utility
https://pypi.org/project/ewmh-m2m/
MIT License
90 stars 5 forks source link

No sibling screen found - Error #14

Closed tobip closed 4 years ago

tobip commented 4 years ago

Thanks for the great script! Unfortunately this is what I get:

$ move-to-monitor -v -v
DEBUG:ewmh_m2m.__main__:Detected screens: {Geometry(2960, 0, 1920, 1200), Geometry(0, 176, 1280, 1024), Geometry(1280, 150, 1680, 1050)}
DEBUG:ewmh_m2m.__main__:Containing screen: Geometry(0, 176, 1280, 1024)
CRITICAL:ewmh_m2m.__main__:No sibling screen found

This is my screen configuration: image

Any suggestions?

AlexisBRENON commented 4 years ago

Thanks for the report.

Yes, I have a suggestion. Align the top of your screens :laughing: As a lazy developer, I discover the left/right screens by looking for the ones with the same y value (the vertical coordinate of the top edge of the screen) than the current one. While coding this, I said to myself "You're lazy, this is bad, and it will not work for anyone not aligning the top of their screens."

So, long say short, let me some days to find time to fix this!

tobip commented 4 years ago

Alright :-) No worries, I am using another script at the moment that works fine for me for now. Thanks a lot!

AlexisBRENON commented 4 years ago

I just made a PR (#15). Are you able to test it (before I merge and release it)?

tobip commented 4 years ago

How can I do this?

Edit: I found out and was able to install and test it, it works like a charm. Thanks a lot! :-)

AlexisBRENON commented 4 years ago

Fixed in version v1.1.3