Skip to content

can't bind other dispacth than mavewindow, resizewindow to longpress? #291

@dirichy

Description

@dirichy

Describe the bug
A clear and concise description of what the bug is.
longpress seems only work in bindm, not bind. And bindm only can use to movewindow and resizewindow.
Log

  • For compile errors, run hyprpm update -f -v --no-shallow or for nix/home-manager/nixos-rebuild: add the -L flag.

  • For runtime crashes, enable logging with hyprctl keyword debug:disable_logs false then send the crash report in .cache/hyprland/hyprlandCrashReport{pid}.txt

  • For other runtime bugs, if you see something useful in logs after enabling them, also attach it

paste log here...

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Arch, nix/nixos]
  • output of hyprctl version or Hyprland -v:
Hyprland 0.51.1 built from branch  at commit 71a1216abcc7031776630a6d88f105605c4dc1c9  ([gha] Nix: update inputs).
Date: Mon Sep 22 20:54:03 2025
Tag: v0.51.1, commits: 6436
built against:
aquamarine 0.9.5
hyprlang 0.6.3
hyprutils 0.10.0
hyprcursor 0.1.13
hyprgraphics 0.2.0


no flags were set
  • output of hyprctl plugin list:
hyprctl plugin list

Plugin hyprgrass by horriblename:
	Handle: 55a779b6a2c0
	Version: v0.8.2
	Description: Touchscreen gestures

Plugin hyprgrass-pulse by horriblename:
	Handle: 55a77b97b7b0
	Version: v0.8.2
	Description: Hyprgrass pulseaudio extension

Plugin Hyprtasking by raybbian:
	Handle: 55a77b993870
	Version: 0.1
	Description: A workspace management plugin

Additional context
Add any other context about the problem here.
I find that if I write an illegal bindm, like

hyprgrass-bindm = , longpress:1, fdsasdf

or

hyprgrass-bindm = , longpress:1,exec, any command

then longpress:1 will trig resizewindow. I don't know if this is connected to this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions