summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* desktopAnimationMgr: don't set fade 0 for members of a fs group (#12091)Vaxry2025-10-223-2/+18
| | | fixes a flash of opacity that shouldnt be there
* plugins: incorporate hyprdep ABI into plugin info (#12001)Vaxry2025-10-213-3/+46
|
* internal: fix cfVaxry2025-10-212-0/+2
|
* xwm: attempt to guess mime in sendData for DnDVaxry2025-10-211-2/+48
|
* monitor: remove spammy trace logVaxry2025-10-211-3/+1
|
* renderer: add more uniforms to the screen shader (#11986)Mozzarella322025-10-2011-25/+215
| | | | | | | | | | | | These are: pointer_shape from the cursor-shape-v1 protocol prepared for v2, along with left_ptr...bottom_right_corner and killing (Hyprland specific) pointer_shape_previous with pointer_switch_time to blend between shapes pointer_size scaled size as used by the normal cursor pointer_pressed_positions[32] with pointer_pressed_times[32] and pointer_pressed_killed(32 bits) for click/touch animations and if they killed something pointer_inactive_timeout with pointer_last_active to smoothly fade the pointer out pointer_hidden to hide it when the cursor is hidden (excluding by cursor:invisible as this config value can be used to turn off the normal cursor, which is useful when drawing it with the screen shader)
* input: fix refocus on grab dismiss (#12014)0rtz2025-10-201-1/+48
|
* dispatchers: add forceidle (#11922)MithicSpirit2025-10-194-14/+55
| | | | | | | | | The forceidle dispatcher resets all ext-idle-notify timers as if the user had been idle for the specified number of seconds. If a notification has already fired, but would now be set with a nonzero delay, then it is reset. Conversely, if a timer has not yet fired, but would now be set to a nonpositive delay, then it is immediately fired. This process ignores any existing inhibitors, but timers are otherwise reset as normal if any new inhibitors are created or destroyed.
* renderer: clean up surface UV size calcs, fix issues (#12070)Vaxry2025-10-192-10/+27
|
* protocols: fix output power protocol not sending mode confirmation (#12072)Bang Lee2025-10-181-6/+1
| | | | Use setDPMS() instead of directly manipulating m_dpmsStatus to ensure the dpmsChanged event fires and protocol clients receive mode change confirmation via sendMode().
* renderer: add 1fv and 2fv uniform support (#12080)Mozzarella322025-10-182-7/+29
|
* timer: constify methods (#12079)Mozzarella322025-10-182-8/+8
|
* config: fix crash when some configurations include non-integer values (#12056)Matteo Golinelli2025-10-161-13/+35
|
* ext-foreign-toplevel: remove stale entries when remapping (#12037)Virt2025-10-151-0/+9
|
* renderer: add cursor:zoom_disable_aa for controlling AA on zoom (#12025)Vaxry2025-10-153-2/+10
|
* renderer: round box in damageBoxVaxry2025-10-151-1/+1
|
* functionHook: fix distance checkVaxry2025-10-141-2/+2
|
* hookSystem: fix anchor point for mmapVaxry2025-10-141-8/+6
|
* windowrules: add modal prop (#12024)Vaxry2025-10-132-0/+10
| | | adds a modal prop for targeting modal windows with rules
* layouts: apply [min|max]size window rules to dwindle & master layouts (#11898)Richard Potter2025-10-135-5/+62
| | | Uses min/max rules in the tiled layouts, akin to pseudotiling
* config: add automatic closing to submaps (#11760)ItsOhen2025-10-115-22/+31
| | | | | | | | | | | | | | | | | | | | | | | * Allow submaps to auto reset to parent. * Really should be a stack instead. If hyprlang would allow for { } i would be so happy. * Fixed: Somewhat better way to do it.. Lets you define what submap you want to go to instead. * squash! Fixed: Somewhat better way to do it.. * God i hate cf.. * Force clang-format on the whole thing.. * Removed {}. * Added tests Tests and reset fix.
* input: add option to rotate device input (#11947)epsilonshmepsilon2025-10-103-0/+13
|
* internal: prevent early exit processes from being zombies (#11995)Nikolai Nechaev2025-10-101-2/+2
| | | | | Prevent `exec`/`exec-once` processes which terminate very early (before Hyprland declares that it does not want to reap zombies) from getting stuck as zombie processes.
* dmabuffer: ensure we only create one texture per buffer (#11990)Tom Englund2025-10-102-3/+7
| | | | | buffer can be recomitted, when moving texture creation from constructor to committime it means same buffer recommit can cause a new texture unless we store it per buffer and return the pointer for it.
* buffer: move texture creation to commit time (#11964)Tom Englund2025-10-0811-45/+53
| | | | | | | | | | | | | * buffer: move texture creation to commit time move creating texture away from buffer attach into commitstate in an attempt to postpone gpu work until its really needed. best case scenario gpu clocks have ramped up before because we are actively doing things causing surface states and a commit to happend meaning less visible lag. * buffer: simplify texture creation make createTexture return a shared ptr directly, remove not needed member variables as m_success and m_texture.
* managers/helpers: add missing includes (#11969)Linux User2025-10-082-0/+2
| | | | | | | | | * managers: include string header Fixes error `implicit instantiation of undefined template 'std::basic_string<char>'` on llvm/musl * helpers: include unistd header Fixes error `use of undeclared identifier 'pipe'` on llvm/musl
* dispatchers: add set, unset and toggle to fullscreen (#11893)Nj0be2025-10-081-13/+26
| | | Add set, unset and toggle to fullscreen
* compositor: make wl_surface::frame follow pending states (#11953)Tom Englund2025-10-075-49/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * compositor: make pending states store frame callbacks move frame callbacks to pending states so they are only committed in the order they came depending on the buffer wait for readyness. * buffer: damage is relative to current commit ensure the damage is only used once, or we are constantly redrawing things on state commits that isnt a buffer. thanks PlasmaPower. * compositor: move callbacks back to compositor move SSurfaceStateFrameCB back to compositor in the class CWLCallbackResource as per request, but still keep the state as owning. * compositor: ensure commits come in order if a buffer is waiting any commits after it might be non buffer commits from the "future" and applying directly. and when the old buffer that was waiting becomes ready it applies its states and overwrites the future changes. move things to scheduleState and add a m_pendingWaiting guard. and schedule the next pending state from the old buffer commit when done. and as such it loops itself and keeps thing orderly.
* hookSystem: use a full trampo setup for hooksVaxry2025-10-072-43/+55
| | | | | | | | instead of planting a longjmp at the fn head, make a shortjmp to a launch trampo this helps with shortjmps that can be in the fn and will break when relocated. They are very unlikely to occur within the first 5 bytes (jmp rel32) but can happen in the first 10 or so (longjmp) fixes csgo-vk-fix on latest main with release building on gcc / clang
* hookSystem: fix anchoring in seekNewPageAddr()Vaxry2025-10-072-7/+9
| | | | otherwise we might miss the chance to get an anchor
* core/compositor: revert make wl_surface::frame follow pending states (#11896)Vaxry2025-10-065-95/+49
| | | | | | | This reverts commit 17e77e0407bebd5d24521012ee1d04b156d6b9f4. Reverted due to severe performance degradation due to accumulating frame callbacks
* systeminfo: log system package versions (#11946)Vaxry2025-10-064-5/+60
|
* keybinds: fix repeat and long press keybinds release (#11863)rfresh22025-10-061-2/+2
|
* core/compositor: make wl_surface::frame follow pending states (#11896)Tom Englund2025-10-065-49/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * compositor: make pending states store frame callbacks move frame callbacks to pending states so they are only committed in the order they came depending on the buffer wait for readyness. * buffer: damage is relative to current commit ensure the damage is only used once, or we are constantly redrawing things on state commits that isnt a buffer. thanks PlasmaPower. * compositor: move callbacks back to compositor move SSurfaceStateFrameCB back to compositor in the class CWLCallbackResource as per request, but still keep the state as owning. * compositor: ensure commits come in order if a buffer is waiting any commits after it might be non buffer commits from the "future" and applying directly. and when the old buffer that was waiting becomes ready it applies its states and overwrites the future changes. move things to scheduleState and add a m_pendingWaiting guard. and schedule the next pending state from the old buffer commit when done. and as such it loops itself and keeps thing orderly.
* debug: fix data race in Debug::log() (#11931)Dave Walker2025-10-052-3/+3
| | | | | | | | | | | | | | | | | | | | | * debug: fix data race in Debug::log() The templated Debug::log() had mutex protection but the non-template overload it calls didn't, causing crashes when plugins called log from background threads (like hypr-dynamic-cursors loading cursor themes). Fixed by moving the mutex lock from the template version into the non-template version, so all writes to shared state are protected. Fixes: hyprwm/Hyprland#11929 Fixes: VirtCode/hypr-dynamic-cursors#99 * debug: apply clang-format to Log.cpp Fix formatting to satisfy CI clang-format check. --------- Co-authored-by: Dave Walker <dave@daviey.com>
* cm: handle inert cm outputs (#11916)UjinT342025-10-042-20/+8
|
* cm: fix primaries to proto scale (#11914)UjinT342025-10-031-9/+11
|
* renderer: add render:non_shader_cm and fixes (#11900)UjinT342025-10-025-8/+31
|
* renderer: fix popup fadeout blur (#11756)Vaxry2025-10-023-13/+22
| | | popups dont get no xray
* renderer: optimize border drawcalls (#11891)Vaxry2025-10-011-22/+18
| | | calculates the specific border region to avoid sampling on regions where the border cannot be at
* config: increase default anr_missed_pings valuevaxerski2025-10-012-2/+2
| | | | ref https://github.com/hyprwm/Hyprland/discussions/11884
* protocols/seat: force down rounding of coords at the surface edge (#11890)Vaxry2025-10-012-2/+27
| | | ref https://github.com/hyprwm/Hyprland/discussions/11665
* protocols/cm: remove unneeded preferred ref (#11877)UjinT342025-10-012-21/+7
|
* rules: fix some monitor rules (#11873)ItsOhen2025-09-292-22/+17
|
* renderer/cm: add more monitor cm options (#11861)UjinT342025-09-293-0/+24
| | | Adds more cm options for monitors: DCIP3, Apple P3, Adobe
* internal: fix clang-tidy "errors" (#11862)UjinT342025-09-2912-25/+25
|
* gestures: fix gesture direction detection (#11852)Vaxry2025-09-292-4/+8
|
* deco: reduce virtual calls in drop shadowTom Englund2025-09-281-10/+12
| | | | | | | | damageEntire() in CHyprdDropShadow is pretty much called per window per frame, instead of all the PWINDOW-> virtual calls, store pos and size once and move the duplicated code to a lambda. reducing it a bit. shows up in profiling as minor waste.
* opengl: move from unordered_set to arrayTom Englund2025-09-282-10/+34
| | | | | | | setCapStatus is a a heavy used function in hot rendering paths, it shows up in profiling as using a bit of cpu just because of unordered_set hashing etc, move to a enum and array and cache only the heavily used ones.
* decoration: reduce virtual callsTom Englund2025-09-285-15/+20
| | | | | | | | this shows up as top contender in idle cpu usage, because decos in animations keeps locking weak pointers to shared pointers per window per frame when its not really needed, use weakpointers all the way and it drops to a bottom contender. marginal gains in the big picture. but gains is gains.