summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* seatmgr: avoid crash on null surfsVaxry2025-03-181-2/+2
|
* renderer: add an option to disable cm and auto-skip cm if not necessaryvaxerski2025-03-184-8/+24
| | | | | | fixes #9641 adds render:cm_enabled default true
* config/defaultConfig.hpp: windowrulev2 -> windowrule (#9663)Kamikadze2025-03-181-12/+9
|
* config: nuke windowrule v1 syntaxVaxry2025-03-182-65/+33
|
* renderer: delete now redundant ifdefs (#9651)Honkazel2025-03-181-4/+0
| | | Hyprland for now requires aquamarine =>0.8.0 anyway
* renderer: only commit hw cursor stuff if needed (#9654)Ikalco2025-03-173-5/+29
|
* monitor: Optimize direct scanout damage (#9653)Lee Bousfield2025-03-171-1/+1
|
* internal: Fix compiler warnings (#9646)Lee Bousfield2025-03-1710-17/+20
|
* managers: Use primary backend for cursor swapchain (#9645)Lee Bousfield2025-03-171-1/+3
|
* groupbar: remove recursive window recalc (#9561)nyx2025-03-171-1/+0
|
* renderer: allow commits when buffer is unchanged but cursor changed (#9648)Ikalco2025-03-171-5/+5
|
* opengl: simplify cm pipelineVaxry2025-03-163-80/+73
| | | | | | fixes a few mistakes, and skips the CM shader in cpu instead of adding a costly branch ref #9641
* splashes: update for 3yaVaxry2025-03-161-1/+1
|
* syncobj: dont crash compositor on protocol errors (#9627)Tom Englund2025-03-151-4/+9
| | | | dont call a member on null pointer if client misbehaves. as in the weak pointer being expired.
* renderer: fix window offset for dragged windows (#9629)Blackilykat2025-03-151-1/+1
|
* input: Fix clicking through groupbar tabs (#9606)phonetic1122025-03-151-1/+2
|
* renderer: don't crash if cm fails to compileVaxry2025-03-142-45/+51
|
* protocols: fix includeVaxry2025-03-142-2/+2
|
* descriptions: remove allow_early_buffer_releaseVaxry2025-03-141-6/+0
|
* syncobj: use eventfd instead of stalling fd checks (#9437)Tom Englund2025-03-1427-273/+417
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * syncobj: cleanup and use uniqueptrs cleanup a bit missing removals if resource not good, erasing from containers etc. make use of unique ptrs instead. and add default destructors. * syncobj: rework syncobj entirerly remove early buffer release that was breaking explicit sync, the buffer needs to exist until the surface commit event has been emitted and draw calls added egl sync points, move to eventfd signaling instead of stalling sync point checks, and recommit pending commits if waiting on a signal. add a CDRMSyncPointState helper class. move a few weak pointers to shared pointers so they dont destruct before we need to use them. * syncobj: queue pending states for eventfd eventfd requires us to queue pending stats until ready and then apply to current, and also when no ready state exist commit the client commit on the current existing buffer, if there is one. * syncobj: clear current buffer damage clear current buffer damage on current buffer commits. * syncobj: cleanup code and fix hyprlock remove unused code, and ensure we dont commit a empty texture causing locksession protocol and gtk4-layer-shell misbehaving. * syncobj: ensure buffers are cleaned up ensure the containers having the various buffers actually gets cleaned up from their containers, incase the CSignal isnt signaled because of expired smart pointers or just wrong order destruction because mishaps. also move the acquire/point setting to buffer attaching. instead of on precommit. * syncobj: remove unused code, optimize remove unused code and merge sync fds if fence is valid, remove manual directscanout buffer dropping that signals release point on pageflip, it can cause us to signal the release point while still keeping the current buffer and rendering it yet again causing wrong things. * syncobj: delay buffer release on non syncobj delay buffer releases on non syncobj surfaces until next commit, and check on async buffers if syncobj and drop and signal the release point on backend buffer release. * syncobj: ensure we follow protocol ensure we follow protocol by replacing acquire/release points if they arrive late and replace already existing ones. also remove unneded brackets, and dont try to manual lock/release buffers when it comes to explicit protocol. it doesnt care about buffer releases only about acquire and release points and signaling them. * syncobj: lets not complicate things set points in precommit, before checking protocol errors and we catch any pending acquire/release points arriving late. * syncobj: move SSurfaceState to types remove destructor resource destroying, let resources destroys them on their events, and move SSurfaceStates to types/SurfaceState.hpp * syncobj: actually store the merged fd have to actually store the mergedfd to use it. * syncobj: cleanup a bit around fences ensure the current asynchronous buffer is actually released on pageflip not the previous. cleanup a bit FD handling in commitPendingAndDoExplicitSync, and reuse the in fence when syncing surfaces. * syncobjs: ensure fence FD doesnt leak calling resetexplicitfence without properly ensuring the FD is closed before will leak it, store it per monitor and let it close itself with the CFileDescriptor class. * syncobj: ensure buffers are actually released buffers were never being sent released properly. * types: Defer buffer sync releaser until unlock * syncobj: store directscanout fence in monitor ensure the infence fd survives the scope of attemptdirectscanout so it doesnt close before it should have. * syncobj: check if if acquire is expired we might hit a race to finish on exit where the timeline just has destructed but the buffer waiter is still pending. and such we removeAllWaiters null dereferences. * syncobj: code style changes remove quack comment, change to m_foo and use a std::vector and weakpointer in the waiter for removal instead of a std::list. * syncobj: remove unused async buffer drop remove unused async buffer drop, only related to directscanout and is handled elsewhere. --------- Co-authored-by: Lee Bousfield <ljbousfield@gmail.com>
* renderer: add simple color management (#9506)UjinT342025-03-1414-187/+831
| | | Adds proper color management and transformations for CM surfaces.
* groupbar: add an option to adjust gap sizes (#9578)phonetic1122025-03-123-24/+44
|
* windows: respect noinitialfocus with workspace changes (#9586)nyx2025-03-111-1/+1
| | | | | If a window is specifically placed on another workspace then we should not "focus" that workspace even if the window itself never gets focused when noinitialfocus is enabled for the window.
* groupbar: pass alpha to title tex render passVaxry2025-03-111-0/+1
| | | | ref #9598
* input: fix touch calibration matrix overridingKhalid J.2025-03-112-8/+12
| | | | | make the default behavior non-overriding to avoid overriding user-set values elswehere.
* core: update decorations on lockgroups (#9573)MightyPlaza2025-03-101-0/+1
| | | modified: src/managers/KeybindManager.cpp
* renderer: skip ds commits if buffer didn't change (#9556)Ikalco2025-03-085-61/+54
| | | | this fixes direct scanout glitches by ensuring that attemptDirectScanout doesn't try to recommit the same buffer to AQ which would cause a pageflip event and the backendRelease to release the same buffer too early
* core: prevent crash when monitor list is empty (#9572)nyx2025-03-081-0/+5
|
* windowrules: store floating size on close instead of resize (#9569)nyx2025-03-082-5/+7
|
* windowrules: add option to allow size persistence between app launches (#9422)nyx2025-03-087-16/+79
|
* protocols: Fix blocked color management get_information (#9563)Lee Bousfield2025-03-074-8/+8
|
* keybinds): prevent crash when executing movewindoworgroup (#9551)nyx2025-03-061-1/+1
|
* touch: reject swipe on locked sessionsVaxry2025-03-061-1/+1
| | | | fixes #9542
* master: add option to keep master window position (#9537)nyx2025-03-063-2/+23
|
* input: fixup mouse check for flipping x / y (#9529)nyx2025-03-063-8/+16
|
* protocols: Fix cursor shape protocol valid shape check (#9547)Lee Bousfield2025-03-061-1/+1
|
* socket2: add activespecialv2 (#9530)Matt White2025-03-051-0/+3
|
* input: add flip_x and flip_y for touchpad (#9481)nyx2025-03-037-8/+50
|
* protocols: Ensure protocol dtors are called in ProtocolManager dtor (#9521)Ikalco2025-03-031-0/+10
|
* core: fix clang-formatVaxry2025-03-021-2/+2
|
* core: cleanup some smart pointer usageVaxry2025-03-023-15/+14
|
* core: add default initializers for ccompositor ptrsVaxry2025-03-021-2/+2
|
* core: cleanup window propertiesVaxry2025-03-025-75/+78
| | | | they don't need to be in CConfigManager, and belong to window instead
* core: ignore internal move workspace calls if the workspace doesn't change ↵phonetic1122025-03-011-0/+3
| | | | (#9516)
* monitor: avoid crash on expired special workspace monitor ownerVaxry2025-03-011-5/+5
| | | | fixes #9477
* input: Provide a non-zero time for button release triggered during window ↵Indy Ray2025-03-011-1/+4
| | | | | unmap. (#9513) It doesn't seem that this is actually required, but it seems more consistant with other areas, such as in CVirtualKeyboardV1Resource::releasePressed.
* protocols: Fix IWaylandProtocol onDisplayDestroy m_pGlobal double-free (#9507)Lee Bousfield2025-02-281-2/+6
|
* core: Add null activeWorkspace check in moveWorkspaceToMonitor (#9503)Lee Bousfield2025-02-281-1/+2
|
* internal: fix include paths (#9500)Tuur Vanhoutte2025-02-274-7/+7
| | | | | * Fix include path in Monitor.hpp * fix more includes
* protocols: fix relative includeVaxry2025-02-261-2/+2
|