foo-wm

(Archived) Experimental Zooming IPC-based WM
git clone http://milesalan.com/git/foo-wm
Log | Files | Refs | Mirror | README | LICENSE

commit 0b5e2ebb01cbf20cc2711f968b6b4e3db3daf81e
parent bf83836766756d068600586e6a20ab96681fc14e
Author: = <miles.sandlar@gmail.com>
Date:   Mon, 27 Aug 2012 22:24:33 -0400

Set client and container padding with IPC

Diffstat:
Msrc/commands.c | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/commands.c b/src/commands.c @@ -191,9 +191,13 @@ void mark(char * markName) { void set(char * property, char * value) { if (!strcmp(property, "client_padding")) { - } else if (!strcmp(property, "client_border_width")) + + } else if (!strcmp(property, "client_border_width")) { border = atoi(value); } else if (!strcmp(property, "container_padding")) { + containerPadding = atoi(value); + } else if (!strcmp(property, "client_padding")) { + clientPadding = atoi(value); } else if (!strcmp(property, "screen_padding_top")) { screenPaddingTop = atoi(value); } else if (!strcmp(property, "screen_padding_left")) {