startup: delete the startup sequence upon completion, make the timeout complete it

This commit is contained in:
Michael Stapelberg
2011-10-10 15:30:07 +01:00
parent ae7dec2774
commit 2ad4fbb34a
2 changed files with 23 additions and 7 deletions

View File

@ -11,6 +11,9 @@
#ifndef _DATA_H
#define _DATA_H
#define SN_API_NOT_YET_FROZEN 1
#include <libsn/sn-launcher.h>
#include <xcb/randr.h>
#include <xcb/xcb_atom.h>
#include <stdbool.h>
@ -150,6 +153,8 @@ struct Startup_Sequence {
char *id;
/** workspace on which this startup was initiated */
char *workspace;
/** libstartup-notification context for this launch */
SnLauncherContext *context;
TAILQ_ENTRY(Startup_Sequence) sequences;
};