Skip to content

Commit

Permalink
Added comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
alisabedard committed Jul 16, 2017
1 parent 6b3d3a4 commit becdfb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions move_resize.c
Expand Up @@ -41,6 +41,8 @@ void jbwm_move_resize(struct JBWMClient * restrict c)
} // Skip shaped and fullscreen clients.
struct JBWMRectangle * restrict s = &c->size;
do_move(c->display, c->parent, c->window, s, offset);
/* Use the XOR of the dimension to track changes, thus avoiding
* excessive updates. */
uint16_t szsum = s->width ^ s->height;
if (szsum != c->szsum) {
c->szsum = szsum;
Expand Down

0 comments on commit becdfb7

Please sign in to comment.