summaryrefslogtreecommitdiff
path: root/src/managers/CursorManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-2/+2
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* core: free more memory on destruction (#6348)Tom Englund2024-06-061-0/+3
| | | | | | | | | | | | | | | | | | * pointermgr: add destructor to state and free buf if the pointer has a buffer set it wont be freed upon destruction, make asan more happy by adding a destructor and wlr_buf_unlock it on exit. * cursormgr: free the animation timer event source properly free the animation timer event source on destruction. * compositor: free the critsig event source on exit properly free the critical signal event source on exit. * popup: clang format style clang format.
* hyprctl: Make setcursor better (support XCursor themes, give fail message) ↵Ikalco2024-05-281-9/+45
| | | | | | | | | (#6097) * add support for changing to X cursor themes * use new hyprcursor abi for options * remove unneeded struct
* xwayland: move to hyprland impl (#6086)Vaxry2024-05-251-5/+6
|
* config: move various cursor-related vars to cursor:Vaxry2024-05-091-1/+1
|
* cursor: move to a hyprland implVaxry2024-05-091-17/+58
| | | | | | | This moves wlr_cursor to a completely new impl mostly under CPointerManager Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)
* internal: fix a few asan reported leaks on exit of hyprland (#5852)Tom Englund2024-05-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | * notifications: free cairo images on destruction asan reports a leak on exit if we dont free the image we created in the draw function. add a destructor and free images on exit. * compositor: destroy wlroots types on exit there are a few types not being destroyed on exit and causing a leak on exit in wlroots reported by asan, add those. * cursormgr: ensure we destroy cursor mgr on exit add a destructor and call wlr_xcursor_manager_destroy on the manager on destruction, leak reported by asan. * keybindmgr: free state and keymap add missing keymap_unref on creation, and add a destructor and free the state on exit. leak reported by asan. * skeyboard: add destructor and free state free the state on destruction of keyboard, reported as leak by asan
* cursor-shape: use - instead of _ in shapesVaxry2024-05-021-3/+3
| | | | ref #5824
* cursormgr: attempt using - instead of _ for failed cursors before fallbackVaxry2024-05-021-0/+8
| | | | web uses -, and thus some themes might use - too. Attempt replacing _ with - before assuming a shape is missing.
* cursormgr: fix misscaled cursors on fractionalVaxry2024-04-241-2/+4
|
* HookSystem: improve callback safetyVaxry2024-04-201-1/+1
|
* cursor: add hyprcursor loggersVaxry2024-04-151-2/+9
|
* cursor: Fallback to xcursor if failed to render hyprcursor (#5534)SoSeDiK2024-04-101-0/+1
|
* cursormgr: don't set x theme in changeThemeVaxry2024-03-241-3/+0
|
* cursormgr: log theme loading failuresVaxry2024-03-241-0/+6
|
* cursormgr: scale hotspot with bufferVaxry2024-03-171-4/+4
|
* cursormgr: use XCURSOR_THEME for x themesVaxry2024-03-111-1/+1
|
* cursormgr: fix invalid access to hyprcursor in xwayland initVaxry2024-03-091-0/+16
| | | | fixes #5048
* cursormgr: fix memory leak with cursor buffersVaxry2024-03-091-1/+4
|
* cursormgr: add fallbacks for unknown cursorsVaxry2024-03-091-2/+14
|
* internal: Support libhyprcursor (#5009)Vaxry2024-03-091-0/+200
woo --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>