Skip to content

Touchpad gestures bypass ext-session-lock-v1 session lock #61

Description

@Xyplixt

Description

When a session lock is active (using Quickshell with ext-session-lock-v1),
3-finger touchpad gestures defined in the gestures {} config block are still
processed by the compositor. This allows workspace switching or re-triggering
of bound gesture actions while the screen should be fully locked.

Steps to reproduce

  1. Set up a gesture in gestures {} block, e.g:
    gesture = 3, down, dispatcher, exec, /path/to/lock.sh
  2. Lock the screen using a Quickshell lockscreen (ext-session-lock-v1)
  3. Perform the same gesture (3-finger swipe down) while locked

Expected behavior

All gestures should be fully inhibited while a session lock is active,
similar to how keyboard shortcuts are inhibited.

Actual behavior

The gesture fires again while locked, spawning a new Quickshell instance
on top of the existing one. Each extra instance consumes additional memory.
Repeated swiping causes significant memory leak via stacked Quickshell processes.

Workaround

Checking pgrep -x "quickshell" at the start of the lock script and
exiting early if already running

System info

  • Hyprland version: 0.55.2 (commit 39d7e209c79d451efab1b21151d5938289da838d)
  • Quickshell version: 0.3.0 (distributed by Arch Linux)
  • Distro: Arch Linux
  • Session type: Wayland

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions