mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
create_stdcmap is never used
The create_stdcmap variable is never set, so can be removed. This patch don't update the translation .po files!
This commit is contained in:
committed by
Carlos R. Mafra
parent
8b6e96ab74
commit
4111f336d0
@@ -439,7 +439,6 @@ typedef struct WPreferences {
|
||||
unsigned int noupdates:1; /* don't require ~/GNUstep (-static) */
|
||||
unsigned int noautolaunch:1; /* don't autolaunch apps */
|
||||
unsigned int norestore:1; /* don't restore session */
|
||||
unsigned int create_stdcmap:1; /* create std colormap */
|
||||
#ifndef HAVE_INOTIFY
|
||||
unsigned int nopolling:1; /* don't poll the defaults database for changes */
|
||||
#endif
|
||||
|
||||
@@ -498,7 +498,6 @@ static void print_help(void)
|
||||
|
||||
puts(_(" --locale locale locale to use"));
|
||||
|
||||
puts(_(" --create-stdcmap create the standard colormap hint in PseudoColor visuals"));
|
||||
puts(_(" --visual-id visualid visual id of visual to use"));
|
||||
puts(_(" --static do not update or save configurations"));
|
||||
#ifndef HAVE_INOTIFY
|
||||
|
||||
@@ -596,12 +596,8 @@ WScreen *wScreenInit(int screen_number)
|
||||
if (rattr.colors_per_channel < 2)
|
||||
rattr.colors_per_channel = 2;
|
||||
|
||||
/* will only be accounted for in PseudoColor */
|
||||
if (wPreferences.flags.create_stdcmap) {
|
||||
rattr.standard_colormap_mode = RCreateStdColormap;
|
||||
} else {
|
||||
/* Use standard colormap */
|
||||
rattr.standard_colormap_mode = RUseStdColormap;
|
||||
}
|
||||
|
||||
if (getWVisualID(screen_number) >= 0) {
|
||||
rattr.flags |= RC_VisualID;
|
||||
|
||||
Reference in New Issue
Block a user