wmww / gtk-layer-shell

A library to create panels and other desktop components for Wayland using the Layer Shell protocol
GNU General Public License v3.0
319 stars 16 forks source link

Use gtk-priv to get window geometry #164

Closed wmww closed 1 year ago

wmww commented 1 year ago

Fixes #163. Replaces a messy (and broken) hack for getting window geometry. We have gtk-priv now, use it.

By opening this pull request, I agree for my modifications to be licensed under whatever licenses are indicated at the start of the files I modified

wmww commented 1 year ago

@spl237 when you get a chance can you try this out and tell me if it works/if I broke anything else? Everything seems to be working to me.

spl237 commented 1 year ago

Will do - should be able to try it today or tomorrow, and will report back. Many thanks.

Tamaranch commented 1 year ago

Seems to work fine here. Tested with some xfce4-panel plugins, especially appmenu which can have tooltips on menu entries (and whose toggle button was broken in #141).

spl237 commented 1 year ago

Also seems to work for me - tooltips are now positioned correctly and dead zone is still gone. Many thanks!