Keep track of startup notifications in a TAILQ, save workspace
This commit is contained in:
@ -138,6 +138,20 @@ struct Ignore_Event {
|
||||
SLIST_ENTRY(Ignore_Event) ignore_events;
|
||||
};
|
||||
|
||||
/**
|
||||
* Stores internal information about a startup sequence, like the workspace it
|
||||
* was initiated on.
|
||||
*
|
||||
*/
|
||||
struct Startup_Sequence {
|
||||
/** startup ID for this sequence, generated by libstartup-notification */
|
||||
char *id;
|
||||
/** workspace on which this startup was initiated */
|
||||
char *workspace;
|
||||
|
||||
TAILQ_ENTRY(Startup_Sequence) sequences;
|
||||
};
|
||||
|
||||
/**
|
||||
* Regular expression wrapper. It contains the pattern itself as a string (like
|
||||
* ^foo[0-9]$) as well as a pointer to the compiled PCRE expression and the
|
||||
|
Reference in New Issue
Block a user