summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2014-07-15 14:42:36 -0400
committerJasper St. Pierre <jstpierre@mecheye.net>2014-07-15 14:49:16 -0400
commit2e4018c3867f089f305d3b4f19d9f60486cb9ebb (patch)
tree84996d06c233ba6f108fefb4033374842a339619 /examples
parentb7a8bde89581fa1d9aa800828c1347fdb4507aa7 (diff)
downloadgtk+-2e4018c3867f089f305d3b4f19d9f60486cb9ebb.tar.gz
gtkwindow: Clean up the code for an optimization
It's hard to figure out what the "expected_reply" means except under close examination -- it's actually talking about whether this was a reply to a ConfigureRequest or not. The inversion in the check doesn't help either. Make the code cleaner by moving it above the freeze/thaw case, and making the check more explicit and without a confusing variable. If we haven't sent any ConfigureRequests out, then it must be a gratuitous ConfigureNotify.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions