From 2cbe7897214c2350ae8cfca17242adf330c56f1b Mon Sep 17 00:00:00 2001 From: Noxwell Date: Wed, 28 Jan 2026 11:42:04 -0600 Subject: [PATCH] Fix ordering and keyboard_grouping setting --- .../portmaster/scripts/portmaster_sway_fullscreen.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/projects/ROCKNIX/packages/apps/portmaster/scripts/portmaster_sway_fullscreen.sh b/projects/ROCKNIX/packages/apps/portmaster/scripts/portmaster_sway_fullscreen.sh index 3429eb582e..e1d6e60b42 100755 --- a/projects/ROCKNIX/packages/apps/portmaster/scripts/portmaster_sway_fullscreen.sh +++ b/projects/ROCKNIX/packages/apps/portmaster/scripts/portmaster_sway_fullscreen.sh @@ -7,14 +7,15 @@ if echo "${UI_SERVICE}" | grep -q "sway"; then # Call the function to fullscreen the window for app_id asynchronously sway_fullscreen "${1}" & - # Explicitly map all input devices to the active game seat to prevent wayland focus revocation, and unify virtual input nodes. - swaymsg 'seat seat1 attach "*"' - swaymsg 'seat * keyboard_grouping smart' - + # Create a virtual touch keyboard device if there are two displays if [[ "${DEVICE_HAS_DUAL_SCREEN}" == "true" ]]; then TSKEY=$(get_setting "rocknix.touchscreen-keyboard.enabled") if [[ "${TSKEY}" == "1" ]]; then swaymsg 'output DSI-1 power on, seat seat1 fallback no' fi fi + + # Explicitly map all input devices to the active game seat to prevent wayland focus revocation. + swaymsg 'seat seat1 attach "*"' + swaymsg 'seat * keyboard_grouping none' fi