Blob Blame History Raw
--- WindowMaker-0.91.0/src/dock.c.vns	2005-05-18 16:29:46 +0400
+++ WindowMaker-0.91.0/src/dock.c	2005-05-18 16:31:23 +0400
@@ -1295,8 +1295,9 @@
 
     tx = CLIP_BUTTON_SIZE*ICON_SIZE/64;
 
-    WMDrawString(scr->wmscreen, win, color, scr->clip_title_font, tx,
-                 ty, ws_name, length);
+    if(wPreferences.show_clip_title)
+        WMDrawString(scr->wmscreen, win, color, scr->clip_title_font, tx,
+        	     ty, ws_name, length);
     /*WMDrawString(scr->wmscreen, win, color, scr->clip_title_font, 4,
      2, ws_name, length);*/
 
--- WindowMaker-0.91.0/src/defaults.c.vns	2005-05-18 16:29:46 +0400
+++ WindowMaker-0.91.0/src/defaults.c	2005-05-18 16:29:46 +0400
@@ -633,6 +633,9 @@
     {"ClipTitleFont",	DEF_CLIP_TITLE_FONT,	NULL,
     NULL,				getFont,	setClipTitleFont
     },
+    {"ShowClipTitle",	"YES",			NULL,
+    &wPreferences.show_clip_title,	getBool,	NULL
+    },
     {"LargeDisplayFont",DEF_WORKSPACE_NAME_FONT, NULL,
     NULL,				getFont,	setLargeDisplayFont
     },
--- WindowMaker-0.91.0/src/WindowMaker.h.vns	2005-05-18 16:29:46 +0400
+++ WindowMaker-0.91.0/src/WindowMaker.h	2005-05-18 16:29:46 +0400
@@ -490,6 +490,8 @@
     /* single click to lauch applications */
     char single_click;
 
+    int show_clip_title;
+
     struct {
         unsigned int nodock:1;	       /* don't display the dock */
         unsigned int noclip:1;         /* don't display the clip */