Skip to content

Conversation

@hillyu
Copy link

@hillyu hillyu commented Jul 23, 2024

Fix an issue regarding to the monitor matching mechanism. The root cause is the following bug in gtk.
swaywm/sway#8164 https://gitlab.gnome.org/GNOME/gtk/-/commit/51b04c5007f89142ed5a1ab240c03d5800b86b3d
A quick fix uses monitor's model attribute to do the match instead of geometry, as for now, the geometry.x and geometry.y will always be 0,0 regardless the real monitor position.

Copy link
Owner

@nwg-piotr nwg-piotr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't work if you have two monitors of the same model. I remember having resolved this in nwg-displays, see: nwg-piotr/nwg-displays@1147265

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants