- Fix build with clang, While I'am here PR: ports/159961 Submitted by: Herbert J. Skuhra <h.skuhra@gmail.com> Approved by: Henrik Friedrichsen <hrkfdn@gmail.com> (maintainer)
11 lines
316 B
C
11 lines
316 B
C
--- ./ewmh.c.orig 2011-09-03 13:09:18.000000000 +0200
|
|
+++ ./ewmh.c 2011-09-03 13:09:46.000000000 +0200
|
|
@@ -218,7 +218,7 @@
|
|
CARD32 data[2];
|
|
|
|
data[1] = None;
|
|
- if ((state == atom[WindowStateFs])) {
|
|
+ if ((state = atom[WindowStateFs])) {
|
|
focus(c);
|
|
if (set && !c->ismax) {
|
|
c->wasfloating = c->isfloating;
|