summaryrefslogtreecommitdiff
path: root/src/protocols
Commit message (Collapse)AuthorAgeFilesLines
* virtualptr: allow binding to outputVaxry2024-07-292-11/+22
|
* xdg-shell: fix xdg-positioner y-flip (#7094)outfoxxed2024-07-291-1/+1
|
* surface: emit unmap before unmapping and releasing the buffersvaxerski2024-07-284-4/+4
|
* core: emit unmap event after unmap in surface destroyvaxerski2024-07-281-1/+3
|
* core/surface: drop map/unmap events in member funcsvaxerski2024-07-282-4/+2
| | | | causes loops
* xdg-shell: completely rewrite xdg-positioner (#7067)outfoxxed2024-07-272-109/+97
| | | This implementation actually works.
* layer-shell: properly map and unmap surface and propagate unmap eventsvaxerski2024-07-272-0/+3
|
* input: refocus last window on keyboard unfocusable surfacesvaxerski2024-07-271-4/+4
| | | | fixes #4460
* wayland/compositor: fixup double buffer releasesvaxerski2024-07-274-14/+11
| | | | fixes #7043
* protocols: move screencopy and toplevel export to hyprwayland-scanner (#7065)Ikalco2024-07-274-750/+644
| | | | | * move screencopy and toplevel export to hyprwayland-scanner * oops
* wayland/compositor: release buffers on unmapVaxry2024-07-251-0/+11
| | | | | | | | XWayland does not use the regular commit(null) method to unmap, which results in buffers never being released. release the buffers if present and un-released in the unmap() handler ref #6584
* core: Properly shutdown wl display (#7018)Ikalco2024-07-2410-45/+82
| | | | | | | * correctly destroy wayland globals * properly shutdown and cleanup hyprland * appease the nitpick gods and some comments
* shortcutsInhibit: fix crashVaxry2024-07-241-1/+1
|
* keybinds: add bindp and noshortcutsinhibit (#7017)MightyPlaza2024-07-241-0/+3
|
* layer-shell: validate exclusiveEdge and don't set it as top by default (#7006)Ikalco2024-07-232-3/+11
| | | | | * validate exclusiveEdge and don't set it as top by default * make sure exclusive edge anchor is within bounds
* renderer/layer-shell: use explicitly set exclusiveEdge (#6984)Sam Lakerveld2024-07-221-0/+2
|
* debug: get rid of useless 1s in logs (#6969)Ikalco2024-07-223-5/+5
| | | | | * get rid of 1s in logs lol * replace WLR with AQ in logs
* wl_seat: avoid sending events to objects without capsVaxry2024-07-221-0/+69
| | | | ref #6835
* wayland/output: avoid sending events to dead outputsVaxry2024-07-222-4/+7
| | | | ref #6835
* renderer: untransform textures matching display transformVaxry2024-07-221-0/+3
| | | | | | fixes #6754 This will break if the client uses a transform that is not equal to the display, reverting to old behavior. Combining transforms is left as a todo for the future.
* wayland/compositor: fixup buffer damage tracking for wl_shm buffersVaxry2024-07-211-5/+2
| | | | | | remove qt hack, fixup conditions fixes #6844
* presentation-feedback: fix invalid values sent after aq mergeVaxry2024-07-212-2/+10
|
* Core: Move to aquamarine (#6608)Vaxry2024-07-2144-598/+1470
| | | | | | | | | | | | | | Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
* core: Fix crash on opening chromium (#6932)phonetic1122024-07-201-1/+1
|
* toplevelexport: fix flipped r/b channels when sharing windows (#6861)David De Sousa2024-07-131-1/+2
| | | fixes #6823
* ext-foreign-toplevel: Send done after title and class (#6857)Tim Waterhouse2024-07-131-0/+2
| | | According to the spec (https://wayland.app/protocols/ext-foreign-toplevel-list-v1#ext_foreign_toplevel_handle_v1:event:title), clients should wait for the done signal before applying updates
* style: fix clang-formatVaxry2024-07-131-2/+1
|
* sessionLock: fix the check for locking a locked session (#6843)Maximilian Seidler2024-07-111-1/+1
|
* tablet: Send .frame() on .proximity_out() (#6761)Agent00Ming2024-07-031-1/+1
| | | Co-authored-by: Agent_00Ming <agent00ming9366@gmail.com>
* seat: don't send keyboard data without a keyboard cap (#6697)はれなよ2024-06-291-0/+7
| | | | | * Fix #6279: prevent sending keymap or repeat info events by keyboards without keyboard capability * Remove brackets
* pointer-constraint: set lifetime correctlyVaxry2024-06-292-6/+6
| | | | ref #6679
* wl-compositor: don't send enter to defunct output globalsVaxry2024-06-241-0/+5
|
* foreign-toplevel-wlr: fix out-of-range for missing monitor resourcesVaxry2024-06-231-4/+6
| | | | fixes #6635
* constraints: Lock surface region when region is empty (#6627)MariuszTrybus2024-06-221-2/+9
| | | | | * Pointer constraints: Lock surface region when region is empty * Format code
* surface: add virtual destructor to surfacerole to avoid undefined behaviour ↵Tom Englund2024-06-221-0/+1
| | | | | | | | | | | | | | | (#6620) * surfacerole: add virtual destructor all classes that will be derived from should have a virtual destructor otherwise deleting an instance via pointer to a base class is undefined behaviour, layershell/xdgshell hits this with std::default_delete in the new sharedptr implentation. * includes: fix missing includes fix missing includes for no precompiled headers builds, and remove a redefiniton of a macro already defined in macros.hpp
* core: Move to hyprutils for MathVaxry2024-06-1916-30/+31
| | | | | | Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
* misc: a few compiler level performance optimisations (#6559)Tom Englund2024-06-172-2/+2
| | | | | | | | | | | | | | | | | | | | | * window: use const references instead of copies use const references instead of wasteful copies and make the = operator check for self assignment and return early. also use const in all the other operators. * listener: pass std::function as const reference instead of copies pass the std::functions as const references. * config: dont unnecessarily convert to c_str getHyprlangConfigValuePtr wants an std::string and we already have an std::string, dont convert it to a c_str only for it to be converted back to an std::string. * buffer: pass attributes as const reference pass attributes as const reference instead of copies.
* 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-173-13/+60
| | | | some apps (notably vlc 4) place a subsurface below the main surface (which is kinda cursed) but we have to accomodate for that
* 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
|
* 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
* seat/dnd: unfocus pointer from surfaces on dnd startVaxry2024-06-161-2/+7
| | | | | | | | GTK is speshyal and requires this for functioning properly. Ugh. It's technically not required by spec, f you gtk. Ref #6509
* wl_seat: send repeat data from current keyboard on bindVaxry2024-06-151-3/+6
| | | | ref #6515
* 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