| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
Lift restriction on json-c <= 0.12.1
ipc-server: Acquire ownership of referenced json_object properly
When adding a referenced json_object with an unknown lifetime to
another json_object, it must be done with a wrapped call to
json_object_get() to acquire the ownership of that json_object.
|
|
|
|
|
| |
This reverts commit 1c4a086e7556475139960a25cb642f115d057c23, reversing
changes made to 1263ea6497c732bfa1835eea4a8ffe2e6ea6e377.
|
|\ |
|
| | |
|
|\ \
| | |
| | | |
Swaylock: Clear password buffer after use.
|
| |/
| |
| |
| |
| |
| | |
After a user enters or clears a password, try to overwrite the buffer containing it. That way it's not sitting around in RAM for something else to read later. Also, mlock() the password buffer so that it is never swapped out.
This also replaces the dynamically allocated buffer with a static char[1024]. Any characters past that are discarded until the user hits enter or escape.
|
|/
|
|
|
| |
This commit makes swaylock poll the registry the first time in its
fork in order for sway to recognize it and grant it lock privileges
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
And remove it from the build
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Fixes #999
|
| |
|
|
|
|
| |
See also https://github.com/i3/i3lock/pull/89
|
|
|
|
| |
This adds HiDPI support to swaybar, swaybg, and swaylock.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Without unistd.h the following functions getuid, alarm and
close are implicitly declared causing compilation to fail due to
-Werror=implicit-function-declaration
|
|
|
|
| |
see issue #647
|
| |
|
| |
|
|
|
|
| |
for i3lock compatibility
|
|
|
|
| |
also prevent screen redraws on modifier key presses
|
|
|
|
|
|
| |
When headers were installed in more sofisticated places (but package
config knows it right), it revealed missing paths in CMake
configuration. Lets fix it.
|
| |
|
|
|
|
| |
Change swaylock.pam to make it work on Debian-based systems also.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Additionally
- Made background colors display when an image is enabled if
a --color is specified.
- Link CJson to swaylock.
- Add the --socket option to swaylock.
|
| |
|
|
|
|
|
|
|
| |
Prevent swaylock from crashing when it can't connect to wayland for
whatever reason. i.e. XDG_RUNTIME_DIR not set.
Fix #534
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|