summaryrefslogtreecommitdiff
path: root/src/xwayland/XWM.cpp
Commit message (Collapse)AuthorAgeFilesLines
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-4/+4
|
* xwayland: fix sending large clipboard data (#9134)DDoSolitary2025-01-221-21/+34
|
* xwayland: support sending clipboard change notification on focus (#9111)DDoSolitary2025-01-201-1/+12
|
* core: reserve vector sizes as much as we can (#9118)Tom Englund2025-01-191-0/+4
| | | | | avoid reallocations as much as possible with a few edge cases where the reservation overshoots a tiny bit. but a few bytes of memory short term is better used then the overhead of potential reallocation.
* xwm: fixup targets in selection requestsVaxry2024-12-181-1/+8
| | | | fixes #8719
* xwayland: Support cross DnD from Wayland (#8708)Vaxry2024-12-151-23/+124
| | | Adds support for drag-and-drop from Wayland clients to XWayland ones
* core: Add clang-tidy (#8664)Vaxry2024-12-071-13/+13
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* xwayland: minor fixups for stability (#8323)trianta2024-11-031-0/+3
| | | | | | | * xwayland: add inline safe closing of fds and fix LOCK_FILE_MODE permissions * xwayland: auto recreate xwayland instance if it crashes * xwayland: delay auto-restart until later
* xwm: avoid infinite parent lookup loop in lookupParentExistsVaxry2024-10-141-0/+7
| | | | ref #8045
* xwm: Minor cleanup, add wrappers for basic types (#7856)Jasson2024-09-201-22/+15
|
* xwayland: add option to enable/disable xwayland (#7633)trianta2024-09-051-0/+4
| | | | | | | | | | | | | | | | | | | * config: add xwayland enabled option to config * xwayland: use DISPLAY env variable for enable/disable of new launches * xwayland: close X11 windows when turning of XWayland * clang: format fix * config: add better description for xwayland:enabled * xwayland: close X11 windows on disable without crashes * xwayland: better method of informing CXWayland if xwayland enabled * xwayland: prevent closing non-xwayland windows on disable * misc: loop formatting
* xwm: read atom name from xcb (#7546)Tom Englund2024-09-011-10/+24
| | | | | expand the debug trace logging by actually reading the atom name from xcb if not found in HYPRATOMS, will also print the proper atom for xcb internal ones and not just the HYPRATOMS ones.
* xwayland: update overrideRedirect on map and configure (#7575)trianta2024-08-301-1/+14
|
* xwm: don't mark selection events as succeededVaxry2024-08-281-1/+1
| | | | fixes #7401
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-3/+3
| | | now we roll loops at blazing constified speed.
* core: make most for loops use const references (#7527)Tom Englund2024-08-261-7/+7
| | | | why not let the compiler optimise things for us at hyprspeeds when we can.
* xwayland: deactivate xwayland focus if wayland is focused (#7458)trianta2024-08-251-1/+1
| | | | | * xwayland: deactivate xwayland focus if wayland is focused * xwayland: deactivate last xwayland surface after focusing wayland
* xwayland: fix high cpu idle usagevaxerski2024-07-271-7/+10
| | | | fixes #7051
* debug: get rid of useless 1s in logs (#6969)Ikalco2024-07-221-1/+1
| | | | | * get rid of 1s in logs lol * replace WLR with AQ in logs
* xwm: Fix xwayland black window bug after losing focus (#6966)UjinT342024-07-221-1/+21
| | | | | * fix xwayland black window bug * resend normal state
* xwm: drop invalid case for clearing X focusVaxry2024-07-211-1/+1
| | | | fixes #6955
* xwayland: avoid unfocusing on OR child focusesVaxry2024-07-211-3/+3
| | | | fixes #6698
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-5/+5
| | | | | | | | | | | | | | 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>
* xwayland: fix setting title prop (#6809)Ikalco2024-07-081-4/+6
| | | | | * fix setting xwayland title prop * add window title types
* core: Move to hyprutils for MathVaxry2024-06-191-1/+1
| | | | | | Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
* xwayland: do not set a new data source if it has no MIMEsVaxry2024-06-161-7/+7
| | | | ref #6247
* xwayland: fixup unfocus atom conditionsVaxry2024-06-161-8/+17
| | | | ref #6468
* xwayland: drop some spammy logs to traceVaxry2024-06-131-10/+10
| | | | fixes #6478
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-11/+10
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* core: fix a few asan reported issues and a coredump on exit (#6285)Tom Englund2024-06-031-0/+11
| | | | | | | | | | | | | | | | | | * xwayland: add destructor to CXWM and free resource the wl_event_resource was running upon destruction of the compositor causing a null pointer segfault in onX11Event so ensure the event is removed upon destruction, also free the memory allocated by xcb_errors_context_new and finally call xcb_disconnect on the connection to free the fd and its memory. * hyprctl: dont leak the fd on destruction add a destructor and properly free the fd on destruction * eventloop: add destructor and free event source properly free the wl_event_source upon destruction.
* xwayland: verify new xsurf is valid in prop readsvaxerski2024-05-291-1/+1
| | | | fixes #6250
* xwayland: move to hyprland impl (#6086)Vaxry2024-05-251-0/+1210