support toggling _NET_WM_STATE_MAXIMIZE_VERT in spot2 and _NET_WM_STATE_MAXIMIZE_HORZ in spot3.

This commit is contained in:
seanpringle
2012-12-16 14:08:06 +10:00
parent 4197ad0bfc
commit 3ff60a649a
5 changed files with 64 additions and 3 deletions

5
xoat.c
View File

@@ -75,7 +75,7 @@ typedef struct {
XWindowAttributes attr;
Window transient, leader;
Atom type, states[ATOMLIST+1];
short monitor, visible, manage, input, urgent, full, ours;
short monitor, visible, manage, input, urgent, full, ours, maxv, maxh;
unsigned long spot;
char *class;
} client;
@@ -108,7 +108,8 @@ void action_find_or_start(void*, int, client*);
void action_move_monitor(void*, int, client*);
void action_focus_monitor(void*, int, client*);
void action_fullscreen(void*, int, client*);
void action_above(void*, int, client*);
void action_maximize_vert(void*, int, client*);
void action_maximize_horz(void*, int, client*);
#include "config.h"