| Commit message (Collapse) | Author | Age |
|
|
| |
Print log level even if STDERR is not a tty
|
|
|
|
|
|
|
| |
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).
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
_sway_assert is a variadic function which tries
to delegate to another variadic function. This
requires a vprintf-style variant of the delegate.
https://stackoverflow.com/a/150616
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
From now on let's just let the core dumps happen and ask users to
provide them.
|
|
|
|
| |
This patch also makes all global variable in log.c static.
|
|
|
|
| |
This removes most preprocessor logic, leaving it only it the header.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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 introduces a basic shared framework for making wayland clients
within sway itself.
|