summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* renderer: minor direct scanout fixes (#7594)Ikalco2024-08-313-4/+23
|
* config: Add a window rule to render while unfocused (#7582)Vaxry2024-08-308-1/+73
|
* presentation-feedback: minor fixupsVaxry2024-08-306-14/+18
|
* keybinds: fixup misused kb stateVaxry2024-08-301-1/+1
| | | | fixes #7369
* xdg-dialog: implement new protocolVaxry2024-08-307-10/+185
|
* keybinds: release mods after sendshortcut (#7581)darkwater2024-08-301-0/+2
|
* window/xwayland: minor property cleanupVaxry2024-08-309-34/+38
| | | | fixes #6921
* xwayland: update overrideRedirect on map and configure (#7575)trianta2024-08-302-1/+15
|
* renderer: better lockscreen dead behavior (#7574)Vaxry2024-08-296-27/+158
| | | | | --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* renderer: fade out windows on silent movesVaxry2024-08-283-6/+29
|
* xwm: don't mark selection events as succeededVaxry2024-08-281-1/+1
| | | | fixes #7401
* window: don't focus on activate if window isn't mapped yetVaxry2024-08-281-0/+5
| | | | ref #7089
* renderer: ensure buffer format on commit (#7556)Ikalco2024-08-282-4/+8
|
* hyprctl: add next and all to switchxkblayoutVaxry2024-08-281-28/+59
| | | | fixes #7555
* data-device: send dndFinished when dnd offer is destroyed while unfinishedVaxry2024-08-284-1/+16
| | | | | | | | fixes #7496 see https://invent.kde.org/plasma/kwin/-/commit/711c5bb43f2823766d5189dc8d567c8f4cec253c see https://bugs.kde.org/show_bug.cgi\?id\=482142
* logs: don't get timezone every time logging (#7550)Ikalco2024-08-281-2/+3
| | | its expensive cause cpp dum
* hyprctl: avoid parsing string::npos on invalid cmd (#7544)Tom Englund2024-08-271-6/+20
| | | | | | | | | | | | * hyprctl: avoid parsing string::npos on invalid cmd invalid lines passed to hyprctl keyword made the string parsing try to parse std::string::npos, avoid that and return an error text instead. * style --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
* build: Fix NO_XWAYLAND compilation (#7538)Nick H2024-08-271-0/+1
|
* Fix missing include needed by clangSerenity Braesch2024-08-261-0/+1
|
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-2675-448/+448
| | | now we roll loops at blazing constified speed.
* misc: fix some minor typos (#7530)Tom Englund2024-08-262-2/+2
| | | | | | | | | | * keybindmgr: fix typo in swap prev seems a suspicious extra ) got added, remove it. * configmgr: dont dereference invalid iterator i think the idea here was to print the key and not the iterator at or past .end()
* core: make most for loops use const references (#7527)Tom Englund2024-08-2631-169/+169
| | | | why not let the compiler optimise things for us at hyprspeeds when we can.
* build: fix 32bit builds (#7510)Tom Englund2024-08-262-6/+10
| | | | | | | ensure the correct type is passed to std::clamp and std::max int64_t is different on 64bit compared to 32bit, also in presentationtime tv_sec is __time_t and on 32bit its a 32bit type so right shift count >= width of type. so only bit shift on 64bit. and avoid potential nullptr deref in the for loops, check for .end() before *it <= endID.
* misc: Rename all instances of "emtpy" to "empty" (#7522)Adithya Ajith2024-08-264-10/+10
|
* sessionLock: fix misc:allow_session_lock_restore (#7511)Maximilian Seidler2024-08-261-7/+0
| | | | | | | | | | * Revert "sessionLock: fix the check for locking a locked session (#6843)" This reverts commit 9ff83f4aa97269bf26381a84501d0b19f1926961. * sessionLock: remove early check for session beeing locked It is checked in the `onNewSessionLock` handler, which also respects the `misc:allow_session_lock_restore` option.
* xwaylandmgr: minor refactor to activateSurfaceVaxry2024-08-261-19/+21
| | | | | | Make it more efficient now that we can + fix possible nullptr deref fixes #7514
* xwayland: deactivate xwayland focus if wayland is focused (#7458)trianta2024-08-252-2/+5
| | | | | * xwayland: deactivate xwayland focus if wayland is focused * xwayland: deactivate last xwayland surface after focusing wayland
* keybinds: refactor dispatchers to be better (#7331)Ikalco2024-08-244-305/+457
|
* config: fix uninitialized values with mode parsingVaxry2024-08-241-2/+2
|
* layersurface: don't unref from monitor until dtorVaxry2024-08-241-6/+6
| | | | reee
* windowrules: add fullscreenstate field (#7466)Sungyoon Cho2024-08-233-23/+61
| | | | | * windowrules: add fullscreenstate field * fix typo
* input: Fix modifier keys getting stuck if depressed during config reload (#7486)MahouShoujoMivutilde2024-08-231-1/+2
| | | | | | | | | | The problem: If `input:numlock_by_default = true`, depressed mods will get stuck on config reload; this takes effect after some other mod is pressed. This restores 0.41.2 behavior, with the exception that selected keyboard layout is preserved. https://github.com/hyprwm/Hyprland/blob/918d8340afd652b011b937d29d5eea0be08467f5/src/managers/input/InputManager.cpp#L993-L1002
* layersurface: remove layer on destroy from monitor (#7457)Tom Englund2024-08-231-0/+6
| | | | | remove destroyed layer weakptrs on destroy, we can hit multiple null ptr derefs in renderering on mirroring and unmirroring displays otherwise.
* screencopy: fixup 10-bit sharing via shm on nvidiavaxerski2024-08-232-2/+2
|
* Fix crash reports having execute permissionRed2024-08-221-1/+1
|
* layersurface: dont rollover on size_t (#7451)Tom Englund2024-08-211-2/+2
| | | unneded rollover on size_t if force equals -1
* animations: add workspace in/out configsvaxerski2024-08-213-4/+20
|
* output: dont cast enum out of range (#7448)Tom Englund2024-08-211-1/+1
| | | | avoid casting non typed enum out of range, looks like WL_OUTPUT_MODE_CURRENT was the intention here.
* core: add option to control which window to focus on close (#7368)ParaN3xus2024-08-213-2/+15
|
* example/config: fix typo in default config (#7446)Ali Atashrooz2024-08-211-3/+3
| | | | | * Update hyprland.conf * Update defaultConfig.hpp
* monitor: avoid dangling references to old monitors being undestroyedvaxerski2024-08-195-33/+19
| | | | ref #7414
* monitors: avoid crash on wayland output removalvaxerski2024-08-191-1/+1
|
* config: add missing header for libc++ after 92744b5b9aa3 (#7403)Jan Beich2024-08-191-0/+1
| | | | | | | In file included from src/pch/pch.hpp:1: In file included from src/Compositor.hpp:11: src/config/ConfigManager.hpp:147:10: error: no template named 'variant' in namespace 'std' 147 | std::variant<SBoolData, SRangeData, SFloatData, SStringData, SColorData, SChoiceData, SGradientData, SVectorData> data; | ~~~~~^
* screencopy: fix 10b format r/b flipvaxerski2024-08-181-0/+4
|
* protocol: fix logm template checksvaxerski2024-08-181-1/+1
|
* screencopy: nuke unused stuffvaxerski2024-08-181-11/+0
|
* compositor: update suspendstate on window move (#7396)Tom Englund2024-08-181-0/+1
| | | | | | hyprctl dispatch -- movetoworkspacesilent x,"^kitty$" where X is the current workspace makes kitty stops updating until current workspace is changed while it is on the screen. update the suspend state after it has been moved.
* renderer: pass custom modelines to aqvaxerski2024-08-181-11/+3
| | | | ref #7390
* linux-dmabuf: allow on split-node systemsvaxerski2024-08-181-2/+1
| | | | ref #7364
* shm: align size to stride (#7383)Tom Englund2024-08-181-1/+1
| | | calculate the size to the stride we got to better align it.