about summary refs log tree commit diff stats
path: root/dwm.h
diff options
context:
space:
mode:
authorarg@mmvi <unknown>2006-09-22 07:37:56 +0200
committerarg@mmvi <unknown>2006-09-22 07:37:56 +0200
commitd800ec05ff63451193a0b858c114f5144534c2a1 (patch)
treecc6261bca4c022b6a22d0a1568bf3ea3ec4c9c06 /dwm.h
parentbda53ac6ad834824e8e5d5678ccd638a122c173a (diff)
downloaddwm-d800ec05ff63451193a0b858c114f5144534c2a1.tar.gz
implemented the maximization as I described on the mailinglist, this feels better to me.
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.h b/dwm.h
index c08388f..60f9201 100644
--- a/dwm.h
+++ b/dwm.h
@@ -78,6 +78,7 @@ struct Client {
 	int proto;
 	int x, y, w, h;
 	int tx, ty, tw, th; /* title window geometry */
+	int rx, ry, rw, rh; /* revert geometry */
 	int basew, baseh, incw, inch, maxw, maxh, minw, minh;
 	int grav;
 	long flags; 
@@ -99,7 +100,7 @@ extern unsigned int ntags, numlockmask;		/* number of tags, dynamic lock mask */
 extern void (*handler[LASTEvent])(XEvent *);	/* event handler */
 extern void (*arrange)(Arg *);			/* arrange function, indicates mode  */
 extern Atom wmatom[WMLast], netatom[NetLast];
-extern Bool running, issel, maximized, *seltag;	/* seltag is array of Bool */
+extern Bool running, issel, *seltag;		/* seltag is array of Bool */
 extern Client *clients, *sel, *stack;		/* global cleint list and stack */
 extern Cursor cursor[CurLast];
 extern DC dc;					/* global draw context */
@@ -117,7 +118,6 @@ extern void manage(Window w, XWindowAttributes *wa);	/* manage new client */
 extern void resize(Client *c, Bool sizehints, Corner sticky); /* resize c*/
 extern void updatesize(Client *c);			/* update the size structs of c */
 extern void updatetitle(Client *c);		/* update the name of c */
-extern void togglemax(Arg *arg);		/* (un)maximize c */
 extern void unmanage(Client *c);		/* destroy c */
 
 /* draw.c */
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301