summaryrefslogtreecommitdiff
path: root/src/netwm.h
diff options
context:
space:
mode:
authorOlivier Fourdan <fourdan.olivier@wanadoo.fr>2004-05-09 21:59:42 +0000
committerOlivier Fourdan <fourdan.olivier@wanadoo.fr>2004-05-09 21:59:42 +0000
commitf6f6665f82e4bee9691d987c6f26566258084c6c (patch)
treedf6410db72cbb1c6877d356c7ea1f89340ce2758 /src/netwm.h
parentecb0f241abe8e481ed71bf2cc80c6c2ba2f181c9 (diff)
downloadxfwm4-f6f6665f82e4bee9691d987c6f26566258084c6c.tar.gz
Huge code reorg., add preliminary support for partial struts; it still needs work but it safer to commit to SCM now than loosing the code later, heh!
(Old svn revision: 11741)
Diffstat (limited to 'src/netwm.h')
-rw-r--r--src/netwm.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/netwm.h b/src/netwm.h
new file mode 100644
index 000000000..0548c5a4c
--- /dev/null
+++ b/src/netwm.h
@@ -0,0 +1,45 @@
+/*
+ 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; You may only use version 2 of the License,
+ you have no option to use any other 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.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+ xfwm4 - (c) 2002-2004 Olivier Fourdan
+
+ */
+
+#ifndef INC_NETWM_H
+#define INC_NETWM_H
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
+#include <glib.h>
+#include "client.h"
+
+void clientSetNetState (Client *);
+void clientGetNetState (Client *);
+void clientUpdateNetState (Client *, XClientMessageEvent *);
+void clientUpdateFullscreenState (Client *);
+void clientGetNetWmType (Client *);
+void clientGetInitialNetWmDesktop (Client *);
+void clientSetNetClientList (Atom, GList *);
+void clientGetNetStruts (Client *);
+void clientSetNetActions (Client *);
+void clientWindowType (Client *);
+void clientUpdateAboveState (Client *);
+void clientUpdateBelowState (Client *);
+
+#endif /* INC_NETWM_H */