freebsd-ports/x11-wm/echinus/files/patch-ewmh.c
Dennis Herrmann 18733e8b6d - Update to 0.4.7
- 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)
2011-09-03 11:23:26 +00:00

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;