From 3ddda82110bcba5a7c27734e1938363877c41124 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 28 Dec 2004 23:21:40 +0000 Subject: add virtual desktop patch from andrey --- src/cmd/rio/dat.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/cmd/rio/dat.h') diff --git a/src/cmd/rio/dat.h b/src/cmd/rio/dat.h index df4f1ea5..e590384f 100644 --- a/src/cmd/rio/dat.h +++ b/src/cmd/rio/dat.h @@ -5,6 +5,7 @@ #define INSET _inset #define MAXHIDDEN 128 #define B3FIXED 5 +#define NUMVIRTUALS 12 #define AllButtonMask (Button1Mask|Button2Mask|Button3Mask \ |Button4Mask|Button5Mask) @@ -46,6 +47,7 @@ struct Client { int is9term; int hold; int proto; + int virt; char *label; char *instance; @@ -146,6 +148,7 @@ extern int _inset; extern int curtime; extern int debug; extern int solidsweep; +extern int numvirtuals; extern Atom exit_rio; extern Atom restart_rio; @@ -161,12 +164,16 @@ extern Atom wm_colormaps; /* client.c */ extern Client *clients; extern Client *current; +extern Client *currents[]; /* menu.c */ extern Client *hiddenc[]; extern int numhidden; +extern char *b2items[]; +extern Menu b2menu; extern char *b3items[]; extern Menu b3menu; +extern int virt; /* manage.c */ extern int isNew; -- cgit v1.2.3