thanks to Juka to check -Wall ;)
This commit is contained in:
parent
fc2e3eae20
commit
216099d072
2
event.c
2
event.c
|
@ -209,9 +209,7 @@ configurerequest(XEvent *e) {
|
||||||
|
|
||||||
static void
|
static void
|
||||||
configurenotify(XEvent *e) {
|
configurenotify(XEvent *e) {
|
||||||
Client *c;
|
|
||||||
XConfigureEvent *ev = &e->xconfigure;
|
XConfigureEvent *ev = &e->xconfigure;
|
||||||
XWindowChanges wc;
|
|
||||||
|
|
||||||
if (ev->window == root && (ev->width != sw || ev->height != sh)) {
|
if (ev->window == root && (ev->width != sw || ev->height != sh)) {
|
||||||
sw = ev->width;
|
sw = ev->width;
|
||||||
|
|
Loading…
Reference in a new issue