]> git.draconx.ca Git - rrace.git/blobdiff - src/motif.h
Reduce redrawing on resize events.
[rrace.git] / src / motif.h
index 6461f06e12779525f9a79e6110894aba10024b0d..a5152939886fada6bd629e49d0515baf9a1fddec 100644 (file)
@@ -29,6 +29,9 @@ struct app_state {
 
        Widget game, goal;
 
+       /* Current window width/height for resize handling. */
+       Dimension game_sz[2], goal_sz[2];
+
        /* If true, the goal will be displayed over the main play area. */
        int view_goal_on_game;