i3
startup.h
Go to the documentation of this file.
1 /*
2  * vim:ts=4:sw=4:expandtab
3  *
4  * i3 - an improved dynamic tiling window manager
5  * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
6  *
7  * startup.c: Startup notification code. Ensures a startup notification context
8  * is setup when launching applications. We store the current
9  * workspace to open windows in that startup notification context on
10  * the appropriate workspace.
11  *
12  */
13 #ifndef I3_STARTUP_H
14 #define I3_STARTUP_H
15 
16 #define SN_API_NOT_YET_FROZEN 1
17 #include <libsn/sn-monitor.h>
18 
32 void start_application(const char *command, bool no_startup_id);
33 
40 void startup_sequence_delete(struct Startup_Sequence *sequence);
41 
46 void startup_monitor_event(SnMonitorEvent *event, void *userdata);
47 
53  xcb_get_property_reply_t *startup_id_reply, bool ignore_mapped_leader);
54 
64 char *startup_workspace_for_window(i3Window *cwindow, xcb_get_property_reply_t *startup_id_reply);
65 
66 #endif