Add a --no-startup-id flag for exec (command), exec (config), exec_always (config)
This commit is contained in:
@ -218,6 +218,9 @@ struct Binding {
|
||||
struct Autostart {
|
||||
/** Command, like in command mode */
|
||||
char *command;
|
||||
/** no_startup_id flag for start_application(). Determines whether a
|
||||
* startup notification context/ID should be created. */
|
||||
bool no_startup_id;
|
||||
TAILQ_ENTRY(Autostart) autostarts;
|
||||
TAILQ_ENTRY(Autostart) autostarts_always;
|
||||
};
|
||||
|
@ -25,8 +25,11 @@
|
||||
* The shell is determined by looking for the SHELL environment variable. If
|
||||
* it does not exist, /bin/sh is used.
|
||||
*
|
||||
* The no_startup_id flag determines whether a startup notification context
|
||||
* (and ID) should be created, which is the default and encouraged behavior.
|
||||
*
|
||||
*/
|
||||
void start_application(const char *command);
|
||||
void start_application(const char *command, bool no_startup_id);
|
||||
|
||||
/**
|
||||
* Called by libstartup-notification when something happens
|
||||
|
Reference in New Issue
Block a user