1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

wmaker: Consistent whitespace in WindowMaker.h.

Previously, the whitespace in WindowMaker was inconsistent, with some
indentation using spaces and some using tabs, and a mixture of tabs and spaces
used to align comments at the ends of lines.  As a result, patches that touched
this file would often result in warnings from checkpatch.pl.

This patch fixes this so that indentation uses tabs and all other alignment uses
spaces.

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
This commit is contained in:
Doug Torrance
2014-09-25 20:27:35 -05:00
committed by Carlos R. Mafra
parent 47ec274760
commit 4546065276

View File

@@ -257,18 +257,18 @@ typedef enum {
#define WCHANGE_STATE(nstate) {\
if (w_global.program.state == WSTATE_NORMAL\
if (w_global.program.state == WSTATE_NORMAL \
|| (nstate) != WSTATE_MODAL) \
w_global.program.state = (nstate); \
if (w_global.program.signal_state != 0)\
w_global.program.state = w_global.program.signal_state;\
if (w_global.program.signal_state != 0) \
w_global.program.state = w_global.program.signal_state; \
}
/* only call inside signal handlers, with signals blocked */
#define SIG_WCHANGE_STATE(nstate) {\
w_global.program.signal_state = (nstate);\
w_global.program.state = (nstate);\
w_global.program.signal_state = (nstate); \
w_global.program.state = (nstate); \
}
@@ -460,7 +460,7 @@ extern struct WPreferences {
struct {
unsigned int nodock:1; /* don't display the dock */
unsigned int noclip:1; /* don't display the clip */
unsigned int clip_merged_in_dock:1; /* disable clip, dock gets its workspace switching functionality */
unsigned int clip_merged_in_dock:1; /* disable clip, switch workspaces with dock */
unsigned int nodrawer:1; /* don't use drawers */
unsigned int wrap_appicons_in_dock:1; /* Whether to wrap appicons when Dock is moved up and down */
unsigned int noupdates:1; /* don't require ~/GNUstep (-static) */