aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-08-15[gha] Nix: update inputsvaxerski
2024-08-15xcursor: handle file errors when loading xcursor themes (#7326)Ikalco
2024-08-14logs: Add file path to asset ERR log (#7336)davc0n
2024-08-13decorations: fix manual resize not recalculating decos (#7323)MightyPlaza
modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp
2024-08-13hyprpm, hyprctl: remove MakefilesMihai Fufezan
2024-08-13README: Change image sources from vaxerski/Hyprland to hyprwm/Hyprland (#7315)Patrick Ulbricht
* readme: Change image sources from vaxerski/Hyprland to hyprwm/Hyprland * readme: Remove unused image
2024-08-13cursormgr: fix cursor gsettings on session change (#7295)Ikalco
2024-08-12protocols: avoid crashing in drmlease (#7290)Tom Englund
instead of potentially causing wonky behaviour from destructing in the constructor add the unique_ptr reset to doLater and dont use the not done constructed protolog in the constructor, call Debug::log directly. see issue #7240
2024-08-12keybinds: Fix fullscreenState toggling behaviour (#7288)Kyle
* Update fullscreen state dispatcher behaviour * Change syncFullscreen default to false * Revert all changes * Modify fullscreenstate dispatcher toggle behaviour * Update syncFullscreen according to state * Update syncFullscreen before setting fullscreen state
2024-08-12core: fix data race and a unsigned int rollover (#7278)Tom Englund
* keybindmgr: avoid uint rollover on mouse keycode mouse keycode is 0, and the switch case checks for 0 - 8 and rolls over, just return early if keycode is 0. * watchdog: avoid data races in watchdog asan thread sanitizer reported data races in the watchdog from reading and setting the bool variables make them std::atomic bools. also add a atomic bool for the main thread to wait for to avoid data race when reading the config values. * hyprdebug: change non unicode character to name asan created false positives and didnt like this bit, so for the sake of easier debugging rename it to something unicode.
2024-08-12config: fix explicit sync option warning (#7293)Ikalco
2024-08-12flake.lock: updateMihai Fufezan
2024-08-11install: Prepend ${DESTDIR} when creating hyprland symbolic link (fixes ↵Yang, Ying-chao
#7280). (#7281)
2024-08-11pointermgr: fix initial cursorwarp (#7286)Tom Englund
change the hook to monitorAdded instead of newMonitor so its finalized in the compositor and added to vMonitors, move the checkDefaultCursorWarp to PointerManager and check for it upon mode change. and also ensure it doesnt go out of bounds by replacing it in the middle again on resolution changes.
2024-08-10cursor: make inactive_timeout setting a float (#7268)Walt Bringenberg
2024-08-10core: Include cstring whenever strncpy is used (#7267)Zach DeCook
Fixes ppc64le build in alpine
2024-08-10eventloop: don't dispatch in enterLoopVaxry
ref #6842, BSD blocks in udev on no event apparently
2024-08-09cursormgr: add a new setting to sync gsettings (#7253)Tom Englund
cursor:sync_gsettings_theme is set to default true and if enabled it will now sync xcursor theme loading with gsettings if it can, meaning CSD clients will now also change to the appropiate theme upon start and hyprctl setcursor THEME SIZE .
2024-08-09headers: set correct paths to header files (#7245)Mathis H.
2024-08-08internal: introduce new types to avoid unsigned int rollover and signed int ↵Tom Englund
overflow (#7216) * framebuffer: avoid gluint overflow GLuint was being initialized to -1 and rolling over to unsigned int max, its defined behaviour but very unnecessery. add a bool and use it for checking if allocated or not. * opengl: avoid gluint rollover -1 rolls over to unsigned int max, use 0xFF instead. * core: big uint64_t to int type conversion there were a few uint64_t to int implicit conversions overflowing int and causing UB, make all monitor/workspaces/windows use the new typedefs. also fix the various related 64 to 32 implicit conversions going around found with -Wshorten-64-to-32
2024-08-08core: Move to C++26 and use native_handle to CLOEXEC the debug fd (#7219)Vaxry
Requires GCC >= 14 / Clang >= 18 --------- Co-authored-by: Mihai Fufezan <[email protected]>
2024-08-07props: bump version to 0.42.0v0.42.0Vaxry
2024-08-07renderer: fixup nvidia driver version checksVaxry
2024-08-07wayland/compositor: introduce client commit eventsVaxry
2024-08-07cursormgr: avoid scanning ill formed inherit (#7211)Tom Englund
avoid adding ill formed Inherit lines to inherit vector and later scanning them, it wont change anything in practice but makes the inherit theme parsing more in line with what its supposed todo. also check for return values of the various string functions so we dont end up erasing the wrong thing.
2024-08-07compositor: fix general:extend_border_grab_area (#7214)Agent00Ming
Co-authored-by: Agent_00Ming <[email protected]>
2024-08-07hyprctl: link to much less libraries (#7212)Sami Liedes
This makes hyprctl start significantly faster. $ time for ((i=0; i<1000; i++)); do hyprctl/hyprctl -j activewindow >/dev/null; done Before: 12.269 s (about 12.3 ms/execution) After: 2.142 s (about 2.1 ms/execution)
2024-08-07drm-syncobj: fixup fd leak with timelinesVaxry
2024-08-07compositor: minor cleanups for fading out layersVaxry
2024-08-07renderer: guard layer in renderLayerVaxry
ref #7181
2024-08-07xdg-shell: make xdg-positioner flip target greatest available space (#7209)outfoxxed
When both flip directions use more space than is available, pick the direction that has more space available instead of just the opposite of what was initially requested.
2024-08-07cursormgr: implement inheriting themes for xcursor (#7197)Tom Englund
* cursormgr: reduce duplicated code add a few functions such as setCursorBuffer and setAnimationTimer to reduce duplicated code and also avoid future mishaps of forgetting to clear buffer or disarm timer. and generally reduce spaghetti even tho pasta can be delicious. * xcursormgr: implent inherited themes implent index.theme parsing and inherited themes. * cursormgr: ensure a fallback xcursor exist ensure a xcursor fallback exist otherwise it wont load the proper theme if we at launch have hyprcursor enabled and then set it to false in config and reload. also use the env var when using hyprctl setcursor incase its empty.
2024-08-07keybinds: fix NoSymbol keybinds (#7199)Ikalco
2024-08-07debug: dont manually unlock the lock_guard (#7210)Tom Englund
when lock_guard goes out of scope it RAII itself and calls unlock. causes crashes on freebsd/libc++ and double unlocking a mutex is UB.
2024-08-07input: fix leds on kb creation (#7206)Ikalco
2024-08-06wayland/compositor: drop pending buffer ref if synchronousVaxry
fixes https://github.com/hyprwm/hyprpicker/issues/85
2024-08-06renderer: fixup crashes on inaccessible files for bgVaxry
2024-08-06renderer: Explicit sync fixes (#7151)Vaxry
Enables explicit sync by default for most platforms `misc:no_direct_scanout` -> `render:direct_scanout`
2024-08-05cursor: Better xcursor implementation (#7178)Tom Englund
* xcursor: bootleg xcursors into its own manager implent XCursorManager and load themes based on librarypath and its dir, now we catch all supplied theme files. and also implent animated cursors. also refactor a bit of spaghetti regarding xcursors in CursorManager. * hyprcursor: fix buffer leak animated cursors are creating a new buffer for each image, ensure we drop the buffers so it continously doesnt build up in infinity. * cursormgr: use eventloopmgr for animation use EvenloopManager for timers instead of adding it directly to m_sWLEventLoop and using its related wl_* functions.
2024-08-04keybinds: improve fullscreenstate toggling (#7174)MightyPlaza
modified: src/managers/KeybindManager.cpp
2024-08-04CMake, Meson: install config and wallpapers to DATADIR/hyprMihai Fufezan
OpenGL: get wallpapers dir from DATAROOTDIR
2024-08-04CMake: Suppress CMake warning about GNUInstallDirsMaroonSkull
2024-08-03decorations: fix infinite recursion on no_gaps when only (#7169)MightyPlaza
modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp
2024-08-03wayland/surface: fixup self-owning surface rolesVaxry
fixes #7133
2024-08-03core: Add missing header for libc++ after e989a0bcffac (#7158)Jan Beich
src/Compositor.cpp:2295:74: error: no member named 'bit_floor' in namespace 'std' 2295 | const eFullscreenMode CURRENT_EFFECTIVE_MODE = (eFullscreenMode)std::bit_floor((uint8_t)PWINDOW->m_sFullscreenState.internal); | ~~~~~^ src/Compositor.cpp:2296:74: error: no member named 'bit_floor' in namespace 'std' 2296 | const eFullscreenMode EFFECTIVE_MODE = (eFullscreenMode)std::bit_floor((uint8_t)state.internal); | ~~~~~^ src/desktop/Window.cpp:1242:34: error: no member named 'bit_floor' in namespace 'std' 1242 | return (eFullscreenMode)std::bit_floor((uint8_t)m_sFullscreenState.internal) == MODE; | ~~~~~^
2024-08-02xcursor: rework bootleg xcursor (#7140)Tom Englund
there were a bunch of missing cursors, rework the shape loading add a function to get legacyname from new wayland names. also bootleg add a cursor if no theme can be found and no shape. to atleast show something.
2024-08-02hyprctl: increase hyprctl timeout to 5s to fix #6801 (#7152)Tuur Vanhoutte
2024-08-02hyprerror: minor stylistic changesVaxry
2024-08-02sessionLock: don't sendLocked when session lock has already been destoyed ↵Maximilian Seidler
(#7150) * sessionLock: reset m_pSessionLock on destroy * sessionLock: only send locked when resource is good
2024-08-02window/ls: reset core signals after destroyVaxry
fixes #7137