From d322f28a5ff7d2027fc679af85e56be675e62fe5 Mon Sep 17 00:00:00 2001 From: Okan Demirmen Date: Wed, 16 May 2012 21:57:22 +0000 Subject: get rid of more stray lines/spaces --- app/cwm/group.c | 6 +++--- app/cwm/xevents.c | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'app') 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 @@ -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 -- cgit v1.2.3