Multiple windows/outputs for wayland backend? Ideas to use wlroots/wayfire as a GUI framework to glue apps together #2361
Replies: 1 comment 1 reply
-
I've actually considered a plugin that does this, though there are many corner cases to consider. You could make it such that you can mod+drag to select a portion of a window, after which the rest of the window would become transparent (and click-through). Then do this to other windows and finally snap them together with a special move-drag binding provided by the plugin. However, one of the problems is that you would have to repeat these steps when restarting 'the window'. Another problem is that if the app changes the location of the selected area within the main app, you would also have to redo the selection and snapping, or otherwise prevent the client from changing the target area geometry. You can however dynamically create and destroy wayland backend outputs in wayfire, using stipc and ipc plugins, and script it to make each application start in its own output. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if wayfire/wlroots is built for this, but it would be cool to build applications which are nested compositors where the widgets/windows of this application are composed of wayland clients managed by the app. Ideas:
I recently found this Wakefield compositor that is a POC for some of this. It's a compositor that is GTK class/container, and clients can be placed in a gtk window just like other widgets and arranged in containers like vbox, hbox, etc.
Also this idea has some similarities to a wayland proxy, which there are some interesting ones around:
A wayfire/wlroots rootless-passthrough-like wayland backend would essentially be a fancy proxy too.
Beta Was this translation helpful? Give feedback.
All reactions