summaryrefslogtreecommitdiff
path: root/src/managers/PointerManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* config/lua: init lua config manager, use lua if available (#13817)Vaxry2026-04-261-19/+20
| | | Adds a new lua config manager, which will automatically be used if there is a lua config present.
* renderer: Various CM fixes, part 8 of refactors (#13860)UjinT342026-04-161-1/+5
| | | Part 8 of Ujin's refactors.
* monitor: centralize solitary and scanout eligibility checksPppp11162026-04-041-1/+1
|
* renderer: refactor part 7: api fixes (#13631)UjinT342026-03-281-7/+5
| | | | | | | Part 7 of ujin's refactors --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
* config: cleanup the entire config infrastructure (#13785)Vaxry2026-03-201-3/+3
| | | | Massively refactors the config infrastructure, sorely needed and will be req'd for the lua stuff
* input: add device specific binds (#13073)ArchSav2026-03-131-2/+2
| | | Adds support for device-specific binds
* renderer: fix crash with nullptr FBs (#13641)UjinT342026-03-091-1/+1
|
* renderer: refactor gl renderer (#13488)UjinT342026-03-071-4/+9
|
* renderer: move m_renderData to renderer (#13474)UjinT342026-03-071-2/+2
|
* renderer: refactor resources and flags (#13471)UjinT342026-03-071-1/+0
|
* renderer: refactor Texture, Framebuffer and Renderbuffer (#13437)UjinT342026-03-061-3/+6
| | | Part 1 of the renderer refactors
* pointer: fix hardware cursor rendering on rotated/flipped monitors (#13574)JaSha2562026-03-051-18/+17
| | | | Replace the broken cairo_matrix_rotate() approach with explicit per-transform pattern matrices for all 8 wl_output_transform values.
* render/cm: add ICC profile pipeline (#12711)Vaxry2026-03-041-1/+1
| | | Adds an ICC profile pipeline, loading via config and applying via 3D LUTs.
* build: fix build on gcc 16.x after #6b2c08d (#13429)LionHeartP2026-02-281-0/+1
|
* pointer: damage entire buffer in begin of rendering hwVaxry2026-02-281-2/+1
| | | | ref #13391
* event: refactor HookSystem into a typed event bus (#13333)Vaxry2026-02-221-9/+7
| | | | | Refactors the old HookSystem into a typed event bus with clear separation, discovery and types.
* protocols: implement image-capture-source-v1 and image-copy-capture-v1 (#11709)Ikalco2026-02-221-0/+15
| | | Implements the new screencopy protocols
* pointermgr: revert "damage only the surface size (#13284)"Vaxry2026-02-221-16/+13
| | | | This reverts commit 13dab66b1de6f6689ccd078adaf51bbeab9c004d.
* pointermgr: damage only the surface size (#13284)Tom Englund2026-02-211-13/+16
| | | | | | | | | | | | | | | | | * pointermgr: damage only the surface size CWaylandOutput returns a vector2d with -1, -1 set as a "no limit", passing that down into beginSimple and the renderer it hits pixman bug of invalid sizes and wrong rectangles gets created. causing bunch of *** BUG *** In pixman_region32_init_rect: Invalid rectangle passed set the damage either to cursor plane size or fallback to 256x256. * pointermgr: dedup if hw cursorsize checks dedup a bit if else casing
* multigpu: fix multi gpu checking (#13277)Tom Englund2026-02-211-1/+2
| | | | | | | | | | | | | | | * multigpu: fix multi gpu checking drmFD() from allocators is not always equal, because we reopen them inside AQ for refcounting, meaning they get duplicated and become their own fds, so checking if fd1 == fd2 ends up wrong. introduce sameGpu in MiscFunctions that checks the actual drmDevice meaning we can now even check if a rendernode is the same gpu as a display node if we want. * multigpu: move sameGpu to DRM namespace move sameGpu out of MiscFunctions to DRM namespace.
* input: fix kinetic scroll (#13233)bea4dev2026-02-101-1/+2
|
* renderer: allow tearing with DS with invisible cursors (#13155)UjinT342026-02-071-2/+9
|
* renderer: fix mouse motion in VRR (#12665)Szwagi2026-01-311-41/+17
|
* pointermgr: remove onRenderBufferDestroy (#13008)Tom Englund2026-01-181-4/+3
| | | | | set the damage to cursor plane size instead of INT16_MAX and remove onRenderbufferDestroy, renderbuffer already have a listener that destroys when buffer is destroyed.
* rules/windowRuleApplicator: fix min/max size effects (#12491)Vaxry2025-12-271-2/+2
| | | fixes #12412
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-22/+22
|
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-1/+1
|
* pointer: apply locked pointer workaround only on xwayland (#12402)Hleb Shauchenka2025-12-041-1/+4
|
* compositor: Configurable behavior when window to be focused conflicts with ↵Nikolai Nechaev2025-11-251-2/+3
| | | | | | | | | | fullscreen (#12033) Renames `misc:new_window_takes_over_fullscreen` into `misc:on_focus_under_fullscreen` and implements the following behavior: - By default, when a tiling window is being focused on a workspace where a fullscreen/maximized window exists, respect the `misc:on_focus_under_fullscreen` config variable.
* input: add per-device scroll-factor (#11241)Vaxry2025-09-021-2/+2
|
* input: Add fully configurable trackpad gestures (#11490)Vaxry2025-08-281-10/+12
| | | Adds configurable trackpad gestures
* syncobj: use rendernode for timelines (#11087)Tom Englund2025-08-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * syncobj: use rendernode for timelines use rendernode for timelines instead of the drmfd, some devices dont support to use the drmfd for this. * opengl: use rendernode if available use rendernode if available for CHyprOpenglImpl * MesaDRM: use the m_drmRenderNodeFD if it exist try use the rendernode we got from AQ if it exist. * linuxdmabuf: use rendernode if available use the rendernode if available already from AQ * syncobj: prefer rendernode over displaynode prefer the rendernode over the displaynode, and log a error if attempting to use the protocol without explicit sync support on any of the nodes. * syncobj: check support on both nodes always check support on both nodes always so it can be used later for preferring rendernode if possible in syncobj protocol. * syncobj: remove old var in non linux if else case remove old m_bDrmSyncobjTimelineSupported from non linux if else case that will fail to compile on non linux. the nodes sets support by default to false, and if non linux it wont check for support and set it to true. * build: bump aq requirement bump to 0.9.3 where rendernode support got added. * flake.lock: update * renderer: glfinish on software renderer software renderers apparently bug out on implicit sync, use glfinish as with nvidia case on implicit paths. * flake.lock: update --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-10/+9
|
* opengl: improve render fn arg clarity (#11286)Vaxry2025-07-311-1/+1
|
* ci: correct tar command for xz compression & fix typos (#11213)xqso2025-07-251-1/+1
|
* renderpass: use unique ptr instead of shared ptrTom Englund2025-07-101-1/+1
| | | | | lets use unique ptrs instead of refcounting shared ptr when its not needed, use rvalue reference to construct in vector directly.
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-119/+53
|
* pass: overload TexPass constructorTom Englund2025-07-071-1/+1
| | | | | overload it with a rvalue to allow us to move the data directly avoiding an extra copy. because SRenderData is not trivially copyable.
* refactor: use std::ranges whenever possible (#10584)Kamikadze2025-05-301-1/+1
|
* cursor: fix screencopy cursor pos and duplicate shape with sw cursors (#10519)Virt2025-05-231-0/+7
| | | | | * cursor: account for hotspot with overridePos * cursor: don't draw cursor on screencopy if using sw anyways
* opengl: optimize shaders and reduce unneeded drawcalls (#10364)Tom Englund2025-05-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | * opengl: remove unnecessery glflush calls glflushing forces the driver to break batching and issue commands prematurely and prevents optimisations like command reordering and merging. many glFunctions already internally glflushes and eglsync creation still has a glflush at end render. so lets reduce the overhead of these calls. * opengl: reduce glUseProgram calls apitrace shows cases where the same program gets called multiple times, add a helper function that keeps track of current program and only call it once on same program. reduces slight overhead. * opengl: use more efficient vertex array object use a more modern vertex array object approach with the shaders, makes it a onetime setup on shader creation instead of once per drawcall, also should make the driver not have to revalidate the vertex format on each call.
* render: refactor class member vars (#10292)davc0n2025-05-051-10/+10
| | | | | * render: refactor class member vars * render: fix clang format
* protocols: refactor class member vars (core) (#10259)davc0n2025-05-031-15/+15
|
* managers: refactor class member vars (#10242)davc0n2025-05-021-105/+105
|
* helpers: refactor class member vars (#10218)davc0n2025-04-301-59/+60
|
* devices: refactor class member vars (#10206)davc0n2025-04-291-42/+42
|
* screencopy: support hw cursors while sharing with cursorVaxry2025-04-281-2/+2
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-251-1/+1
|
* compositor: refactor class member vars (#10141)davc0n2025-04-221-16/+16
|
* time: move to stl's clocks and move timerVaxry2025-04-161-4/+3
|