Commit Graph

24 Commits

Author SHA1 Message Date
emersion
9b88ee0143
swayidle: fix dbus_event not to block 2018-11-24 23:26:57 +01:00
emersion
41ffb5b4d5
swayidle: listen when display becomes writable 2018-11-24 23:18:44 +01:00
Ian Fan
6358de3827
swaylock: fix display_event to not block 2018-11-24 23:10:05 +01:00
Ian Fan
6e2dccc2e9
swayidle: when acquiring sleep lock, initialize and free variables properly 2018-11-24 23:10:05 +01:00
camoz
075b080f54 fix typo in swayidle(1) 2018-11-21 23:13:23 +01:00
emersion
cad851805b
Use #if instead of #ifdef 2018-11-18 00:33:06 +01:00
Drew DeVault
9a3cd000a3
Revert "Work around swayidle never triggering on SIGUSR1" 2018-11-05 12:12:44 -05:00
Jarkko Oranen
4f21b6f670 Work around swayidle never triggering on SIGUSR1 2018-11-05 18:54:41 +02:00
emersion
5fcb814a73
swayidle: enter idle state on SIGUSR1 2018-10-28 09:16:42 +01:00
Ryan Dwyer
32ba8154b8 Sway clients: Exit gracefully when compositor is unavailable 2018-10-15 21:57:59 +10:00
Arkadiusz Hiler
eed0bc3ebd Add support for installing binaries with DT_RPATH
It's better to use DT_RPATH dynamic section of the elf binary to store
the paths of libraries to load instead of overwriting LD_LIBRARY_PATH
for the whole environment, causing surprises. This solution is much more
transparent and perfectly suitable for running contained installations
of wayland/wlroots/sway.

The code unsetting the LD_LIBRARY_PATH/LD_PRELOAD was also deleted as
it's a placebo security at best - we should trust the execution path
that leads us to running sway, and it's way too late to care about those
variables since we already started executing our compositor, thus we
would be compromised anyway.
2018-09-30 15:37:01 +03:00
Arkadiusz Hiler
1e70f7b19e Turn funcs() into funcs(void)
If they really do not take undefined number of arguments.
2018-09-30 14:09:05 +03:00
Eric Engestrom
52a27f1529 delete references to swaygrab 2018-07-30 16:24:46 +01:00
emersion
4657ea5a42 swayidle: cleanup
No idea why wlr_output_layout was involved here.
2018-07-16 22:20:53 +01:00
emersion
63b4bf5000
Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
Alex Xu (Hello71)
7ed81cfd36 swayidle: fix stack overflow on sleep 2018-06-17 13:57:40 -04:00
Dominique Martinet
2477930d90 swayidle: doublefork to not leave zombies around 2018-06-08 22:28:28 +09:00
Dominique Martinet
3b7cae0e31 swayidle: terminate if wl_display_dispatch failed 2018-05-16 16:50:56 +09:00
Dominique Martinet
620b269418 swayidle: terminate when server died
Fixes #1977.
2018-05-16 11:26:13 +09:00
Drew DeVault
270c1ee7e5 Actually fix swayidle
I also didn't test this commit though so who knows
2018-05-13 20:21:37 -04:00
Drew DeVault
b65a75a6e1 swayidle: use wl_event_loop_dispatch_idle
Fixes #1977
2018-05-13 19:32:16 -04:00
Drew DeVault
4f540b638e Add pixman to swayidle deps 2018-05-13 12:55:40 -04:00
Mattias Eriksson
f40049b5cd Remove asciidoc file for swayidle 2018-05-13 00:36:52 +02:00
Mattias Eriksson
8fbafbfab5 Idle handling for dpms/lockscreen et al
Swayidle handles idle events and allows
for dpms and lockscreen handling. It also
handles systemd sleep events, and can
raise a lockscreen on sleep

Fixes #541
2018-05-13 00:30:09 +02:00