mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
get rid of more stray lines/spaces
This commit is contained in:
parent
490ef6a7df
commit
956c47dbeb
4
group.c
4
group.c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user