libwm

library for X windows manipulations
git clone git://z3bra.org/libwm
Log | Files | Refs | LICENSE

commit dad211ee2e2ce35cd08778c1142efb2a753668cc
parent e25b0ebcae7b968af8a000740f9d006d316a9998
Author: z3bra <willyatmailoodotorg>
Date:   Sat Nov 14 20:23:19 2015

fix indent/style in wm_get_attribute

Diffstat:
 libwm.c | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/libwm.c b/libwm.c @@ -122,11 +122,21 @@ wm_get_attribute(xcb_window_t w, int attr) return -1; switch (attr) { - case ATTR_X: attr = r->x; break; - case ATTR_Y: attr = r->y; break; - case ATTR_W: attr = r->width; break; - case ATTR_H: attr = r->height; break; - case ATTR_B: attr = r->border_width; break; + case ATTR_X: + attr = r->x; + break; + case ATTR_Y: + attr = r->y; + break; + case ATTR_W: + attr = r->width; + break; + case ATTR_H: + attr = r->height; + break; + case ATTR_B: + attr = r->border_width; + break; } free(r);