| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add and use lenient_strcat and lenient_strncat functions
* Rename `concatenate_child_titles` function as that's no longer what it
does
* Rename `container_notify_child_title_changed` because we only need to
notify that the tree structure has changed, not titles
* Don't notify parents when a child changes its title
* Update ancestor titles when changing a container's layout
* Eg. create nested tabs and change the inner container to stacking
* No need to store tree presentation in both container->name and
formatted_title
|
| |
|
|
|
|
|
|
|
| |
The condition checking if the markup is valid was inverted.
This commit also adds better error handling: if the markup cannot
be parsed, it fallbacks to plain text.
|
|
|
|
|
|
| |
The characters & < > ' " needs to be escaped when using pango markup
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
swaylock will use it too
|
| |
|
| |
|
|
|
|
|
|
| |
This starts up the event loop and wayland display and shims out the
basic top level rendering concepts. Also includes some changes to
incorporate pango into the 1.x codebase properly.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Keep sway_abort and sway_assert and convert them to use wlr_log
functions
|
| |
|
|
|
|
|
| |
It is required for include path if wlroots is not built in standard path,
but found through pkg-config
|
| |
|
| |
|
| |
|
|
|
|
| |
This removes the last wlc/wlc.h include actually in use
|
| |
|
|
|
|
|
| |
Makes reading debug logs much easier, debug lines will start with `E`,
info lines with `I` and error lines with `E`.
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Colors are configured through the command line so that swaylock conforms
to the i3lock fork 'github.com/chrjguill/i3lock-color'. Differences from
it are that one letter options '-r' and '-s' are not implimentend because
'-s' is already used by '--scaling' in swaylock.
This commit also fixed whitespace in 'include/swaylock/swaylock.h' and
changed `parse_color` in 'common/util.h' so that it can accept colors
that do not start with a hash. This was done to keep compatability with
the i3lock fork.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Some implementations of strtol may clamp the values to LONG_MAX instead of
wrapping around to negative values, so use strtoul instead to parse colors.
|
| |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
| |
|