mzur / gnome-shell-wsmatrix

GNOME shell extension to arrange workspaces in a two-dimensional grid with workspace thumbnails
GNU General Public License v3.0
458 stars 58 forks source link

Fix monitor-changed event listener #211

Open sommerper opened 2 years ago

sommerper commented 2 years ago

Hi! I realize this is an edge case so I don't have my hopes up for this getting fixed but I thought I might mention it anyway.

I have a two monitor setup. One 4k and one 1080p. I use my 4k monitor for other machines and use its build in feature for switching to the input from two other machines.

When I do that PopOS registers that as if I'm removing a monitor and basically my 1080p monitor will become the main monitor.

When I switch my 4k monitor back to PopOS the system will register two monitors again. But unfortunately the Matrix extension needs to be disabled and then re-enabled or else I will only have a 1x4 grid as opposed to my 2x2 grid.

So it's not completely broken I just have the minor annoyance of having to re-enable the extension again.

Anyway, thanks for a great extension!

OS: Pop!_OS 21.10

ebeem commented 2 years ago

That shouldn't be hard to fix, we should just have a monitor-changed event listener (which I thought we already have). I will investigate and fix this when I have time.

Many thanks for reporting.