summaryrefslogtreecommitdiff
path: root/openbox/propwin.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-09 17:58:58 +0000
committerDana Jansens <danakj@orodu.net>2007-05-09 17:58:58 +0000
commit851555348ec39a01a0e150d2e12b71212b8d338b (patch)
treebc118f364e184388b46d8efd53bbdf9d38c051bd /openbox/propwin.h
parentcdb108c76d20e8272bfbd15919e32e609d685322 (diff)
support for _NET_WM_USER_TIME_WINDOW round 2 ! yay abstraction
Diffstat (limited to 'openbox/propwin.h')
-rw-r--r--openbox/propwin.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/openbox/propwin.h b/openbox/propwin.h
new file mode 100644
index 00000000..1e014aaa
--- /dev/null
+++ b/openbox/propwin.h
@@ -0,0 +1,40 @@
+/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
+
+ propwin.h for the Openbox window manager
+ Copyright (c) 2007 Dana Jansens
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ See the COPYING file for a copy of the GNU General Public License.
+*/
+
+#ifndef __propwin_h
+#define __propwin_h
+
+#include <glib.h>
+#include <X11/Xlib.h>
+
+struct _ObClient;
+
+typedef enum {
+ OB_PROPWIN_USER_TIME,
+ OB_NUM_PROPWIN_TYPES
+} ObPropWinType;
+
+void propwin_startup(gboolean reconfig);
+void propwin_shutdown(gboolean reconfig);
+
+void propwin_add(Window win, ObPropWinType type, struct _ObClient *client);
+void propwin_remove(Window win, ObPropWinType type, struct _ObClient *client);
+
+GSList* propwin_get_clients(Window win, ObPropWinType type);
+
+#endif