diff options
| author | Tom Englund <tomenglund26@gmail.com> | 2024-08-07 13:23:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-07 13:23:00 +0200 |
| commit | 3d82d199f0ec6d8bf6252ed0795b4d883ade84ff (patch) | |
| tree | 8fe4cb387b106afc1aa3f8657fd171f2bca56a33 /src/protocols/XDGShell.cpp | |
| parent | a05da63d853fc750bae29228d924b346243afaec (diff) | |
cursormgr: implement inheriting themes for xcursor (#7197)
* cursormgr: reduce duplicated code
add a few functions such as setCursorBuffer and setAnimationTimer to
reduce duplicated code and also avoid future mishaps of forgetting to
clear buffer or disarm timer. and generally reduce spaghetti even tho
pasta can be delicious.
* xcursormgr: implent inherited themes
implent index.theme parsing and inherited themes.
* cursormgr: ensure a fallback xcursor exist
ensure a xcursor fallback exist otherwise it wont load the proper theme
if we at launch have hyprcursor enabled and then set it to false in
config and reload. also use the env var when using hyprctl setcursor
incase its empty.
Diffstat (limited to 'src/protocols/XDGShell.cpp')
0 files changed, 0 insertions, 0 deletions
