]> git.draconx.ca Git - rrace.git/commit
motif: Combine status details into a single flags member.
authorNick Bowler <nbowler@draconx.ca>
Mon, 2 Jan 2023 22:15:27 +0000 (17:15 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 7 Jan 2023 16:43:13 +0000 (11:43 -0500)
commit5278747bc6615197749a4e882283c9d06901cd80
tree927ce28bb42ab733882398069ef2f2ec90b9a2cd
parentca97af514870895e228df0443adc5a16be4d9a78
motif: Combine status details into a single flags member.

The timer_tick, view_goal_on_game and use_ewmh_icons values all are used
to encode just a single bit of information.  We can combine them into
a single member to reduce the overall size of the state structure.

Dropping the timer ID further enables a slight reorganization of the
timer process which seems to reduce the overall code size somewhat.
src/motif.c
src/motif.h
src/version.c
src/version.h
src/x11.c