aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/xwayland
AgeCommit message (Collapse)Author
2024-11-03xwayland: minor fixups for stability (#8323)trianta
* 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
2024-10-14xwm: avoid infinite parent lookup loop in lookupParentExistsVaxry
ref #8045
2024-09-24internal: nuke wlsignal and relatedVaxry
old semi-wrappers for wl_signal, they are no longer used
2024-09-20xwm: Minor cleanup, add wrappers for basic types (#7856)Jasson
2024-09-19xwayland: use proper path for the XWayland sockets (#7852)Arisa Snowbell
fixes #7849
2024-09-18xwayland: Some readability improvements (#7807)Jasson
* Readability improvements xwayland server * Made requested changes * removed braces * fix * Ok this time is fixed * Formatting
2024-09-05xwayland: add option to enable/disable xwayland (#7633)trianta
* 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
2024-09-01xwm: read atom name from xcb (#7546)Tom Englund
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.
2024-08-30xwayland: update overrideRedirect on map and configure (#7575)trianta
2024-08-28xwm: don't mark selection events as succeededVaxry
fixes #7401
2024-08-27build: Fix NO_XWAYLAND compilation (#7538)Nick H
2024-08-26misc: constify the remaining for loops (#7534)Tom Englund
now we roll loops at blazing constified speed.
2024-08-26core: make most for loops use const references (#7527)Tom Englund
why not let the compiler optimise things for us at hyprspeeds when we can.
2024-08-25xwayland: deactivate xwayland focus if wayland is focused (#7458)trianta
* xwayland: deactivate xwayland focus if wayland is focused * xwayland: deactivate last xwayland surface after focusing wayland
2024-08-10core: Include cstring whenever strncpy is used (#7267)Zach DeCook
Fixes ppc64le build in alpine
2024-07-31core/surface/buffer: Buffer lock/release fixes (#7110)Vaxry
2024-07-31internal: some minor fd/socket cleanups and make logging thread safe (#7123)Tom Englund
* bezier: dont loop on float values Using a floating-point loop variable with a fixed increment can cause precision errors over time due to the nature of floating-point arithmetic. and cause undesired effects. ex iteration 1 = 0.10000000149011611938 iteration 2 = 0.20000000298023223877 eventually.. iteration 8 = 0.80000001192092895508 iteration 9 = 0.89999997615814208984 * hyprctl: close sockets on destruction store socketpath and close the fd and unlink the socket path on exit. * eventloopmgr: close the timerfd close the timerfd on exit. * debug: make logging thread safe instead of opening and closing the logfile on each write open it on init and close it on compositor exit. also add a mutex so accidently using logging from a thread like the watchdog or similiar doesnt cause issues. * xwl: clean up fd logic check if the fd is actually opened before closing, and close the pipesource FD on exit.
2024-07-28surface: emit unmap before unmapping and releasing the buffersvaxerski
2024-07-27xwayland: fix high cpu idle usagevaxerski
fixes #7051
2024-07-22debug: get rid of useless 1s in logs (#6969)Ikalco
* get rid of 1s in logs lol * replace WLR with AQ in logs
2024-07-22xwm: Fix xwayland black window bug after losing focus (#6966)UjinT34
* fix xwayland black window bug * resend normal state
2024-07-21xwm: drop invalid case for clearing X focusVaxry
fixes #6955
2024-07-21xwayland: avoid unfocusing on OR child focusesVaxry
fixes #6698
2024-07-21Core: Move to aquamarine (#6608)Vaxry
Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <[email protected]> Co-authored-by: Mihai Fufezan <[email protected]> Co-authored-by: Jan Beich <[email protected]> Co-authored-by: vaxerski <[email protected]> Co-authored-by: UjinT34 <[email protected]> Co-authored-by: Tom Englund <[email protected]> Co-authored-by: Ikalco <[email protected]> Co-authored-by: diniamo <[email protected]>
2024-07-08xwayland: fix setting title prop (#6809)Ikalco
* fix setting xwayland title prop * add window title types
2024-06-22surface: add virtual destructor to surfacerole to avoid undefined behaviour ↵Tom Englund
(#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
2024-06-19core: Move to hyprutils for MathVaxry
Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
2024-06-16xwayland: do not set a new data source if it has no MIMEsVaxry
ref #6247
2024-06-16xwayland: force default plain mime atoms on known typesVaxry
ref #6247
2024-06-16xwayland: fixup unfocus atom conditionsVaxry
ref #6468
2024-06-15xwayland: use safeRemove for removing filesVaxry
fixes #6514
2024-06-13xwayland: drop some spammy logs to traceVaxry
fixes #6478
2024-06-11core: move to hyprutils for utils (#6385)Vaxry
* core: move to hyprutils for utils Nix: add hyprutils dep * Meson: add hyprutils dep * flake.lock: update --------- Co-authored-by: Mihai Fufezan <[email protected]>
2024-06-08wayland/core: move to new impl (#6268)Vaxry
* wayland/core/dmabuf: move to new impl it's the final countdown
2024-06-03xwayland: don't destroy server clientVaxry
this potentially leaks, but avoids a UAF ref #6323
2024-06-03core: fix a few asan reported issues and a coredump on exit (#6285)Tom Englund
* 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.
2024-05-29xwayland: verify new xsurf is valid in prop readsvaxerski
fixes #6250
2024-05-25xwayland: move to hyprland impl (#6086)Vaxry