hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
21.5k stars 899 forks source link

Non-Consuming Flag Still Consuming Input #6201

Open BowlBird opened 5 months ago

BowlBird commented 5 months ago

Hyprland Version

System/Version info ```sh Hyprland, built from branch at commit cba1ade848feac44b2eda677503900639581c3f4 (props: bump version to 0.40.0). Date: Sat May 4 15:42:32 2024 Tag: v0.40.0, commits: 4606 flags: (if any) ```

Bug or Regression?

Bug

Description

Non-consuming bind flag does not work. Input is still consumed by Hyprland despite 'bindn'

How to reproduce

binds:

$mainMod = SUPER_L
bind =, $mainMod,submap,command
submap = command
bind =, space, submap, insert
submap = insert
bindn =, return, submap, reset
submap = reset

I'm using these to open ulauncher and on enter, ulauncher will close. With the binds as is though, it does not. You have to press enter twice, once to reset submap, another to close.

Crash reports, logs, images, videos

No response

aalhitennf commented 2 months ago

I have same problem with

 bindn=,mouse:275,pass,^(discord)$  

Button gets passed to discord at another workspace, i can hear the push-to-talk blip. Active window (Firefox) in current workspace doesn't go back in history.

Hyprland, built from branch  at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886

flags: (if any)
AlignSD commented 1 month ago

@aalhitennf any chance you found a solution I'm having the exact same issue.

aalhitennf commented 1 month ago

@aalhitennf any chance you found a solution I'm having the exact same issue.

My solution was to switch to xfce/x11 when gaming and talking in discord, works perfectly. All the performance problems are also gone :+1: