labwc/include/common
Johan Malm c841a25acf Add -S|--session <command> option
...to start <command> on startup and to terminate the compositor when
<command> exits.

This is useful for session management as it allows the session client (for
example `lxqt-session`) to terminate labwc - be exiting itself.

Under X, xinit starts the server and keeps it alive for as long as
lxqt-session runs. Thus either the session client starts the Window
Manager, or the Window Manager can be launched independently first.  On
Wayland, the Compositor is both Display Server and Window Manager, so the
described session management mechanisms do not work because the Compositor
needs to be running before the session can function.

As some session clients support both X11 and Wayland, this command line
option avoids re-writes and fragmentation.

Co-authored-by: @Consolatis
2024-04-14 13:05:25 +02:00
..
array.h common/array.h: add wl_array_for_each_reverse macro 2023-11-21 22:31:05 +01:00
border.h Move border-struct to common/border.h for sharing 2023-06-26 06:04:07 +01:00
buf.h src/common/buf.c: enhance the buffer API 2024-03-16 15:45:46 +00:00
dir.h config: support merging multiple config files 2024-01-18 20:20:36 +00:00
fd_util.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
file-helpers.h common/file-helpers.c: share file_exists() to reduce duplication 2023-09-17 19:26:41 +01:00
font.h common: render text buffers with opaque background 2024-03-17 19:09:53 +00:00
grab-file.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
graphic-helpers.h common: render text buffers with opaque background 2024-03-17 19:09:53 +00:00
list.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
macros.h edges, resistance, snap: unified resistance and snapping engine 2024-01-30 15:02:17 -05:00
match.h common: use fnmatch() for pattern matching 2023-10-01 14:17:29 +01:00
mem.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
nodename.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
parse-bool.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
parse-double.h common: validate and properly parse floats 2024-04-02 10:37:50 -04:00
scaled_font_buffer.h common: render text buffers with opaque background 2024-03-17 19:09:53 +00:00
scaled_scene_buffer.h scaled_scene_buffer: make dropping the buffer optional 2023-10-19 21:48:57 +01:00
scene-helpers.h chase: use wlroots tree node getters 2023-12-03 18:24:26 +00:00
spawn.h Add -S|--session <command> option 2024-04-14 13:05:25 +02:00
string-helpers.h session: process environment.d and allow empty variables 2024-03-11 20:01:14 +00:00
surface-helpers.h cursor: process layer subsurfaces in cursor_button_press() 2024-03-09 00:44:19 +01:00