summaryrefslogtreecommitdiff
path: root/src/managers
Commit message (Collapse)AuthorAgeFilesLines
* input: add flip_x and flip_y for touchpad (#9481)nyx2025-03-031-4/+21
|
* protocols: Ensure protocol dtors are called in ProtocolManager dtor (#9521)Ikalco2025-03-031-0/+10
|
* core: cleanup some smart pointer usageVaxry2025-03-021-1/+1
|
* core: cleanup window propertiesVaxry2025-03-021-3/+3
| | | | they don't need to be in CConfigManager, and belong to window instead
* input: Provide a non-zero time for button release triggered during window ↵Indy Ray2025-03-011-1/+4
| | | | | unmap. (#9513) It doesn't seem that this is actually required, but it seems more consistant with other areas, such as in CVirtualKeyboardV1Resource::releasePressed.
* protocols: fix wrong iface for xdg_dialogVaxry2025-02-261-1/+1
| | | | fixes #9498
* protocols: Support wp color management proto (#9444)UjinT342025-02-261-3/+8
| | | Adds support for the recently merged w-p CM protocol alongside the (now deprecated) old CM WIP protocols
* internal: use isNumber from hyprutils (#9467)littleblack1112025-02-231-1/+1
|
* xcursor: move config check to sync gsettings (#9473)Tom Englund2025-02-231-3/+5
| | | | | move the check down into the function itself, 39df1f4 began syncing on session change, but isnt checking for the setting itself, so instead of duplicating checks all over. do it here.
* anr: add xwayland support (#9456)Vaxry2025-02-212-38/+127
| | | Adds XWayland support to ANR dialogs
* anr: add a note for no pid dialogsVaxry2025-02-211-0/+5
|
* anr: capitalize optionsVaxry2025-02-181-3/+3
|
* core: add an ANR dialogVaxry2025-02-182-0/+219
| | | | | | for xdg-shell, we can ping the wm_base, and thus render an ANR dialog if an app dies for XWayland, there probably is a similar method, but I don't know about it and don't care.
* input: add follow_mouse_threshold (#9392)andrewandreii2025-02-172-11/+19
|
* animations: add the gnomed animation style for windowsVaxry2025-02-162-2/+22
|
* keybinds: fix some errors not returning a failure (#9416)andrewandreii2025-02-151-22/+43
|
* internal: redirect exec'd app output to /dev/null (#9411)nyx2025-02-151-0/+8
|
* config: set no_hw_cursors to auto by default and disable on tearingVaxry2025-02-151-2/+3
| | | | when tearing, updates to the overlay plane may be ignored by the kernel. To avoid the cursor being a slideshow, disable hw cursors
* monitor: report a scheduled frame when tearing on cursor moveVaxry2025-02-151-1/+9
|
* session-lock: send locked when in unsafe state (#9399)Maximilian Seidler2025-02-131-2/+8
|
* protocols: add version 2 of ext-idle-notify-v1 protocol (#8959)J. J. Ramsey2025-02-111-1/+1
| | | | Signed-off-by: James Ramsey <james.jehiel.ramsey@gmail.com> Co-authored-by: James Ramsey <james.jehiel.ramsey@gmail.com>
* tablet: take `active_area_size` into account when sending tip event (#9325)clamydo2025-02-091-11/+23
| | | | | | | | | | | | | | | | | * fixes #9322, take `active_area_size` into account when sending tip event * check if `relative_input` is set As suggested by @y47s5s68tq870r7tc1xpp755pabopg * refactoring active area in own function to keep it DRY * coding style * making transformation static --------- Co-authored-by: clamydo <clamydo@users.noreply.github.com>
* window: move size reporting to animation begin callback (#9298)Maximilian Seidler2025-02-062-2/+1
| | | | | | | | | | | | | | | | | * window: fix resizes with an update callback * window: fixup sendWindowSize Remove the size argument from sendWindowSize, since it is now a member of the Window class and we don't want any mismatches between m_vRealSize and what we report. Remove sendWindowSize from mapWindow, since we shouldn't need it. * window: sendWindowSize on animation begin * window: move most calls to sendWindowSize to the animation begin callback * window: remove sendWindowSize in unmanaged if not fullscreen
* core: avoid .at() and use [] operator (#9347)Tom Englund2025-02-062-2/+2
| | | avoid .at() where it makes sense and use [] operator in loops.
* keybinds: Added `toggleswallow` dispatcher (#5548)Tom Benham2025-02-052-0/+23
| | | | | | | * Added `toggleswallow` dispatcher * clang-format * Removed brackets for 1-line if
* dispatchers: add cyclenext hist option (#9055)Alexander2025-02-032-19/+15
|
* protocols: Support content-type-v1 proto (#9226)UjinT342025-02-021-0/+3
|
* refactor: clang-tidy in compositor (#9241)Alexander2025-02-021-2/+0
| | | Co-authored-by: Alexandr Krylov <t@ruenya.nix>
* protocols: implement hyprland-ctm-control rev 2 (#9267)outfoxxed2025-02-021-1/+1
| | | | | * protocols: implement hyprland-ctm-control v2 * bump h-p and nix
* animation: don't immediately disconnect active vars during tick (#9272)Maximilian Seidler2025-02-011-2/+2
|
* core: begin using CFileDescriptor from hyprutils (#9122)Tom Englund2025-01-305-57/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config: make fd use CFileDescriptor make use of the new hyprutils CFileDescriptor instead of manual FD handling. * hyprctl: make fd use CFileDescriptor make use of the new hyprutils CFileDescriptor instead of manual FD handling. * ikeyboard: make fd use CFileDescriptor make use of the new CFileDescriptor instead of manual FD handling, also in sendKeymap remove dead code, it already early returns if keyboard isnt valid, and dont try to close the FD that ikeyboard owns. * core: make SHMFile functions use CFileDescriptor make SHMFile misc functions use CFileDescriptor and its associated usage in dmabuf and keyboard. * core: make explicit sync use CFileDescriptor begin using CFileDescriptor in explicit sync and its timelines and eglsync usage in opengl, there is still a bit left with manual handling that requires future aquamarine change aswell. * eventmgr: make fd and sockets use CFileDescriptor make use of the hyprutils CFileDescriptor instead of manual FD and socket handling and closing. * eventloopmgr: make timerfd use CFileDescriptor make the timerfd use CFileDescriptor instead of manual fd handling * opengl: make gbm fd use CFileDescriptor make the gbm rendernode fd use CFileDescriptor instead of manual fd handling * core: make selection source/offer use CFileDescriptor make data selection source and offers use CFileDescriptor and its associated use in xwm and protocols * protocols: convert protocols fd to CFileDescriptor make most fd handling use CFileDescriptor in protocols * shm: make SHMPool use CfileDescriptor make SHMPool use CFileDescriptor instead of manual fd handling. * opengl: duplicate fd with CFileDescriptor duplicate fenceFD with CFileDescriptor duplicate instead. * xwayland: make sockets and fds use CFileDescriptor instead of manual opening/closing make sockets and fds use CFileDescriptor * keybindmgr: make sockets and fds use CFileDescriptor make sockets and fds use CFileDescriptor instead of manual handling.
* core,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233)Honkazel2025-01-302-5/+4
| | | | | | | * declare dtor once + DMABBUF typo fix * dup include + clang moment * linux-dmabuf: last minute nit change
* xwayland: respect window size set by configure requests (#9190)DDoSolitary2025-01-281-23/+3
|
* hooksystem: avoid huge include for HANDLEVaxry2025-01-261-1/+1
|
* renderer/internal: stop using box pointersVaxry2025-01-265-19/+23
| | | | in favor of const refs
* pointer: always scale the cpu cursor to the right sizeVaxry2025-01-261-0/+4
| | | | fixes #9003
* core: move sendWindowSize off of xwaylandmgrVaxry2025-01-253-41/+2
| | | | additionally fixes that one weird x11 issue with floating windows being mis-sized on open
* input: pass touch events to lock screens (#9129)Junxuan Liao2025-01-254-23/+45
| | | | | * refactor: use weak pointers for session lock surfaces * input: pass touch events to lock screens
* xwayland: various window handling fixesVaxry2025-01-251-2/+4
| | | | I hate this fucking garbage
* core: add --verify-config to verify the config with HyprlandVaxry2025-01-242-3/+7
| | | | fixes #9135
* datadevice: do the unfocus surface stuff before dndActive is true (#9157)Maximilian Seidler2025-01-241-1/+1
|
* input: abord dnd op on escape pressedVaxry2025-01-241-0/+4
| | | | ref #9154
* xwayland: avoid sending value of real size to xwaylandVaxry2025-01-241-1/+1
|
* protocols: add hyprland_surface_v1.set_visible_region implementation (#9120)outfoxxed2025-01-231-1/+1
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-2323-102/+101
|
* tablet: send `motion`s on tip events (#9132)Junxuan Liao2025-01-231-4/+5
| | | | Typically, the position of the tool tip also changes on tool tip events, so we should forward this update to the clients.
* core/renderer: Add GPU hotplug support (#8980)maround952025-01-232-14/+47
|
* keybinds: add visible arg for cyclenext (#9045)Alexander2025-01-211-6/+7
| | | Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team>
* protocols: add hyprland_lock_notify_v1 implementation (#9092)Maximilian Seidler2025-01-191-1/+4
|
* core: move to inotify for monitoring the config filesvaxerski2025-01-194-42/+13
| | | | | | instead of manually polling every second which is not efficient, use inotify. an added bonus is that inotify is much much faster