summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2012-05-16 21:57:22 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2012-05-16 21:57:22 +0000
commitd322f28a5ff7d2027fc679af85e56be675e62fe5 (patch)
tree8148cccc30a96c0fdca16a1ef066293183f24794
parent92c96d6f2e48b6fb7e06ab9d712da22dc8d65873 (diff)
get rid of more stray lines/spaces
-rw-r--r--app/cwm/group.c6
-rw-r--r--app/cwm/xevents.c4
2 files changed, 4 insertions, 6 deletions
diff --git a/app/cwm/group.c b/app/cwm/group.c
index 0cb831c17..ba8495658 100644
--- a/app/cwm/group.c
+++ b/app/cwm/group.c
@@ -16,7 +16,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: group.c,v 1.56 2012/05/16 01:10:11 okan Exp $
+ * $OpenBSD: group.c,v 1.57 2012/05/16 21:57:21 okan Exp $
*/
#include <sys/param.h>
@@ -482,7 +482,7 @@ group_update_names(struct screen_ctx *sc)
Atom type_ret;
int format_ret, i = 0, nstrings = 0, n, setnames = 0;
unsigned long bytes_after, num_ret;
-
+
if (XGetWindowProperty(X_Dpy, sc->rootwin, _NET_DESKTOP_NAMES, 0,
0xffffff, False, UTF8_STRING, &type_ret, &format_ret,
&num_ret, &bytes_after, &prop_ret) == Success &&
@@ -544,7 +544,7 @@ group_set_names(struct screen_ctx *sc)
tlen -= slen;
q += slen;
}
-
+
XChangeProperty(X_Dpy, sc->rootwin, _NET_DESKTOP_NAMES,
UTF8_STRING, 8, PropModeReplace, p, len);
}
diff --git a/app/cwm/xevents.c b/app/cwm/xevents.c
index 93b4b138a..73e5df019 100644
--- a/app/cwm/xevents.c
+++ b/app/cwm/xevents.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: xevents.c,v 1.59 2012/05/16 01:09:17 okan Exp $
+ * $OpenBSD: xevents.c,v 1.60 2012/05/16 21:57:21 okan Exp $
*/
/*
@@ -206,12 +206,10 @@ xev_handle_propertynotify(XEvent *ee)
if (sc->rootwin == e->window)
goto test;
return;
-
test:
if (e->atom == _NET_DESKTOP_NAMES)
group_update_names(sc);
}
-
}
static void