--- rxvt-unicode/src/rxvt.h 2007/11/26 12:17:48 1.324 +++ rxvt-unicode/src/rxvt.h 2007/11/30 01:26:32 1.327 @@ -31,9 +31,6 @@ #include #include #include -#if ENABLE_FRILLS -# include -#endif #include "encoding.h" #include "rxvtutil.h" @@ -172,16 +169,6 @@ unsigned int button; /* detail */ }; -#if ENABLE_FRILLS -typedef struct _mwmhints { - CARD32 flags; - CARD32 functions; - CARD32 decorations; - INT32 input_mode; - CARD32 status; -} MWMHints; -#endif - #if ENABLE_XEMBED // XEMBED messages # define XEMBED_EMBEDDED_NOTIFY 0 @@ -616,6 +603,17 @@ # define PATH_MAX 16384 #endif +#if ENABLE_FRILLS +# include +typedef struct _mwmhints { + CARD32 flags; + CARD32 functions; + CARD32 decorations; + INT32 input_mode; + CARD32 status; +} MWMHints; +#endif + /* Motif window hints */ #define MWM_HINTS_FUNCTIONS (1L << 0) #define MWM_HINTS_DECORATIONS (1L << 1) @@ -1055,7 +1053,7 @@ #ifdef HAVE_BG_PIXMAP int update_background (); #if TRACE_PIXMAPS - int trace_update_background (const char* file, int line); + int trace_update_background (const char *file, int line); # define update_background() trace_update_background (__FILE__, __LINE__) #endif void update_background_cb (ev::timer &w, int revents); @@ -1273,7 +1271,8 @@ bool option (uint8_t opt) const NOTHROW { - if (!opt) return 0; + if (!opt) + return 0; --opt; return options[opt >> 3] & (1 << (opt & 7));