Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
BSD 3-Clause "New" or "Revised" License
21.37k
stars
898
forks
source link
Mouse cursor jumping to top left corner #7667
Closed
mshzsh closed 1 month ago
Regression?
Yes
System Info and Version
System/Version info
```sh Hyprland, built from branch at commit 9a09eac79b85c846e3a865a9078a3f8ff65a9259 (props: bump version to 0.42.0). Date: Wed Aug 7 19:17:10 2024 Tag: v0.42.0, commits: 5069 flags: (if any) System Information: System name: Linux Node name: alienware Release: 6.10.7-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Thu, 29 Aug 2024 16:48:57 +0000 GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06) (prog-if 00 [VGA controller]) os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo plugins: ======Config-Start====== Config File: /home/mshzsh/.config/hypr/hyprland.conf: Read Succeeded # autogenerated=1 # uncomment this line to get rid of the warning on top. monitor=eDP-1,1920x1080@60,0x1080,1 workspace=eDP-1,1 #monitor=HDMI-A-4,1920x1080@60,0x0,1 input { kb_layout=us,ir kb_options=grp:alt_shift_toggle numlock_by_default=1 follow_mouse=2 float_switch_override_focus=0 touchpad { natural_scroll=no } } general { sensitivity=0.50 # for mouse cursor gaps_in=3 gaps_out=5,12,12,12 border_size=0 col.active_border=rgb(000000) # col.active_border=rgb(b2bdd0) rgb(0F171B) rgb(b2bdd0) -30deg col.inactive_border=rgb(FF0000) rgb(0F171B) rgb(FF0000) -30deg apply_sens_to_raw=0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse) layout=dwindle allow_tearing=true } decoration { blur { enabled=true size=4 # minimum 1 passes=3 # minimum 1, more passes = more resource intensive. new_optimizations=true } rounding=12 shadow_range=7 inactive_opacity=1 dim_inactive=false } blurls=gtk-layer-shell # For enable blur on eww and other status bars. blurls=hybrid-bar blurls=rofi animations { enabled=true bezier=ws,0.83, 0, 0.17, 1 bezier=wd,0.45, 0, 0.55, 1 bezier=fd,0.12, 1, 0, 1 animation=windows,1,1,wd animation=border,1,1,default animation=fade,1,3,fd animation=workspaces,1,5,ws,slidefade 10% } gestures { workspace_swipe=false } binds { allow_workspace_cycles=true workspace_back_and_forth=false } misc { disable_hyprland_logo=true disable_splash_rendering=true focus_on_activate=true mouse_move_enables_dpms=true key_press_enables_dpms=true force_default_wallpaper=0 } render { direct_scanout=true } #----- FPS # debug { # overlay=true # } # bind=SHIFT,ALT_L,exec,hyprctl switchxkblayout at-translated-set-2-keyboard next && hyprctl switchxkblayout dell-kb216-wired-keyboard next bind=SUPER,LEFT,exec, python ~/.config/hypr/navigate_workspaces.py --left bind=SUPER,RIGHT,exec, python ~/.config/hypr/navigate_workspaces.py --right bind=SUPERCTRL,LEFT,exec, python ~/.config/hypr/navigate_workspaces.py --left --move bind=SUPERCTRL,RIGHT,exec, python ~/.config/hypr/navigate_workspaces.py --right --move # bind=SUPER,UP,movewindow,u # bind=SUPER,DOWN,movewindow,d bind=SUPER,mouse_down,workspace,e-1 bind=SUPER,mouse_up,workspace,e+1 bind=SUPER,TAB,workspace,previous bindm=SUPER,mouse:272,movewindow bindm=SUPER,mouse:273,resizewindow bind=SUPER,W,killactive, bind=SUPER,F,fullscreen, bind=SUPER,P,togglefloating, bind=SUPER,K,splitratio,+ bind=SUPER,J,splitratio,- bind=SUPER,1,workspace,1 bind=SUPER,2,workspace,2 bind=SUPER,3,workspace,3 bind=SUPER,4,workspace,4 bind=SUPER,5,workspace,5 bind=SUPER,6,workspace,6 bind=SUPER,7,workspace,7 bind=SUPER,8,workspace,8 bind=SUPER,9,workspace,9 bind=SUPER,RETURN,exec,~/.config/hypr/run_guake bind=SUPER,SPACE,exec,rofi -show drun -theme ~/.config/rofi/launcher.rasi bind=SUPER,ESCAPE,exec,~/.config/eww/launch bind=SUPER,N,exec,pkill alacritty || alacritty -e note bind=SUPER,V,exec,cliphist list | rofi -dmenu -theme ~/.config/rofi/clipboard.rasi | cliphist decode | wl-copy bind=SUPERALT,P,exec,hyprpicker -a bind=SUPER,L,exec,hyprlock bind=ALT,TAB,exec,rofi -show window -theme ~/.config/rofi/windows.rasi bind=,Print,exec,grim -g "$(slurp)" - | swappy -f - -o $HOME/Pictures/SS_$(date "+%F-%H-%M-%S").png bind=CTRL,Print,exec,grim -l 9 $HOME/Pictures/SS_$(date "+%F-%H-%M-%S").png && notify-send "Screenshot captured." bind=SUPER,F1,exec,~/.config/hypr/performance_mode bind=SUPER,F2,exec,~/.config/hypr/night_mode bind=SUPER,C,exec,mpv av://v4l2:/dev/video0 --profile=low-latency --untimed -vf "hflip" bind=SUPER,T,exec,pkill std || ~/.config/hypr/secure_text_display/std bind=SHIFT,mouse_down,exec,hyprctl keyword misc:cursor_zoom_factor 1.5 bind=SHIFT,mouse_up,exec,hyprctl keyword misc:cursor_zoom_factor 1.0 bind=,XF86MonBrightnessDown,exec,brightnessctl s 20%- -n 1% bind=,XF86MonBrightnessUp,exec,brightnessctl s +20% bind=,XF86AudioLowerVolume,exec,amixer set Master 10%- bind=,XF86AudioRaiseVolume,exec,amixer set Master 10%+ bind=,XF86AudioMute,exec,amixer set Master toggle # exec-once=~/.config/eww/launch exec-once=/usr/bin/lxpolkit & exec-once=waypaper --restore exec-once=dunst & exec-once=hypridle & exec-once=guake --restore-preferences ~/.config/guake/conf && guake & exec-once=mpd exec-once=~/.config/hypr/low_battery_alert & exec-once=wl-paste --type text --watch cliphist store -max-items 2000 exec-once=waybar & # exec-once=mpvpaper -o "no-audio --loop-playlist" '*' /home/mshzsh/Downloads/abr.mp4 & windowrule=float,^(guake)$ windowrule=pin,^(guake)$ # windowrule=rounding 12,^(guake)$ windowrule=size 95% 95%,^(guake)$ windowrule=center,^(guake)$ windowrule=bordersize 2,^(guake)$ # windowrule=float,^(nemo)$ # windowrule=move 335 170,^(nemo)$ # windowrule=size 1250 740,^(nemo)$ windowrule=float,title:^(STD)$ windowrule=float,^(imv)$ windowrule=float,^(mpv)$ windowrule=float,qalculate-gtk windowrule=float,blueman-manager windowrule=size 400 500,blueman-manager windowrule=move 1500 50,blueman-manager windowrule=float,Alacritty windowrule=size 60% 60%,Alacritty windowrule=center,Alacritty windowrule=opaque,^(.*Gimp.*)$ windowrulev2 = opacity 0.9 0.9,class:^(nemo)$ windowrulev2 = workspace 6,class:(firefox),title:(Mozilla Firefox) # For Selenium # windowrulev2 = workspace 6 silent,class:(firefox),title:(Mozilla Firefox) # For Selenium # Use following windowruler for games. #windowrulev2 = immediate, class:^(cs2)$ env=GTK_THEME,Mshzsh env=XCURSOR_THEME,Adwaita env=XCURSOR_SIZE,24 env=HYPRCURSOR_SIZE,24 env=MOZ_ENABLE_WAYLAND,1 env=GUAKE_ENABLE_WAYLAND,1 # for Nvidia env=LIBVA_DRIVER_NAME,nvidia env=XDG_SESSION_TYPE,wayland env=WLR_NO_HARDWARE_CURSORS,1 # env=GBM_BACKEND,nvidia-drm # Firefox BUG # env=__GLX_VENDOR_LIBRARY_NAME,nvidia # Vscode BUG #-------------------------------------- # env=GDK_BACKEND,wayland,x11 env=QT_QPA_PLATFORM,wayland;xcb # env=SDL_VIDEODRIVER,wayland # env=CLUTTER_BACKEND,wayland # env=XDG_SESSION_DESKTOP,Hyprland # env=QT_AUTO_SCREEN_SCALE_FACTOR,1 # env=QT_WAYLAND_DISABLE_WINDOWDECORATION,1 # env=QT_QPA_PLATFORMTHEME,qt5ct # bind=SHIFT,mouse:272,exec,xdotool click 3 && xdotool click 1 #for games! (counter) # bind=,O,exec,xdotool key x && xdotool key Tab && xdotool key space && xdotool key q #(Axe) # bind=,O,exec,xdotool key x && xdotool key space && xdotool click 1 && xdotool key e && xdotool key r #(Enigma) # bind=,O,exec,xdotool key x && xdotool key space && xdotool click 1 && xdotool key r && xdotool key r #(Shadow Fiend) # bind=,O,exec,xdotool key q && xdotool key r && xdotool key x #(Void) # bind=,O,exec,xdotool key x && xdotool key q && xdotool key e && xdotool key r #(Sven) # bind=,O,exec,xdotool key x && xdotool key space && xdotool key w && xdotool key r #(Slardar) # bind=,O,exec,xdotool key w && xdotool key r && xdotool key Tab && xdotool key space && xdotool key q #(Ursa) # bind=,v,exec,xdotool key v && xdotool key v #(Armlet) #-------------Set Themes : # gsettings set org.gnome.desktop.interface gtk-theme 'Mshzsh' # gsettings set org.gnome.desktop.interface icon-theme 'Tela' # gsettings set org.gnome.desktop.interface cursor-theme 'Adapta-Nokto' # gsettings set org.gnome.desktop.interface cursor-size '36' # gsettings set org.gnome.desktop.interface font-name 'Hack Nerd Font 12' ======Config-End======== ```Description
In some programs (Like vscode), when the dialog box opens, the mouse cursor jumps to the upper left of the screen.
How to reproduce
It is clear in the video I uploaded.
Crash reports, logs, images, videos
https://github.com/user-attachments/assets/199c95b6-db0e-4833-b9ba-81c2775fd7a9