get rid of more stray lines/spaces

This commit is contained in:
okan 2012-05-16 21:57:21 +00:00
parent 490ef6a7df
commit 956c47dbeb
2 changed files with 2 additions and 4 deletions

View File

@ -482,7 +482,7 @@ group_update_names(struct screen_ctx *sc)
Atom type_ret; Atom type_ret;
int format_ret, i = 0, nstrings = 0, n, setnames = 0; int format_ret, i = 0, nstrings = 0, n, setnames = 0;
unsigned long bytes_after, num_ret; unsigned long bytes_after, num_ret;
if (XGetWindowProperty(X_Dpy, sc->rootwin, _NET_DESKTOP_NAMES, 0, if (XGetWindowProperty(X_Dpy, sc->rootwin, _NET_DESKTOP_NAMES, 0,
0xffffff, False, UTF8_STRING, &type_ret, &format_ret, 0xffffff, False, UTF8_STRING, &type_ret, &format_ret,
&num_ret, &bytes_after, &prop_ret) == Success && &num_ret, &bytes_after, &prop_ret) == Success &&
@ -544,7 +544,7 @@ group_set_names(struct screen_ctx *sc)
tlen -= slen; tlen -= slen;
q += slen; q += slen;
} }
XChangeProperty(X_Dpy, sc->rootwin, _NET_DESKTOP_NAMES, XChangeProperty(X_Dpy, sc->rootwin, _NET_DESKTOP_NAMES,
UTF8_STRING, 8, PropModeReplace, p, len); UTF8_STRING, 8, PropModeReplace, p, len);
} }

View File

@ -206,12 +206,10 @@ xev_handle_propertynotify(XEvent *ee)
if (sc->rootwin == e->window) if (sc->rootwin == e->window)
goto test; goto test;
return; return;
test: test:
if (e->atom == _NET_DESKTOP_NAMES) if (e->atom == _NET_DESKTOP_NAMES)
group_update_names(sc); group_update_names(sc);
} }
} }
static void static void