nix-community / nixGL

A wrapper tool for nix OpenGL application [maintainer=@guibou]
628 stars 76 forks source link

Odd mouse pointer sizing in nixGL applications #168

Open RicSanOP opened 3 months ago

RicSanOP commented 3 months ago

I am running home-manager with nixGL wrappers (as described in #114) on my Pop_OS setup (its running on an Nvidia based laptop). One odd behavior that i have noticed is that when running nixGL wrapped applications, the mouse pointer does not scale to the displays size factor. To elaborate, say I am running an electron app or alacritty which is wrapped with nixGL. The running application will be properly scaled to the entire desktops size factor (for example 2x), however whenever the mouse hovers over the application, it will shrink back to its 1x scale factor size until taken out of the application's window. Therefore, this problem technically disappears if the size factor is 1x. Does anyone have any ideas as to why this happens, or potentially knows how to fix this in home-manager? Any help is deeply appreciated.