Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

the mose scroll doesn't change focus after swapwith master

Open a-amr opened this issue 1 year ago • 1 comments

Hyprland Version

Hyprland, built from branch  at commit v0.35.0  ().
Date: 2024-02-05
Tag: 

flags: (if any)


System Information:
System name: Linux
Node name: xxx
Release: 6.7.6
Version: #1-NixOS SMP PREEMPT_DYNAMIC Fri Feb 23 08:51:59 UTC 2024


GPU information: 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] [10de:2520] (rev a1) (prog-if 00 [VGA controller])
06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c5) (prog-if 00 [VGA controller])


os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.05pre592007.9df3e30ce24f"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.05 (Uakari)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.05 (Uakari)"
VERSION_CODENAME=uakari
VERSION_ID="24.05"


plugins:

Bug or Regression?

Bug

Description

bind=ALT, K, layoutmsg, swapwithmaster master

after running this command in the master layout the mouse scrolling or pad scrolling doesn't work right until i move the curser even one pixel if i don't move the mouse it scroll in the old window which not active now

How to reproduce

use any bind that use this command layoutmsg, swapwithmaster master

Crash reports, logs, images, videos

No response

a-amr avatar Mar 07 '24 13:03 a-amr

Not sure if this is the same issue, but switching focus to a different monitor using focusmonitor sends scroll commands to the previously focused window until the mouse cursor has been moved.

Way to reproduce

  • Have 2 monitors with windows that have scrollable content
  • Setup focusmonitor
  • Work on monitor 1, hit the bind for focusmonitor to switch to monitor 2
  • Scroll mouse without moving cursor scrolls previously focused window
  • Move mouse cursor
  • Scroll event will be send to the focused window on monitor 2

dantefromhell avatar Mar 09 '24 20:03 dantefromhell

can you test #5074

vaxerski avatar Mar 12 '24 15:03 vaxerski