marcinjahn / gnome-peek-top-bar-on-fullscreen-extension

Gnome Extension that triggers top panel to show up on full screen apps when cursor hovers the top edge of the screen
MIT License
22 stars 0 forks source link

Always place the dummy window on correct screen on Wayland #13

Closed tinkermakar closed 8 months ago

tinkermakar commented 8 months ago

I am adding an extra config to locate primary screen's coordinates and place the dummy window within it, close to the top left corner.

At the time of my original commit I did not have a Wayland multi-monitor setup. Once I did I noticed the dummy window not always spawning on the primary window and thus breaking this functionality. About half a year ago I have applied the fix I am committing now and it has been working fine for me all this time -- even when changing the primary screen on the go.

marcinjahn commented 8 months ago

Hi @tinkermakar. Hello back :) Interesting, I'm using multi-monitor setup on Wayland and it did work. Maybe I was just lucky and the primary monitor was always selected automatically?

Anyway, thanks for finding the bug and fixing it!