Skip to content

Crash when oneshot_timeout: 0 #339

Description

@rigomontj

When pressing oneshot leftclick button during normal mode (after a one-pass hint),
if oneshot_timeout is 0, whole system crashes/freezes, stuck on one frame, needs to reboot.

OS: Ubuntu 24.04.4 LTS
Display: X11 (X.Org X Server 21.1.11)
Environment: GNOME
WM: GNOME Shell (Mutter, X11)
warpd: v1.3.5 (commit 01650ea)

~/.config/warpd/config

hint_activation_key: A-semicolon
hint: A-semicolon
oneshot_buttons: space 0 0
buttons: 0 b Return
hint_size: 25
normal_blink_interval: 250
cursor_color: #00ff00
cursor_size: 6
drag: d
copy_and_exit: c
exit: ;
hint_exit: ;
acceleration: 0
speed: 40
scroll_up: ,
scroll_down: i
scroll_speed: 440
scroll_acceleration: 400
scroll_deceleration: -90000
oneshot_timeout: 0

Note: oneshot_timeout: 1 fixes it

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