Commit Graph

15 Commits

Author SHA1 Message Date
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