i3
include/startup.h
Go to the documentation of this file.
00001 /*
00002  * vim:ts=4:sw=4:expandtab
00003  *
00004  * i3 - an improved dynamic tiling window manager
00005  * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
00006  *
00007  * startup.c: Startup notification code. Ensures a startup notification context
00008  *            is setup when launching applications. We store the current
00009  *            workspace to open windows in that startup notification context on
00010  *            the appropriate workspace.
00011  *
00012  */
00013 #ifndef _STARTUP_H
00014 #define _STARTUP_H
00015 
00016 #define SN_API_NOT_YET_FROZEN 1
00017 #include <libsn/sn-monitor.h>
00018 
00032 void start_application(const char *command, bool no_startup_id);
00033 
00038 void startup_monitor_event(SnMonitorEvent *event, void *userdata);
00039 
00049 char *startup_workspace_for_window(i3Window *cwindow, xcb_get_property_reply_t *startup_id_reply);
00050 
00051 #endif