summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* pointer: add default auto for no_hw_cursorsVaxry2024-10-264-11/+21
| | | | 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-2630-118/+116
| | | | ref #8221
* security-context: avoid UB in C macro (#8229)Tom Englund2024-10-252-7/+17
| | | | | | | 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.
* hyprctl: add caps/num lock state for keyboards (#8145)czlabinger2024-10-241-4/+17
| | | | | --------- Co-authored-by: Behzad <behzadasbahi@gmail.com>
* internal: Remove some unused lambda captures (#8218)Honkazel2024-10-245-7/+7
|
* groups: add group_on_movetoworkspace (#8159)Aqa-Ib2024-10-234-13/+48
|
* default/config: improve default animationsVaxry2024-10-221-9/+23
| | | | objectively better
* renderer: fix floating window damage (#8182)Ikalco2024-10-211-2/+2
|
* input: add snapping to floating windows (#8088)Mike Will2024-10-214-9/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* monitor: avoid crash on released buffer in surfVaxry2024-10-191-1/+1
|
* layersurface: fixup brace styleVaxry2024-10-191-22/+22
|
* layersurface: round geom in arrangeLayerArrayVaxry2024-10-191-1/+3
| | | | fixes #8171
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-1966-447/+425
| | | | | * move monitors to sp * XD
* defaultConfig: improve smart gapsVaxry2024-10-191-4/+10
|
* window: guard PMONITOR in commit listenerVaxry2024-10-191-1/+3
| | | | ref #8170
* monitor: modernize/refactor last legacy-handled eventsVaxry2024-10-195-116/+74
|
* foreign-toplevel-wlr: don't send updates to X11 OR windowsVaxry2024-10-192-1/+26
|
* foreign-toplevel: don't send updates to X11 OR windowsVaxry2024-10-192-5/+25
|
* config: fix generateConfig loop (#8164)Maximilian Seidler2024-10-191-8/+7
| | | | | * config: fix generateConfig loop * config: cleanup getMainConfigPath
* session-lock: reset seat grab on a new session lock (#8147)Maximilian Seidler2024-10-171-0/+2
|
* windowrules: allow specifying max size in size window rule (#8021)MightyPlaza2024-10-171-13/+27
| | | | | | | * allow specifying max size in size window rule modified: src/events/Windows.cpp * clean up modified: src/events/Windows.cpp
* window: properly break cycles in X11TransientForVaxry2024-10-161-4/+10
| | | | ref #8045
* layout: move applyGroupRules() to onWindowCreated() (#8139)Aqa-Ib2024-10-164-10/+4
|
* output: send enter events on late wl_output bindsVaxry2024-10-163-0/+29
| | | | fixes #6560
* layout: enable group rules for new floating windows (#8122)Aqa-Ib2024-10-161-1/+3
| | | | | | | | | | * 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
* layout: simplify the conditions to autogroup (#8120)Aqa-Ib2024-10-141-5/+3
|
* IME: Fixup IME popup candidate windows position when scale is not 1.0 (#8117)fanlumaster(Fany Full)2024-10-141-2/+2
|
* drm-lease: fix crashes and implementation (#8116)Ikalco2024-10-142-9/+22
|
* layout: deny auto-grouping a new floating window into a tiled group (#8108)Aqa-Ib2024-10-141-6/+11
|
* xwm: avoid infinite parent lookup loop in lookupParentExistsVaxry2024-10-141-0/+7
| | | | ref #8045
* config/example: add optional smart gaps to the default configVaxry2024-10-141-0/+7
| | | | ref #8106 #8114
* notif-overlay: add a bit of padding for iconsVaxry2024-10-131-1/+1
|
* hyprland: convert std::cout and std::cerr to std::println()Toni500git2024-10-133-32/+37
|
* drm-syncobj: fix crash on missing timelinesVaxry2024-10-121-0/+3
| | | | fixes #8092
* 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-1212-17/+100
|
* drm-timeline: Add check for conflicting acquire and release points (#8083)Edgars Cīrulis2024-10-121-2/+7
| | | Signed-off-by: Edgars Cirulis <edgarsciruliss@gmail.com>
* internal: improve version query and define HYPRLAND_VERSION (#8034)Toni500github2024-10-113-38/+22
|
* xwayland: minor cleanups and fixes (#8076)Jasson2024-10-111-55/+55
|
* config/layout: nuke no_gaps_when_only (#8072)Vaxry2024-10-115-66/+9
|
* gammactrl: guard pMonitor in setGammaVaxry2024-10-091-0/+7
|
* layout: add merge_floated_into_tiled_on_groupbar (#8042)Aqa-Ib2024-10-093-3/+16
|
* hyprerror: fix height calc with bottom bar (#8043)JManch2024-10-091-1/+1
|
* output: update state even if no owner exists (#8044)trianta2024-10-091-1/+1
|
* output/xdg-output: avoid sending events to released globalsVaxry2024-10-093-2/+9
| | | | ref #6835
* keyboard: update group state on change for the sym resolve stateVaxry2024-10-081-0/+3
| | | | fixes #8038
* renderer: reserve space for error at the bottom if that's setVaxry2024-10-081-5/+12
| | | | ref #8040
* hyprerror: make hyprerror reserve space (#8040)Vaxry2024-10-083-4/+45
|
* defaultConfig: add a nofocus rule for weird X windowsVaxry2024-10-081-1/+5
| | | | ref #6543
* layout: remove unnecessary check after 45e8219 (#8037)Aqa-Ib2024-10-081-6/+6
|