mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
session: only update activation environment...
...when running DRM backend or by explicit request
This commit is contained in:
parent
22fe8cf546
commit
c9d08f8218
4 changed files with 57 additions and 9 deletions
|
|
@ -2,6 +2,8 @@
|
|||
#ifndef LABWC_SESSION_H
|
||||
#define LABWC_SESSION_H
|
||||
|
||||
struct server;
|
||||
|
||||
/**
|
||||
* session_environment_init - set enrivonment variables based on <key>=<value>
|
||||
* pairs in `${XDG_CONFIG_DIRS:-/etc/xdg}/lawbc/environment` with user override
|
||||
|
|
@ -13,12 +15,12 @@ void session_environment_init(void);
|
|||
* session_autostart_init - run autostart file as shell script
|
||||
* Note: Same as `sh ~/.config/labwc/autostart` (or equivalent XDG config dir)
|
||||
*/
|
||||
void session_autostart_init(void);
|
||||
void session_autostart_init(struct server *server);
|
||||
|
||||
/**
|
||||
* session_shutdown - run session shutdown file as shell script
|
||||
* Note: Same as `sh ~/.config/labwc/shutdown` (or equivalent XDG config dir)
|
||||
*/
|
||||
void session_shutdown(void);
|
||||
void session_shutdown(struct server *server);
|
||||
|
||||
#endif /* LABWC_SESSION_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue