mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-05 04:06:11 -05:00
scene: add knob to turn off Xwayland surface restacking
This is useful in these cases: - The same surface is added to two different scene-graphs. wlroots can't figure out on its own which scene-graph should drive the Xwayland stacking. - A compositor uses multiple Xwayland servers (e.g. one per app). wlroots will try to restack surfaces from different Xwayland instances and this will not go well.
This commit is contained in:
parent
b094f8aeb3
commit
2c64b30a67
2 changed files with 12 additions and 2 deletions
|
|
@ -105,6 +105,8 @@ struct wlr_scene {
|
|||
struct wlr_gamma_control_manager_v1 *gamma_control_manager_v1;
|
||||
struct wlr_color_manager_v1 *color_manager_v1;
|
||||
|
||||
bool restack_xwayland_surfaces;
|
||||
|
||||
struct {
|
||||
struct wl_listener linux_dmabuf_v1_destroy;
|
||||
struct wl_listener gamma_control_manager_v1_destroy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue