~compiz-team/compiz-core/compiz-core.fix_796594

« back to all changes in this revision

Viewing changes to plugins/composite/src/window.cpp

  • Committer: Sam Spilsbury
  • Date: 2011-09-19 12:34:21 UTC
  • mfrom: (2800.2.17)
  • Revision ID: git-v1:06de32fbb7c893f6d051073985588b38b5193cc6
MergeĀ lp:~compiz-team/compiz-core/compiz-core.stack_sync_fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
        if (attr.map_state != IsViewable)
134
134
        {
135
135
            XUngrabServer (screen->dpy ());
 
136
            XSync (screen->dpy (), false);
136
137
            priv->bindFailed = true;
137
138
            return false;
138
139
        }
142
143
        priv->size = CompSize (attr.border_width * 2 + attr.width,
143
144
                               attr.border_width * 2 + attr.height);
144
145
        XUngrabServer (screen->dpy ());
 
146
        XSync (screen->dpy (), false);
145
147
    }
146
148
    return true;
147
149
}