aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authoroga2009-12-10 23:14:58 +0000
committeroga2009-12-10 23:14:58 +0000
commit067d8c9f41a0c6d9cd87c31432b56057e0da2c5d (patch)
tree1a34696a62fbf4f3c12b8a4bdcdc953f71fdb8b1 /calmwm.h
parent14ac3391c5d071a67de062f4857280212e12afdb (diff)
downloadcwm-067d8c9f41a0c6d9cd87c31432b56057e0da2c5d.tar.gz
Implement _NET_CURRENT_DESKTOP, _NET_DESKTOP_VIEWPORT and
_NET_DESKTOP_GEOMETRY. ok okan@
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/calmwm.h b/calmwm.h
index 14fb7e7..e191c3b 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: calmwm.h,v 1.104 2009/12/10 17:16:51 oga Exp $
+ * $Id: calmwm.h,v 1.105 2009/12/10 23:14:58 oga Exp $
*/
#ifndef _CALMWM_H_
@@ -401,6 +401,7 @@ char *xstrdup(const char *);
struct screen_ctx *screen_fromroot(Window);
void screen_updatestackingorder(struct screen_ctx *);
+void screen_update_geometry(struct screen_ctx *, int, int);
void screen_init_xinerama(struct screen_ctx *);
XineramaScreenInfo *screen_find_xinerama(struct screen_ctx *, int, int);
@@ -530,9 +531,12 @@ extern struct conf Conf;
#define _NET_SUPPORTING_WM_CHECK cwm_atoms[8]
#define _NET_WM_NAME cwm_atoms[9]
#define _NET_ACTIVE_WINDOW cwm_atoms[10]
-#define _NET_CLIENT_LIST cwm_atoms[11]
+#define _NET_CLIENT_LIST cwm_atoms[11]
#define _NET_NUMBER_OF_DESKTOPS cwm_atoms[12]
-#define CWM_NO_ATOMS 13
+#define _NET_CURRENT_DESKTOP cwm_atoms[13]
+#define _NET_DESKTOP_VIEWPORT cwm_atoms[14]
+#define _NET_DESKTOP_GEOMETRY cwm_atoms[15]
+#define CWM_NO_ATOMS 16
#define CWM_NETWM_START 7
extern Atom cwm_atoms[CWM_NO_ATOMS];