summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* data-device: minor fixesVaxry2024-06-171-7/+7
| | | | send leave after drop, improve checks in completeDrag
* seat: track pressed pointer buttonsVaxry2024-06-172-0/+28
| | | | releases them on leave, unless there is a dnd going on
* subcompositor/renderer: fixup handling of subsurfaces below the main oneVaxry2024-06-175-14/+74
| | | | some apps (notably vlc 4) place a subsurface below the main surface (which is kinda cursed) but we have to accomodate for that
* xwayland: do not set a new data source if it has no MIMEsVaxry2024-06-161-7/+7
| | | | ref #6247
* data-device: properly abort drag on missing deviceVaxry2024-06-161-3/+5
| | | | | | sometimes there is no focused device (e.g. when dnd'ing on nothing or xwayland) in which case abort would fail to send cancelled to the source. ref #6543
* data-device: minor fixupsVaxry2024-06-161-16/+7
| | | | | | | | ref #6543 firefox needs a re-enter after a dnd don't destroy dnd on an offer destroy, it's not valid
* xdg-shell: Continue transform of popup until size fits (#6521)Dashie2024-06-161-23/+26
|
* xwayland: force default plain mime atoms on known typesVaxry2024-06-161-4/+10
| | | | ref #6247
* wl_data_device: send drop_performed in completeDragVaxry2024-06-161-3/+4
| | | | ref #6509
* wl_seat: accomodate for apps late-binding seat resourcesVaxry2024-06-161-0/+6
| | | | | | Sends enter events when an app binds wl_keyboard or wl_pointer later than it should. Fixes some buggy apps. Fixes #6131
* xdg-shell: properly check for resource version for TILED and SUSPENDED statesVaxry2024-06-161-4/+9
| | | | fixes #6535
* input: add cursor:warp_on_changeworkspace (#6480)memchr2024-06-162-0/+14
| | | | | | | | | * input: add cursor:warp_on_changeworkspace If enabled, warp the cursor to the last focused window on the workspace in the `changeworkspace' dispatcher, except if the cursor is currently on the WLR top layer. Respect persistent warps. * warp_on_change_workspace: check if focused layer is a window.
* seat/dnd: unfocus pointer from surfaces on dnd startVaxry2024-06-162-2/+12
| | | | | | | | GTK is speshyal and requires this for functioning properly. Ugh. It's technically not required by spec, f you gtk. Ref #6509
* hyprland.conf: update master section (#6537)memchr2024-06-161-1/+1
|
* xwayland: fixup unfocus atom conditionsVaxry2024-06-163-10/+19
| | | | ref #6468
* wl_seat: send repeat data from current keyboard on bindVaxry2024-06-151-3/+6
| | | | ref #6515
* master: refine master layout new window handling (#6479)memchr2024-06-152-14/+43
| | | | | | | | | | | | | | | | | | | | | * ## Open window relative to active window `new_on_active`: - `none` (default): - `before`: above of the focused window - `after`: below the focused window If the focused window is the solo master window, or the new window replaces master, this option has no effect and new_on_top are respected. ## Refine new window status control **BREAKING CHANGE**: new_is_master removed in favour of new variable `new_status`: - `slave` (default): new window open as slave - `master`: new window open as master - `inherit`: new window inherit status from active window, i.e. when the focused window is master, new window will become new master, otherwise new window are added to slaves * refactor: rename a few variables
* window: improve swallowing functionalityVaxry2024-06-153-62/+63
| | | | | | cleanups, fixes, etc. ref #6095
* output: avoid crashes when binding a defunct wl_output globalVaxry2024-06-151-0/+6
| | | | ref #6508
* xdg-shell: fixup xdg-positioner's pointForAnchor with non-corner pointsVaxry2024-06-151-6/+6
| | | | fixes #6157
* data-device: abort drag on unaccepted offersVaxry2024-06-152-2/+27
| | | | fixes #6509
* animations: fix overriding direction for slideVaxry2024-06-151-11/+10
| | | | fixes #6512
* keybinds: add custom event dispatcherVaxry2024-06-152-0/+6
| | | | fixes #3439
* xwayland: use safeRemove for removing filesVaxry2024-06-151-5/+13
| | | | fixes #6514
* egl: fixup format modifier lookups with implicit modifiersVaxry2024-06-143-13/+27
| | | | ref #6485
* format: fix flipped r/b channels on legacy_rendererVaxry2024-06-141-4/+12
| | | | | | We don't wanna use an extension, but for gles2 there is no other option. fixes #6465
* window: use effective damage for tearing re-schedulesVaxry2024-06-141-1/+1
| | | | fixes #6377
* vrr: add option to fix mouse breaking vrr (#6483)UjinT342024-06-147-6/+30
| | | | | | | | | | | | | | | * option to fix mouse breaking vrr * skip damage on mouse move * remove this-> & cleanup * add cursor:min_refresh_rate to avoid cursor freezing * run clang-format --------- Co-authored-by: UjinT34 <ujin@uvpn.ru>
* hyprctl: added --follow option to rolliglog (#6325)Alexander2024-06-143-2/+118
| | | Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team>
* layerSurface: fix layer being refocused every commit with on_demand (#6487)outfoxxed2024-06-141-3/+2
| | | | | | | | | | | * layerSurface: fix layer being refocused every commit with on_demand Fixes #6477 The surface will now only receive focus when its keyboard interactivity is more than the previous keyboard interactivity in the order none -> on_demand -> exclusive. * layerSurface: only kb focus if becoming exclusive
* misc: Fix build warnings (#6486)phonetic1122024-06-131-3/+4
|
* xwayland: drop some spammy logs to traceVaxry2024-06-131-10/+10
| | | | fixes #6478
* helpers: make shm_open() portable after 8bcccf9f0f0f (#6471)Jan Beich2024-06-131-1/+2
| | | | | https://pubs.opengroup.org/onlinepubs/9699919799/functions/shm_open.html https://man.freebsd.org/shm_open/2 https://www.man7.org/linux/man-pages/man3/shm_open.3.html
* core: fix a few small memory leaks on exit (#6470)Tom Englund2024-06-135-1/+14
| | | | | | | | | | | | | | | | | | | | * renderer: add destructor and destroy event source add destructor and destroy the event source. one less leak on exit of compositor reported by asan. * compositor: cleanup eventloop on exit destruct hyprctl to release the event sources, and properly cleanup the event loop on exit of compositor. less leaks on exit reported by asan * threadmgr: destroy event source on destruction destroy the event source on destruction. * eventloopmgr: reset eventloopmgr on exit aswell reset the eventloopmanager on exit of compositor and free the leaking last idle frame on monitor destroy.
* virtualkeyboard: check if VirtualKeyboard is valid before accessing client. ↵Yang, Ying-chao2024-06-132-4/+4
| | | | | (#6460) This fixes crash when restarting fcitx (#6378)
* formats: fixup for legacy_renderer buildsVaxry2024-06-121-32/+62
|
* foreign-toplevel: fixup output resource findingVaxry2024-06-121-13/+7
| | | | fixes #6457
* layershell: minor fixes to re-mapping of layersVaxry2024-06-123-2/+22
| | | | ref #2012
* renderer: properly software lock cursors with zoom_factor (#6434)Ikalco2024-06-123-7/+25
|
* input: fallback to main surface if not found on windowVaxry2024-06-121-0/+4
| | | | fixes #6421
* seatmgr: fix missing nullcheck in updateActiveKeyboardDataVaxry2024-06-122-6/+14
| | | | | | sometimes we may set a keyboard that's about-to-be-deleted, we might as well check for that additionally avoid setting null keyboards altogether
* seat: fixup touch event handlingvaxerski2024-06-124-35/+39
| | | | fixes #6353
* datadevice: only send actions for ver >= 3Vaxry2024-06-121-2/+4
| | | | fixes #6444
* compositor: update suspended states on moveworkspacetomonitorVaxry2024-06-121-0/+2
| | | | fixes #6417
* groupbar: fix groupbar position rounding (#6433)MightyPlaza2024-06-121-7/+7
| | | modified: src/render/decorations/CHyprGroupBarDecoration.cpp
* keybinds: fix bindm (#6429)Moritz G2024-06-111-0/+3
| | | | | | | * fixed mouse dispatcher * no brakets * move command up
* layer: don't close special ws when restoring focus (#6424)MightyPlaza2024-06-113-1/+13
| | | | | modified: src/Compositor.cpp modified: src/Compositor.hpp modified: src/managers/input/InputManager.cpp
* binds: Add description to key binds (#6358)Moritz G2024-06-113-38/+51
| | | | | --------- Co-authored-by: Yusuf Duran <firatyusuf.d@gmail.com>
* layershell: Fix keyboard focus grabs (#4968) (#6394)outfoxxed2024-06-114-74/+104
|
* session-lock: fix refocus after unlocking (#6423)Maximilian Seidler2024-06-111-2/+4
|