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
324 stars 16 forks source link

Put a layer onto multiple monitors #180

Closed DhruvaSambrani closed 6 months ago

DhruvaSambrani commented 7 months ago

gtk_layer_set_monitor allows us to request to change the monitor that the layer is placed onto. Is is possible to place a layer onto multiple monitors?

ammen99 commented 7 months ago

Not the author of this library, but this shouldn't be possible because the underlying protocol does not allow it either.

DhruvaSambrani commented 7 months ago

I am absolutely new to Wayland dev, so I may be grossly wrong in this.

However, can we add this in the protocol?

Consolatis commented 7 months ago

You can have multiple surfaces, for example one per monitor.

DhruvaSambrani commented 7 months ago

Right. If there is no interest, please feel free to close!