]> git.mdlowis.com Git - proto/labwc.git/commit
src/main: delay startup of applications until event loop is ready
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Sat, 4 May 2024 20:17:24 +0000 (22:17 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 19 May 2024 17:49:43 +0000 (18:49 +0100)
commit941290fb4b5e471d5b2be1b0e56f7f8a50d8bca1
tree28f232134d6348e3751d186fcb90ee2f03c05226
parent89589f17c4e8cd9dbab0ad79a34ee5edf2727fd8
src/main: delay startup of applications until event loop is ready

This mostly allows for using scripts that trigger a labwc SIGHUP
to work as expected. Before this patch, there was a race between
the event loop starting up and the autostart scripts executing.

One example of such a use-case is dynamically setting the keyboard
layout or cursor theme via environment variable based on feedback
from a dbus service like discussed in #1588.
src/main.c