tfix indent/style in wm_get_attribute - libwm - X windows manipulation library
HTML git clone git://z3bra.org/libwm
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit dad211ee2e2ce35cd08778c1142efb2a753668cc
DIR parent e25b0ebcae7b968af8a000740f9d006d316a9998
HTML Author: z3bra <willyatmailoodotorg>
Date: Sat, 14 Nov 2015 20:23:19 +0100
fix indent/style in wm_get_attribute
Diffstat:
M libwm.c | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
---
DIR diff --git a/libwm.c b/libwm.c
t@@ -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);