labwc/include
Consolatis 6c1ca61ee7 Keep xwayland stacking order in sync when switching workspaces
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!)
2023-11-21 22:31:05 +01:00
..
button button-png.c: s/png_load/button_png_load/ 2023-09-17 19:26:41 +01:00
common common/array.h: add wl_array_for_each_reverse macro 2023-11-21 22:31:05 +01:00
config keyboard: allow applying keyboard layout per window 2023-11-04 07:58:43 +00:00
input keyboard: include pressed modifiers in bound set 2023-11-12 17:37:30 +00:00
menu menu: use wl_list instead of array 2023-10-10 06:17:37 +01:00
action.h action: add If and ForEach actions 2023-10-01 14:17:29 +01:00
buffer.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
debug.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
decorations.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
dnd.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
idle.h Add support for ext_idle_notify_v1.. 2023-07-09 08:26:33 +01:00
labwc.h Update top layer visiblity on workspace switch 2023-11-12 17:39:00 +00:00
layers.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
meson.build Make xwayland support optional 2020-12-30 10:29:21 +00:00
node.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
regions.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
resistance.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
resize_indicator.h Add window resize indicator 2023-08-19 18:37:16 +02:00
session-lock.h session-lock: reconfigure for output layout changes 2023-10-05 20:10:37 +01:00
snap.h Add snap to window edge framework 2023-10-19 19:09:42 +01:00
ssd-internal.h common: rename array-size.h to macros.h 2023-10-21 12:37:42 +01:00
ssd.h src/ssd: use view->ssd_titlebar_hidden for ssd_thickness calculations 2023-09-21 22:21:19 +01:00
theme.h Refactor title height to use 'titlebar.height' from themerc 2023-10-06 22:19:16 +01:00
view-impl-common.h view: commonize sub-view logic in view_move_to_front/back() 2023-10-21 15:40:56 +01:00
view.h src/view.c: add always_on_top criteria 2023-11-21 22:31:05 +01:00
window-rules.h window-rules: add fixedPosition property 2023-11-10 21:46:15 +01:00
workspaces.h desktop: switch workspaces and optionally raise in desktop_focus_view() 2023-09-28 03:38:51 +02:00
xwayland.h Keep xwayland stacking order in sync when switching workspaces 2023-11-21 22:31:05 +01:00