aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-10-27move to monitor pointersmove-to-monitor-pVaxry
2024-10-27internal: optimize cursor move a bit (#8264)Tom Englund
* 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
2024-10-27groups: fix swallowing (#8223)Aqa-Ib
* fix swallowing for groups * remove unnecessary check * clang-format * clarify comment * make variables consistent * make aditional variables consistent
2024-10-26Build with hyprland-session.service (#8251)izmyname
Co-authored-by: Mihai Fufezan <[email protected]>
2024-10-26misc: Fix bad links to wiki (#8240)Damianu
Same as in https://github.com/hyprwm/hyprland-wiki/pull/828
2024-10-26core: fix group members disappearing when you move the group to another ↵Aqa-Ib
monitor (#8237) * fix group members disappearance when you move the group to another monitor * remove repeated action
2024-10-26pointer: add default auto for no_hw_cursorsVaxry
auto defaults to off on nvidia, on for everyone else. Gotta wait until we do fucking drm_dumb and it fucking works
2024-10-26internal: cleanup CMonitor usage and fix a few ref hogsVaxry
ref #8221
2024-10-25example/hyprland-session.service: add support for xdg autostart (#8230)izmyname
2024-10-25security-context: avoid UB in C macro (#8229)Tom Englund
to safely use wl_container_of with a class the class has to be no virtual functions, no inheritance, and uniform access control (e.g all public) work around this by putting this into a destroywrapper struct.
2024-10-24Improve hyprland-session.service (#8225)izmyname
2024-10-24hyprctl: add caps/num lock state for keyboards (#8145)czlabinger
--------- Co-authored-by: Behzad <[email protected]>
2024-10-24internal: Remove some unused lambda captures (#8218)Honkazel
2024-10-23Makefile: fix legacyrendererdebug typo (#8214)Honkazel
2024-10-23updated flake.lockchitoroagad
2024-10-23groups: add group_on_movetoworkspace (#8159)Aqa-Ib
2024-10-22default/config: improve default animationsVaxry
objectively better
2024-10-22hyprpm: Add option to notify on fail and keep original notify (#8167)KAGEYAM4
* Only generate notification on fail Hyprpm fail/pass notification are mutually exclusive. * Add option to notify on fail and keep original notify (#1) * Add option to notify on fail and keep original notify --------- Co-authored-by: KAGEYAM4 <[email protected]> --------- Co-authored-by: littleblack111 <[email protected]>
2024-10-21renderer: fix floating window damage (#8182)Ikalco
2024-10-21input: add snapping to floating windows (#8088)Mike Will
* add snapping to floating windows Works for both moving and resizing of windows. It comes with 3 options: `general:snap:enabled` - whether it's enabled, off by default `general:snap:window_gap` - minimum gap in pixels between windows before snapping. Setting to 0 effectively turns off this method of snapping. `general:snap:monitor_gap` - minimum gap in pixels between window and monitor edges before snapping. Again, setting it to 0 effectively turns it off. * snap: add more ignore criteria and change if clause into a guard * snap: refactor code * snap: new refactoring approach and account for border size * snap: do corner snapping after all edge snapping is done The approach of performing corner snaps after each individual edge snap results in far fewer scenarios where snapping can occur. After trying it out for a while, I found that I prefer an approach that's more prone to snapping. * snap: combine snapWindows and snapMonitor into a single function * snap: add forced aspect ratio functionality * snap: avoid directly referring to border_size config value * snap: address vaxerski feedback - add new line between functions - use std::function typedef for SnapFn and make snap functions static - avoid uninitialized variable declarations. - change ignore condition m_bIsX11 to isX11OverrideRedirect() - use braces for CBox and Vector2D declarations. - add SNAP_INVALID to eSnapEdge enum - use bitshift notation for eSnapEdge and eRectCorner - make performSnap a non-member function. * snap: add corner-snapping to forced aspect ratio mode
2024-10-19monitor: avoid crash on released buffer in surfVaxry
2024-10-19layersurface: fixup brace styleVaxry
2024-10-19layersurface: round geom in arrangeLayerArrayVaxry
fixes #8171
2024-10-19internal: Move CMonitor to SP (#8178)Vaxry
* move monitors to sp * XD
2024-10-19defaultConfig: improve smart gapsVaxry
2024-10-19window: guard PMONITOR in commit listenerVaxry
ref #8170
2024-10-19monitor: modernize/refactor last legacy-handled eventsVaxry
2024-10-19foreign-toplevel-wlr: don't send updates to X11 OR windowsVaxry
2024-10-19foreign-toplevel: don't send updates to X11 OR windowsVaxry
2024-10-19config: fix generateConfig loop (#8164)Maximilian Seidler
* config: fix generateConfig loop * config: cleanup getMainConfigPath
2024-10-17session-lock: reset seat grab on a new session lock (#8147)Maximilian Seidler
2024-10-17windowrules: allow specifying max size in size window rule (#8021)MightyPlaza
* allow specifying max size in size window rule modified: src/events/Windows.cpp * clean up modified: src/events/Windows.cpp
2024-10-17makefile: fix typo (#8127)Behzad
2024-10-16window: properly break cycles in X11TransientForVaxry
ref #8045
2024-10-16hyprpm: Fix crashes due to misplaced fmt argument(s) (#8140)zakk4223
2024-10-16layout: move applyGroupRules() to onWindowCreated() (#8139)Aqa-Ib
2024-10-16output: send enter events on late wl_output bindsVaxry
fixes #6560
2024-10-16[gha] Nix: update inputsvaxerski
2024-10-16layout: enable group rules for new floating windows (#8122)Aqa-Ib
* layout: enable group rules for new floating windows * fix comment * do not apply group rules to a new floating window if it shouldBeFloated. fixes child windows * comment
2024-10-14layout: simplify the conditions to autogroup (#8120)Aqa-Ib
2024-10-14IME: Fixup IME popup candidate windows position when scale is not 1.0 (#8117)fanlumaster(Fany Full)
2024-10-14example: update desktop file to include DesktopNamesdeadacute
2024-10-14drm-lease: fix crashes and implementation (#8116)Ikalco
2024-10-14layout: deny auto-grouping a new floating window into a tiled group (#8108)Aqa-Ib
2024-10-14xwm: avoid infinite parent lookup loop in lookupParentExistsVaxry
ref #8045
2024-10-14config/example: add optional smart gaps to the default configVaxry
ref #8106 #8114
2024-10-13notif-overlay: add a bit of padding for iconsVaxry
2024-10-13hyprland: convert std::cout and std::cerr to std::println()Toni500git
2024-10-13hyprctl: convert std::cout and std::cerr to std::println()Toni500git
2024-10-13hyprpm: convert std::cout and std::cerr to std::println()Toni500git