gnotclub / xst

st fork that uses Xresources and some pretty good patches
MIT License
536 stars 74 forks source link

[PATCH] Add the themed_cursor patch #162

Closed toniz4 closed 7 months ago

toniz4 commented 8 months ago

Currently, xst uses a basic bitmapped mouse cursor coming from XDefineCursor. This makes xst inconsistent with other applications that uses the same cursor configured by Xorg.

themed_cursor fixes this by using libXcursor to load the cursor, this makes it consistent with the rest of the desktop environment. Plus you can also configure the cursor shape to use.

If it's of interest, I can submit a PR. Making it possible to configure the cursor shape via Xresources.

actionless commented 7 months ago

i can't reproduce an issue at first place - when i hover cursor over xst it looks the same as over this field in which i'm typing the reply in Firefox (and also dpi-scaled)

toniz4 commented 7 months ago

Thats weird, could be differences in the X11 configuration. What DE/WM are you using?

Here xterm, xst and st all share the same problem. They use the default X11 cursor, and it's not scaled.

actionless commented 7 months ago

AwesomeWM, but in Openbox it also seems to be ok

toniz4 commented 7 months ago

AwesomeWM, but in Openbox it also seems to be ok

Same here. Closing since it's probably a problem with my X configuration.

actionless commented 7 months ago

i have a symlink ~/.icons/default -> /path/to/my/cursor_theme, without it cursor acts funny under AwesomeWM in many apps, idk though if particularly with xst