mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
Until we expose the workspaces to xwayland we need a way to ensure that xwayland views on the current workspace are always stacked above xwayland views on other workspaces. If we fail to do so, issues arise in scenarios where we change the mouse focus but do not change the (xwayland) stacking order. Reproducer: - If followMouse is enabled, raiseOnFocus must be disabled - Open at least two xwayland windows which allow scrolling (some X11 terminal with 'man man' for example) - Switch to another workspace, open another xwayland window which allows scrolling and maximize it - Switch back to the previous workspace with the two windows - Move the mouse to the xwayland window that does *not* have focus - Start scrolling - All scroll events should end up on the maximized window on the other workspace This patch fixes the issue by simply raising all windows from the current workspace again in their original stacking order when switching workspaces. Reported-by: Domo via IRC (thanks!) |
||
|---|---|---|
| .. | ||
| button | ||
| common | ||
| config | ||
| input | ||
| menu | ||
| action.h | ||
| buffer.h | ||
| debug.h | ||
| decorations.h | ||
| dnd.h | ||
| idle.h | ||
| labwc.h | ||
| layers.h | ||
| meson.build | ||
| node.h | ||
| regions.h | ||
| resistance.h | ||
| resize_indicator.h | ||
| session-lock.h | ||
| snap.h | ||
| ssd-internal.h | ||
| ssd.h | ||
| theme.h | ||
| view-impl-common.h | ||
| view.h | ||
| window-rules.h | ||
| workspaces.h | ||
| xwayland.h | ||