| Commit message (Collapse) | Author | Age |
|
|
| |
swaygrab: Add some error handling.
|
|
|
| |
swaygrab: Prevent segfault if IPC response can't be parsed.
|
| |
|
|
|
|
|
|
|
|
|
| |
https://github.com/SirCmpwn/sway/issues/1350 is fixed with this.
The commit that change swaygrab to use fork instead of Popen tried to
write to the read end of the pipe in the child branch and exec in the
parent branch.
This commit fixes both of those and closes the write fd after writing,
so convert actually exits.
|
| |
|
|
|
|
| |
And remove it from the build
|
| |
|
|
|
|
|
|
|
| |
Increase _POSIX_SOURCE value where needed.
Increase _XOPEN_SOURCE value where needed.
Conditionally link to libcap (only on Linux).
Possibly some trailing whitespace fixes (automatic).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
When headers were installed in more sofisticated places (but package
config knows it right), it revealed missing paths in CMake
configuration. Lets fix it.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Calling `exit` in sway_terminate prevents sway from correctly shutting
down (freeing data, cleanly terminating the ipc server, etc.).
A better way is to exit straight away if the failure occurs before
`wlc_run` and use sway_abort as usual if it occur when wlc is running.
|
| |
|
|
|
|
| |
This reverts commit 038bb8cc7c4dee77f8ee4ba3ac1ffc47409b2370.
|
| |
|
|
|
|
| |
Fix #449
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
With this it's possible to run `swaygrab` without a filename argument.
With no filename supplied it will use a default name based on the
current time.
The default file will get the extension `png` for screenshots and `webm`
for video capture.
|
| |
|
|
|
|
|
| |
This makes swaygrab use the currently focused output as source if no
other output is defined with the `-o, --output <output>` option.
|
| |
|
| |
|
|
|
|
| |
This creates (static) libraries for protocols/, common/, and wayland/.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Using 'flag' results in duplicate code paths for short and long options.
This broke the -q short option in swaymsg, because there was:
{"quiet", no_argument, &quiet, 'q'}
Which will set quiet to 'q' and return 0, not 'q'.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Ref #270
|
| |
|
|
|
|
|
| |
This needs to be multithreaded to have any sort of realistic expectation
of performance, due to issues with syncronous I/O.
|
| |
|
| |
|
|
|
|
|
| |
Also modifies IPC client so that we can work with persistent
connections.
|
|
|