aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/echinus/files/patch-ewmh.c
blob: aefb01094a3dc34dfb53ccbae77528d1dbae9b33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ewmh.c.orig 2011-09-19 21:42:25 UTC
+++ ewmh.c
@@ -222,7 +222,7 @@ ewmh_process_state_atom(Client *c, Atom state, int set
    CARD32 data[2];
 
    data[1] = None;
-   if ((state == atom[WindowStateFs])) {
+   if ((state = atom[WindowStateFs])) {
        focus(c);
        if (set && !c->ismax) {
            c->wasfloating = c->isfloating;