-
-
Notifications
You must be signed in to change notification settings - Fork 931
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
[hidpi] [XWAYLAND] XWayland mouse is tiny when on the edge of a window despite XCURSOR_SIZE env var #1311
Comments
that's happening to me as well and seems to have just sprung up randomly, interestingly only on my laptop and not desktop. Can you try bisecting? (I assume you tested sway-git) Edit: actually just tested and it's not happening on my laptop either. odd. |
It's happened for as long as I remember with the hidpi patches. I don't know of any good commits. |
same issue, and some XWayland applications(Microsoft Edge, VSCode and IntelliJ IDEA) have smaller cursor size. I installed hyprland-hidpi-xprop-git, and then set monitor scale as 2. Maybe it's a problem with the aur package, I need to troubleshoot. |
can't repro any. |
I found default Is there a way to automatically unset the variable after hyprland starts, I tried to execute in hyprland.conf, but it has no effect. This is same issue on wayfire, I believe it is a bug of Xwayland. |
The small cursor only happens on tiled windows. Are you testing with a similar setup as me? |
I see. I set However, I need A tiny cursor on the edge of a window has always existed. |
I was able to fix it by running |
Could you tell me about how to make fcitx5 display the normal size in XWayland applications? By the way, have you solved the tiny cursor problem? |
create a .Xresource with `Xft.dpi: 192` in home path, and then execute xrdb -merge ~/.Xresources.
maybe you need remove gdk_scala variable. btw qt application has a larger cursor than gtk. before launching it, reset xcursor_size variable.
…---Original---
From: ***@***.***>
Date: Fri, Mar 24, 2023 17:20 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [hyprwm/Hyprland] [hidpi] [XWAYLAND] XWayland mouse is tiny whenon the edge of a window despite XCURSOR_SIZE env var (Issue #1311)
I see. I set Xft.dpi=192. After I remove it, I got a normal cursor size.
However, I need Xft.dpi, because fcitx5 depends on it in XWayland applications.
A tiny cursor on the edge of a window has always existed.
Could you tell me about how to make fcitx5 display the normal size in XWayland applications? By the way, have you solved the tiny cursor problem?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
currently, QT wayland application doesnot get wayland cursor size but reads xcursor_size variable. it needs to unset the variable. i have add it to launcher command.
Gtk application
export XCURSOR_SIZE=48 and execute gsettings set org.gnome.desktop.interface cursor-size 48
…---Original---
From: ***@***.***>
Date: Fri, Mar 24, 2023 17:20 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [hyprwm/Hyprland] [hidpi] [XWAYLAND] XWayland mouse is tiny whenon the edge of a window despite XCURSOR_SIZE env var (Issue #1311)
I see. I set Xft.dpi=192. After I remove it, I got a normal cursor size.
However, I need Xft.dpi, because fcitx5 depends on it in XWayland applications.
A tiny cursor on the edge of a window has always existed.
Could you tell me about how to make fcitx5 display the normal size in XWayland applications? By the way, have you solved the tiny cursor problem?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Thanks, it works. |
I had the same issue, cursor got small i.e 24px when using QT applications or on desktop. I wanted it to be 32px as in GTK applications I set it to 32px. |
I'm using the XWayland hidpi patches, and have to export
XCURSOR_SIZE=48
to get a normal-sized cursor when over an XWayland app. However, if I move the cursor to the edge of a window, it becomes tiny yet again as if the variable were not exported. This does not occur in Sway with the same patches.2023-01-02.12-13-05.mp4
The text was updated successfully, but these errors were encountered: