summaryrefslogtreecommitdiff
path: root/src/xwayland/Server.cpp
Commit message (Collapse)AuthorAgeFilesLines
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-1/+1
|
* xwayland: don't create an abstract unix domain socket on linux (#8874)Clayton2024-12-281-7/+0
|
* internal: Make static analysis more happy (#8767)Ikalco2024-12-191-2/+2
| | | | | | | | | * make functions used in 1 file static * fix invalid substr param -1 * give default initializer to borderGradier * move RASSERT from printf to std::print
* core: Add clang-tidy (#8664)Vaxry2024-12-071-8/+7
| | | | | 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-4/+8
| | | | This reverts commit 6d7544458d0fafcae410c1978a0cabce2fb4a346.
* cleanup: use doLater instead of adding idle event handlers (#8624)Ikalco2024-12-011-8/+4
|
* xwayland: minor fixups for stability (#8323)trianta2024-11-031-12/+13
| | | | | | | * 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
* xwayland: use proper path for the XWayland sockets (#7852)Arisa Snowbell2024-09-191-2/+2
| | | fixes #7849
* xwayland: Some readability improvements (#7807)Jasson2024-09-181-89/+105
| | | | | | | | | | | | | * Readability improvements xwayland server * Made requested changes * removed braces * fix * Ok this time is fixed * Formatting
* xwayland: add option to enable/disable xwayland (#7633)trianta2024-09-051-1/+2
| | | | | | | | | | | | | | | | | | | * 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
* core: Include cstring whenever strncpy is used (#7267)Zach DeCook2024-08-101-0/+1
| | | Fixes ppc64le build in alpine
* internal: some minor fd/socket cleanups and make logging thread safe (#7123)Tom Englund2024-07-311-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-5/+6
| | | | | | | | | | | | | | 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: use safeRemove for removing filesVaxry2024-06-151-5/+13
| | | | fixes #6514
* xwayland: don't destroy server clientVaxry2024-06-031-2/+3
| | | | | | this potentially leaks, but avoids a UAF ref #6323
* xwayland: move to hyprland impl (#6086)Vaxry2024-05-251-0/+427