~ctwm/ctwm/trunk

« back to all changes in this revision

Viewing changes to gram.y

  • Committer: Matthew Fuller
  • Date: 2022-11-05 02:16:30 UTC
  • mfrom: (700.1.14 dev)
  • Revision ID: fullermd@over-yonder.net-20221105021630-099nb4g6q8skzdw0
Hide WindowBox support behind a build-time option, disabled by
default, to be reaped.

Some code nearby a few of these ifdefs can probably be slightly
simplified once they're gone, but trying to do it conditionally would
be too messy to bother with.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include "otp.h"
31
31
#include "iconmgr.h"
32
32
#include "icons.h"
 
33
#ifdef WINBOX
33
34
#include "windowbox.h"
 
35
#endif
34
36
#include "functions_defs.h"
35
37
#include "list.h"
36
38
#include "util.h"
152
154
                  win_list
153
155
 
154
156
                | WINDOW_BOX string string {
 
157
#ifdef WINBOX
155
158
                      curplist = addWindowBox ($2, $3);
 
159
#endif
156
160
                  }
157
161
                  win_list
158
162