summaryrefslogtreecommitdiff
path: root/src/protocols/XDGShell.cpp
Commit message (Collapse)AuthorAgeFilesLines
* core: add LIKELY and UNLIKELY macrosvaxerski2025-01-171-17/+17
| | | | helps the compiler optimize
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+1
| | | Cleanup some unneeded includes to speed up compilation
* windows: honor xdg_toplevel_set_fullscreen output hint (#8965)Dardo D Kleiner2025-01-091-1/+7
| | | Co-authored-by: Dardo D Kleiner <dardo.kleiner@nrl.navy.mil>
* core: Add clang-tidy (#8664)Vaxry2024-12-071-2/+2
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* cleanup: Revert use doLater instead of adding idle event handlers (#8624)vaxerski2024-12-031-9/+9
| | | | This reverts commit 6d7544458d0fafcae410c1978a0cabce2fb4a346.
* cleanup: use doLater instead of adding idle event handlers (#8624)Ikalco2024-12-011-9/+9
|
* xdg-shell: even more robust layout min/max sizeVaxry2024-11-191-6/+12
| | | | although I don't think any apps use this, but better safe than sorry
* xdg-shell: don't report invalid min/max sizes on unsetVaxry2024-11-191-0/+4
| | | | fixes #8522
* windows/xdg: minor cleanup of min/max size calculationsVaxry2024-11-171-0/+8
| | | | fixes #8495
* xdg-dialog: implement new protocolVaxry2024-08-301-1/+17
|
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-3/+3
| | | now we roll loops at blazing constified speed.
* protocols: refactor protocol logging to a macro (#7324)Tom Englund2024-08-151-2/+0
| | | | | | this avoids the usage of the unique_ptr PROTO::protocol before it has been constructed incase one wants to log something inside the constructor itself, move the logging to macros and print file:linenumber on ERR,CRIT,WARN and classname on the rest of the levels.
* xdg-shell: make xdg-positioner flip target greatest available space (#7209)outfoxxed2024-08-071-31/+62
| | | | | 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.
* wayland/surface: fixup self-owning surface rolesVaxry2024-08-031-5/+5
| | | | fixes #7133
* xdg-shell: fixup unassigned wl surfaces to xdg surfacesVaxry2024-08-011-2/+3
| | | | fixes #7133
* core/surface/buffer: Buffer lock/release fixes (#7110)Vaxry2024-07-311-3/+3
|
* xdg-shell: fix xdg-positioner y-flip (#7094)outfoxxed2024-07-291-1/+1
|
* surface: emit unmap before unmapping and releasing the buffersvaxerski2024-07-281-1/+1
|
* xdg-shell: completely rewrite xdg-positioner (#7067)outfoxxed2024-07-271-99/+84
| | | This implementation actually works.
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-0/+1
| | | | | | | | | | | | | | 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: Move to hyprutils for MathVaxry2024-06-191-10/+10
| | | | | | Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
* xdg-shell: Continue transform of popup until size fits (#6521)Dashie2024-06-161-23/+26
|
* xdg-shell: properly check for resource version for TILED and SUSPENDED statesVaxry2024-06-161-4/+9
| | | | fixes #6535
* xdg-shell: fixup xdg-positioner's pointForAnchor with non-corner pointsVaxry2024-06-151-6/+6
| | | | fixes #6157
* core: verify surface roles on creation of objectsVaxry2024-06-081-2/+20
|
* xdg_shell: ignore outdated ack_configure eventsVaxry2024-06-081-1/+3
|
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-56/+52
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* xdg_shell: fix nested xdg_positioner calculationsVaxry2024-06-071-4/+4
| | | | ref #6240
* xdg_shell: improve xdg_positioner slide behaviorVaxry2024-06-071-2/+2
| | | | ref #6240
* xdg_shell: improve xdg_positioner resize calculationsVaxry2024-06-071-6/+6
| | | | ref #6240
* xdg-shell: fixup positioner behavior with slide and resizevaxerski2024-05-211-15/+19
| | | | | | if sliding and resizing, include the slide in the resize to avoid off-screen surfaces. fixes #6150
* seatmgr: Add a grab classVaxry2024-05-141-1/+56
|
* xdg-shell: move to new implVaxry2024-05-141-0/+697