summaryrefslogtreecommitdiff
path: root/src/managers
Commit message (Collapse)AuthorAgeFilesLines
...
* xwayland: Support cross DnD from Wayland (#8708)Vaxry2024-12-152-0/+31
| | | Adds support for drag-and-drop from Wayland clients to XWayland ones
* core/data: Use pointer focus for DnD operations (#8707)Vaxry2024-12-143-6/+17
| | | fixes #7737
* hyprctl: add an inhibitingIdle field to windowsVaxry2024-12-132-13/+42
| | | | fixes #4322
* dispatchers: Add an option to prioritize focus change within groups with ↵normaltaro2024-12-131-0/+16
| | | | | | | | | | | movefocus (#8601) * modified movefocus dispatcher to prioritize focus change within groups * pass clang-format check * `movefocus` cycling groups set optional to config bool `movefocus_cycles_groupfirst` * Update ConfigDescriptions.hpp
* windowrules: add rules for mouse and touchpad scroll factors (#8655)Mike Will2024-12-112-1/+10
|
* config: add 'force' option for 'cursor:warp_on_change_workspace' (#8681)Pavel Belyavsky2024-12-101-2/+2
| | | | | | | * config: add 'force' option for 'cursor:warp_on_change_workspace' * manager: throw the expression into the function arguments * config: fix description of `cursor:warp_on_change_workspace`
* core: Add clang-tidy (#8664)Vaxry2024-12-0718-95/+83
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* core: Add support for hyprqtutils' update screen (#8651)Vaxry2024-12-062-0/+170
| | | | | | | | | * Nix: add hyprland-qtutils to PATH * flake.lock: update --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* internal: fixup some missed updateColorsOk() callsVaxry2024-12-031-0/+2
|
* core: move colorspace handling to oklab (#8635)Vaxry2024-12-034-12/+51
| | | | | | | | | | | * Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* cleanup: remove leftover var in ThreadManager.cpp (#8611)littleblack1112024-11-301-3/+1
|
* core: fix compilation outside stdlibc++Vaxry2024-11-281-2/+2
| | | | fixes #8603
* sessionLock: don't send motion events on every surface commit (#8584)Andre Toerien2024-11-271-1/+1
|
* seat: fix double scrolling in some applications (#8583)Ikalco2024-11-261-2/+4
|
* core: workspace-related function cleanup / refactorVaxry2024-11-225-24/+31
| | | | CCompositor is massive, and has a lot of functions that could be better optimized if in CWorkspace
* keybinds: actually suppress internal keybinds instead of passing them along ↵may2024-11-221-1/+3
| | | | (#8538)
* internal: fix some misused configStringToInt conversionsVaxry2024-11-201-4/+4
| | | | fixes #8523
* internal: minor cleanups for color resultsVaxry2024-11-191-9/+14
|
* miscfunctions: move configStringToInt to std::expectedVaxry2024-11-181-6/+9
|
* keybinds: move to managed pointersVaxry2024-11-182-62/+55
|
* keybinds: allow repeating multiple binds (#8290)MightyPlaza2024-11-182-42/+34
|
* windows/xdg: minor cleanup of min/max size calculationsVaxry2024-11-172-32/+0
| | | | fixes #8495
* renderer: add lockdead_screen_delay (#8467)Alexandre Acebedo2024-11-172-0/+13
|
* workspace: fix missing name via focusworkspaceoncurrentmonitor (#8484)sslater112024-11-161-2/+2
|
* bind: new long press option (#8302)littleblack1112024-11-152-4/+41
| | | | | --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
* protocols: mark primarySelection as not privilegedVaxry2024-11-151-0/+1
| | | | fixes #8479
* xcursors: store themes in a std:set to order it (#8474)Tom Englund2024-11-142-16/+16
| | | | | | | using a unordered_set means its store based on a hash_value meaning currently it can end up loading inherited themes before the actual theme itself depending on the hash of the theme name used, reason for using set at all over vector is to keep unique members and not foreverever looping broken inherit themeing.
* pointer: add drm dumb buffers for cursors (#8399)Vaxry2024-11-141-50/+76
| | | | | --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* keybinds: don't animate fullscreen size/pos changes coming inVaxry2024-11-111-0/+8
| | | | | | when fullscreen, don't animate the pos/size when switching to another fullscreen window, as they can look weird and distracting. Ideally we would do it differently but it's not really possible to do well without reading minds
* pointer: map devices across all outputs by default (#8352)JManch2024-11-112-39/+40
|
* tablet: use inputMgr unified naming schemeVaxry2024-11-091-3/+3
| | | | ref #8301
* input: ignore non-kb ls-es in refocusLastWindowVaxry2024-11-091-2/+8
| | | | ref #8293
* input: cleanup device naming logicVaxry2024-11-092-22/+9
| | | | ref #8301
* input: Refocus window on scrolling if follows mouse (#8361)nickodei2024-11-081-13/+23
|
* shadow: add sharp and refactor optionsVaxry2024-11-051-1/+1
| | | | options moved to decoration:shadow:
* internal: more profiling less calls and local copies (#8300)Tom Englund2024-10-303-19/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * compositor: reduce amount of window box copies mousemoveunified can call this very frequently, the cbox copying actually shows up as an impact in such cases, move it down in the scope and only do it when necessery. * core: constify and reference frequent calls profiling shows these as frequent called functions try to reduce the amount of copies with references and const the variables. * pointermgr: remove not used local copy, const ref remove unneded local copies and const ref cursorsize. * inputmgr: reduce amount of calls to vectortowindow the amount of calls to g_pCompositor->vectorToWindowUnified fast ramps up in cpu usage with enough windows existing and moving the mouse, move the PWINDOWIDEAL up and reuse it if its already the same. * protocol: compositor remove unused local copy remove unused local copy of accumulateCurrentBufferDamage and const previousBuffer. * renderer: reduce scope of variables and refactor move a few variables down in their scopes to reduce the amount of calls and copies when not needed, also add one more for loop in renderWorkspaceWindows and store the windows in a vector with weakpointers that should be rendered, this adds a loop but reduces the amount of repeated calls to shouldRenderWindow and also makes the rest of the loops go over way smaller vector when many windows exist.
* input: revert #8279Vaxry2024-10-301-1/+0
|
* input: simulate mouse movement after scroll to refocus window (#8279)nickodei2024-10-301-0/+1
|
* group: fix moveWindowIntoGroup (#8297)Aqa-Ib2024-10-301-2/+1
|
* hyprctl: move setprop into dispatchers (#8275)MightyPlaza2024-10-282-0/+96
| | | | | | | | | * move setprop into dispatchers modified: src/debug/HyprCtl.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/KeybindManager.hpp * add deprecated modified: src/debug/HyprCtl.cpp
* core: move internal structures to monitor pointers (#8266)Vaxry2024-10-275-25/+24
|
* internal: optimize cursor move a bit (#8264)Tom Englund2024-10-271-22/+13
| | | | | | | | | | | | | | | | | | | | | * window: inline and const getWindowMainSurfaceBox getWindowMainSurfaceBox gets called a lot of times from deep down from mousemoveunified, profiling mousemoveunified it spends quite a lot of cpu time in here, let the compiler optimize the call to getWindowMainSurfaceBox by inlining and making it const. reducing the overhead. * inputmgr: return early and use std::any_of return early in mousemoveunified to reduce the amount of unnecessery calls to various pointers when not needed, also make isconstrained use std::any_of instead of for loop to use the STL optimized paths with hopes and dreams marginally faster. * decoration: return early, reduce temporar copy return earlier and reduce the temp copies by using one .lock instead of two
* pointer: add default auto for no_hw_cursorsVaxry2024-10-261-8/+4
| | | | auto defaults to off on nvidia, on for everyone else. Gotta wait until we do fucking drm_dumb and it fucking works
* internal: cleanup CMonitor usage and fix a few ref hogsVaxry2024-10-262-19/+19
| | | | ref #8221
* internal: Remove some unused lambda captures (#8218)Honkazel2024-10-242-3/+3
|
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-1915-62/+42
| | | | | * move monitors to sp * XD
* session-lock: reset seat grab on a new session lock (#8147)Maximilian Seidler2024-10-171-0/+2
|
* IME: Fixup IME popup candidate windows position when scale is not 1.0 (#8117)fanlumaster(Fany Full)2024-10-141-2/+2
|
* xcursor: don't crash on broken permissions in X themesVaxry2024-10-121-3/+5
| | | | ref #8079
* input: Fix VRR for constrained cursors (#6877)UjinT342024-10-126-10/+67
|