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

View File

@@ -7,7 +7,7 @@
#define GAP 2
// Title bar xft font
#define TITLE "sans:bold:size=10"
#define TITLE "sans:size=8"
#define TITLE_BLUR "Black"
#define TITLE_FOCUS "White"
#define TITLE_ELLIPSIS 30
@@ -62,6 +62,8 @@
// action_move_monitor
// action_focus_monitor
// action_fullscreen
// action_maximize_vert
// action_maximize_horz
// If you use "AnyModifier" place those keys at the end of the array.
binding keys[] = {
@@ -100,6 +102,8 @@ binding keys[] = {
// Toggle current window full screen.
{ .mod = Mod4Mask, .key = XK_f, .act = action_fullscreen },
{ .mod = Mod4Mask, .key = XK_v, .act = action_maximize_vert },
{ .mod = Mod4Mask, .key = XK_h, .act = action_maximize_horz },
// Switch focus between monitors.
{ .mod = Mod4Mask, .key = XK_Next, .act = action_focus_monitor, .num = +1 },