Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the mose scroll doesn't change focus after swapwith master #5006

Closed
a-amr opened this issue Mar 7, 2024 · 2 comments · Fixed by #5074
Closed

the mose scroll doesn't change focus after swapwith master #5006

a-amr opened this issue Mar 7, 2024 · 2 comments · Fixed by #5074
Labels
bug Something isn't working

Comments

@a-amr
Copy link

a-amr commented Mar 7, 2024

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 a-amr added the bug Something isn't working label Mar 7, 2024
@dantefromhell
Copy link

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

@vaxerski
Copy link
Member

can you test #5074

thejch added a commit to thejch/Hyprland that referenced this issue Mar 12, 2024
vaxerski pushed a commit that referenced this issue Mar 13, 2024
* fix master switch window scrolling

* fix some more dispatchers and remove some duplicate code

* refactor and remove duplicate code

* fix focusmonitor: #5006 (comment)

* change check
lisuke pushed a commit to lisuke/Hyprland that referenced this issue Apr 15, 2024
* fix master switch window scrolling

* fix some more dispatchers and remove some duplicate code

* refactor and remove duplicate code

* fix focusmonitor: hyprwm#5006 (comment)

* change check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants