summaryrefslogtreecommitdiff
path: root/src/protocols/XDGShell.cpp
Commit message (Collapse)AuthorAgeFilesLines
* protocols/xdg-shell: fix crash on null parent in pin (#12694)UjinT342025-12-211-3/+4
|
* window: automatically pin child windows (#12224)ArchSav2025-12-201-1/+10
|
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-13/+13
|
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-1/+1
|
* xdg-shell: implement invalid parent errorsVaxry2025-10-261-1/+30
|
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-8/+8
|
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-3/+3
|
* refactor: use std::ranges whenever possible (#10584)Kamikadze2025-05-301-4/+4
|
* protocols: refactor class member vars (u-z) (#10282)davc0n2025-05-041-306/+308
| | | | | * protocols: refactor class member vars (u-z) * protocols: fix clang format
* protocols: refactor class member vars (core) (#10259)davc0n2025-05-031-8/+8
|
* managers: refactor class member vars (#10242)davc0n2025-05-021-3/+3
|
* helpers: refactor class member vars (#10218)davc0n2025-04-301-1/+1
|
* compositor: refactor class member vars (#10141)davc0n2025-04-221-3/+3
|
* internal: fix minor ubsan errors (#9743)Tom Englund2025-03-261-2/+5
| | | | | | | | | | | | | | | | | | | | | * opengl: check if g_pHyprOpengl exist on compositor destruction we can hit a race where a CEGLSync destructs and tries to call eglDestroySyncKHR on a null g_pHyprOpengl. /src/render/OpenGL.cpp:3019:32: runtime error: member access within null pointer of type 'struct CHyprOpenGLImpl' #0 0x555565eed979 in CEGLSync::~CEGLSync() /src/render/OpenGL.cpp:3019 #1 0x555565f6271e in std::default_delete<CEGLSync>::operator()(CEGLSync*) const /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/bits/unique_ptr.h:93 * xdgshell: dont apply state on empty states setsize can be called before a state has been added to pending, resulting in calling ApplyState with a empty state. /src/protocols/XDGShell.cpp:323:11: runtime error: null pointer passed as argument 2, which is declared to never be null #0 0x5555659bf67e in CXDGToplevelResource::applyState() /src/protocols/XDGShell.cpp:323 #1 0x5555659bcedc in CXDGToplevelResource::setSize(Hyprutils::Math::Vector2D const&) /src/protocols/XDGShell.cpp: 256 #2 0x555563eed0ef in Events::listener_commitWindow(void*, void*) /src/events/Windows.cpp:841
* core/compositor: Correctly track SHM buffer damage (#9678)Lee Bousfield2025-03-221-1/+1
|
* core: add an ANR dialogVaxry2025-02-181-0/+10
| | | | | | 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.
* 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