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
313 stars 15 forks source link

Use widget's preferred size by default #166

Open wmww opened 1 year ago

wmww commented 1 year ago

The old behavior caused Flutter windows to have zero size and not show up unless they explicitly requested a size.

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

Hmm, looks like this breaks something to do with shrinking the window. In the demo once "fixed size" is toggled on toggling it off doesn't shrink the window back down to normal size.