Hyprland: Wrong scaling when scaling > 1

Hyprland Version

Hyprland, built from branch main at commit c416880cf96aee783b6a00f356512e5d758e6056 dirty (shadow: correctly scale boxes). Date: Fri Dec 22 10:54:31 2023 Tag: v0.32.3-200-gc416880c flags: (if any) debug debug

Bug or Regression?

Regression

Description

hyprctl monitors shows wrong scaling when using fractional scaling Furthermore, the cursor cannot reach the right and bottom edges of the screen git bisect says https://github.com/hyprwm/Hyprland/commit/37d2840246af43a7141e2a036820fc3dec468f01

How to reproduce

  1. Set scaling to 1.15
  2. Somehow on my monitor hyprctl monitors shows scaling as 1.11 instead
  3. Try moving cursor to the right or bottom edge of screen. The cursor is blocked by an invisible wall and can’t reach the edge

Crash reports, logs, images, videos

No response

About this issue

  • Original URL
  • State: closed
  • Created 6 months ago
  • Comments: 51 (43 by maintainers)

Commits related to this issue

Most upvoted comments

But tbh, I can live with that config option and just use that in the future. I just feel like there should still be a better way to handle this cause it was working so perfectly before except that 1 pixel weird behavior sometimes

The above commit fixed the issue, thanks!