Open Insprill opened 1 month ago
I have a similar issue on 1.8.9, can mitigate it by running within gamescope, for example my wrapper command in prismlauncher is something like this:
gamescope -f -W 2560 -H 1440 -r 170 -w 2560 -h 1440 --force-grab-cursor --force-windows-fullscreen --
try that out and see if it works for you
Already reported ? *
Regression?
No
System Info and Version
System/Version info
```sh Hyprland, built from branch main at commit b65773bea9b912a41cfcbc789fb2e60a07e3d0c1 (hyprpm: disallow shallow on unknown branch). Date: Thu Oct 10 06:01:13 2024 Tag: v0.44.0-26-gb65773be, commits: 5325 built against aquamarine 0.4.2 flags: (if any) System Information: System name: Linux Node name: iusearchbtw Release: 6.11.3-lqx1-1-lqx Version: #1 ZEN SMP PREEMPT Thu, 10 Oct 2024 14:22:48 +0000 GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M] [1002:744c] (rev c8) (prog-if 00 [VGA controller]) os-release: NAME="EndeavourOS" PRETTY_NAME="EndeavourOS" ID="endeavouros" ID_LIKE="arch" BUILD_ID="2024.01.25" ANSI_COLOR="38;2;23;147;209" HOME_URL="https://endeavouros.com" DOCUMENTATION_URL="https://discovery.endeavouros.com" SUPPORT_URL="https://forum.endeavouros.com" BUG_REPORT_URL="https://forum.endeavouros.com/c/general-system/endeavouros-installation" PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2" LOGO="endeavouros" plugins: split-monitor-workspaces by Duckonaut ver 1.2.0 ======Config-Start====== Config File: /home/insprill/.config/hypr/hyprland.conf: Read Succeeded # Theme source=~/.config/hypr/catppuccin-mocha.conf $cursorSize = 24 $cursorTheme = capitaine-cursors # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=DP-3, 3840x2160@60, 0x720, 1.5, vrr,1, bitdepth, 10 monitor=DP-2, 3440x1440@100, 2560x720, 1 monitor=DP-1, 3840x2160@60, 6000x0, 1.5, vrr,1, bitdepth, 10, transform, 3 exec-once = hyprpm update && hyprpm reload -n exec-once = waybar exec-once = xrandr --output DP-2 --primary exec-once = wl-paste -p --watch wl-copy -pc # Disable middle-click paste exec-once = dex -a exec-once = waypaper --random # pain exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # See https://wiki.hyprland.org/Configuring/Environment-variables/ # Nvidia go brr # env = LIBVA_DRIVER_NAME,nvidia # env = GBM_BACKEND,nvidia-drm # env = __GLX_VENDOR_LIBRARY_NAME,nvidia # env = __GL_GSYNC_ALLOWED,1 # env = NVD_BACKEND,direct # env = VDPAU_DRIVER,nvidia # End of Nvidia env = XDG_SESSION_TYPE,wayland # Cursors env = XCURSOR_THEME, $cursorTheme env = XCURSOR_SIZE, $cursorSize env = HYPRCURSOR_THEME, $cursorTheme env = HYPRCURSOR_SIZE, $cursorSize # Steam has to be special env = STEAM_FORCE_DESKTOPUI_SCALING, 1 # Force/hint Wayland support env = QT_QPA_PLATFORM,wayland;xcb env = MOZ_ENABLE_WAYLAND,1 env = GDK_BACKEND,wayland # dolphin file association :| env = XDG_MENU_PREFIX,plasma- # Get access to Derail Valley dev tools env = DERAIL_VALLEY_DEV,1 # See https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = us numlock_by_default = true follow_mouse = 1 sensitivity = 0 # -1.0 - 1.0, 0 means no modification. accel_profile = flat } cursor { default_monitor = DP-2; } general { gaps_in = 3 gaps_out = 3 border_size = 2 col.active_border=$mauve col.inactive_border=$surface0 col.nogroup_border_active=$flamingo col.nogroup_border=$surface0 } decoration { rounding = 10 blur { enabled = true size = 8 passes = 2 } drop_shadow = true shadow_range = 4 shadow_render_power = 3 col.shadow=$surface0 col.shadow_inactive=$surface0 } animations { enabled = true # https://wiki.hyprland.org/Configuring/Animations/ animation = windows, 1, 1.5, default animation = windowsIn, 1, 0.5, default, popin 80% animation = windowsOut, 1, 0.5, default, popin 80% animation = border, 1, 2, default animation = borderangle, 1, 5, default animation = fade, 1, 2, default animation = workspaces, 1, 1, default } dwindle { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = true # master switch for pseudotiling. preserve_split = true # you probably want this } misc { vfr = true background_color = $base # Fixes the background being visible when starting some applications disable_hyprland_logo = yes disable_splash_rendering = yes } xwayland { use_nearest_neighbor = false # Blur instead of pixelate } # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more windowrulev2 = float, class:^(org.prismlauncher.PrismLauncher)$ windowrulev2 = float, class:^(pavucontrol)$ windowrulev2 = float, class:^(unityhub)$ windowrulev2 = float, title:^(Starting Unity...)$ windowrulev2 = float, center, title:^(Welcome to JetBrains Rider)$ windowrulev2 = float, center, title:^(Welcome to IntelliJ IDEA)$ windowrulev2 = opacity 0.8, class:^(Alacritty)$ windowrulev2 = opacity 0.95, float:0, class:^(jetbrains-idea)$ windowrulev2 = opacity 0.95, float:0, class:^(jetbrains-rider)$ windowrulev2 = float, suppressevent maximize, move 0 0, class:^(flameshot)$ # Windows that go fullscreen when opening when they shouldn't windowrulev2 = suppressevent maximize, class:^(blender)$ windowrulev2 = suppressevent maximize, class:^(neovide)$ windowrulev2 = suppressevent maximize, class:^(Insomnia)$ # Fix floating windows that shouldn't be floating windowrulev2 = tile, class:^(libreoffice-.*)$ windowrulev2 = tile, class:^(steam_app_588030)$ # Derail Valley windowrulev2 = tile, title:^(Godot)$ windowrulev2 = tile, title:^(VR View)$ # Images in terminals windowrulev2 = noanim, class:^(ueberzug.*)$ # more pain windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ windowrulev2 = noanim,class:^(xwaylandvideobridge)$ windowrulev2 = nofocus,class:^(xwaylandvideobridge)$ windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$ # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER $mainModShift = SUPER_SHIFT $mainModControl = SUPER_CONTROL # See https://wiki.hyprland.org/Configuring/Binds/ # Applications bind = $mainMod, E, exec, dolphin bind = $mainMod, B, exec, firefox-developer-edition bind = $mainModShift, A, exec, firefox-developer-edition https://chatgpt.com/ bind = $mainMod, D, exec, rofi -show drun bind = $mainMod, C, exec, rofi -show calc -modi calc -no-show-match -no-sort -calc-command "wl-copy '{result}'" bind = $mainMod, P, exec, hyprpicker -a bind = $mainMod, RETURN, exec, alacritty bind = ALT, F10, exec, killall -SIGUSR1 gpu-screen-recorder && notify-send "Clip Saved" bind = , Print, exec, grimblast --freeze copy area # General bind = $mainMod, Q, killactive, bind = $mainMod, M, exit, bind = $mainMod, SPACE, togglefloating bind = $mainMod, F, fullscreen, bind = $mainMod, T, togglesplit, # dwindle bind = $mainMod SHIFT, R, exec, waypaper --random # Media controls bind = ,XF86AudioNext, exec, playerctl next bind = ,XF86AudioPrev, exec, playerctl previous bind = ,XF86AudioPlay, exec, playerctl play-pause bindl = ,XF86AudioStop, exec, playerctl stop bindl = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bindl = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 2 @DEFAULT_AUDIO_SINK@ 5%+ bindl = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- bind = CONTROL_R ALT_R SHIFT_R, Minus, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle # Close enough to a media control # Move focus with mainMod + h/j/k/l bind = $mainMod, H, movefocus, l bind = $mainMod, J, movefocus, d bind = $mainMod, K, movefocus, u bind = $mainMod, L, movefocus, r # Move windows with mainMod + SHIFT + h/j/k/l bind = $mainMod SHIFT, H, movewindow, l bind = $mainMod SHIFT, J, movewindow, d bind = $mainMod SHIFT, K, movewindow, u bind = $mainMod SHIFT, L, movewindow, r # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, split-workspace, 1 bind = $mainMod, 2, split-workspace, 2 bind = $mainMod, 3, split-workspace, 3 bind = $mainMod, 4, split-workspace, 4 bind = $mainMod, 5, split-workspace, 5 bind = $mainMod, 6, split-workspace, 6 bind = $mainMod, 7, split-workspace, 7 bind = $mainMod, 8, split-workspace, 8 bind = $mainMod, 9, split-workspace, 9 bind = $mainMod, 0, split-workspace, 10 # Move active window to a workspace with mainMod + SHIFT + [0-9] bind = $mainMod SHIFT, 1, split-movetoworkspace, 1 bind = $mainMod SHIFT, 2, split-movetoworkspace, 2 bind = $mainMod SHIFT, 3, split-movetoworkspace, 3 bind = $mainMod SHIFT, 4, split-movetoworkspace, 4 bind = $mainMod SHIFT, 5, split-movetoworkspace, 5 bind = $mainMod SHIFT, 6, split-movetoworkspace, 6 bind = $mainMod SHIFT, 7, split-movetoworkspace, 7 bind = $mainMod SHIFT, 8, split-movetoworkspace, 8 bind = $mainMod SHIFT, 9, split-movetoworkspace, 9 bind = $mainMod SHIFT, 0, split-movetoworkspace, 10 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow Config File: /home/insprill/.config/hypr/catppuccin-mocha.conf: Read Succeeded $rosewaterAlpha = f5e0dc $flamingoAlpha = f2cdcd $pinkAlpha = f5c2e7 $mauveAlpha = cba6f7 $redAlpha = f38ba8 $maroonAlpha = eba0ac $peachAlpha = fab387 $yellowAlpha = f9e2af $greenAlpha = a6e3a1 $tealAlpha = 94e2d5 $skyAlpha = 89dceb $sapphireAlpha = 74c7ec $blueAlpha = 89b4fa $lavenderAlpha = b4befe $textAlpha = cdd6f4 $subtext1Alpha = bac2de $subtext0Alpha = a6adc8 $overlay2Alpha = 9399b2 $overlay1Alpha = 7f849c $overlay0Alpha = 6c7086 $surface2Alpha = 585b70 $surface1Alpha = 45475a $surface0Alpha = 313244 $baseAlpha = 1e1e2e $mantleAlpha = 181825 $crustAlpha = 11111b $rosewater = 0xfff5e0dc $flamingo = 0xfff2cdcd $pink = 0xfff5c2e7 $mauve = 0xffcba6f7 $red = 0xfff38ba8 $maroon = 0xffeba0ac $peach = 0xfffab387 $yellow = 0xfff9e2af $green = 0xffa6e3a1 $teal = 0xff94e2d5 $sky = 0xff89dceb $sapphire = 0xff74c7ec $blue = 0xff89b4fa $lavender = 0xffb4befe $text = 0xffcdd6f4 $subtext1 = 0xffbac2de $subtext0 = 0xffa6adc8 $overlay2 = 0xff9399b2 $overlay1 = 0xff7f849c $overlay0 = 0xff6c7086 $surface2 = 0xff585b70 $surface1 = 0xff45475a $surface0 = 0xff313244 $base = 0xff1e1e2e $mantle = 0xff181825 $crust = 0xff11111b ======Config-End======== ```Description
When playing Minecraft 1.12.2 (vanilla, no mods), if fullscreen is enabled in-game, the cursor won't stay locked to the window. This happens regardless of Hyprlands fullscreen state. After the cursor leaves the window, when you bring it back, it'll stay locked until the game unlocks it again (e.g., when opening your inventory).
This doesn't happen on newer Minecraft versions (tested 1.13 and up) but is reproducible on older ones.
How to reproduce
move window
command, then return to Minecraft and load a world.Crash reports, logs, images, videos
No response