summaryrefslogtreecommitdiff
path: root/x11-wm/olvwm/files/patch-screen.c
blob: a46b38cbbd9e8fab6bac3f6225ac5bab05021eb2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
--- screen.c.orig	2013-09-17 21:38:07.462238988 -0700
+++ screen.c	2013-09-17 21:43:56.890844306 -0700
@@ -66,6 +66,13 @@
  *-------------------------------------------------------------------------*/
 List	*ScreenInfoList;			/* List of managed screens */
 extern	Bool BoolString();
+static	updateScreenWorkspaceColor();
+static	updateScreenWindowColor();
+static	updateScreenForegroundColor();
+static	updateScreenBackgroundColor();
+static	updateScreenBorderColor();
+static	updateScreenInputFocusColor();
+static	updateScreenGlyphFont();
 
 /*-------------------------------------------------------------------------
  *	Local Data
@@ -282,6 +289,7 @@
 		     	case PseudoColor:
 			case GrayScale:
 		     	case DirectColor:
+			case TrueColor:
 		    		return True;
 				/*NOTREACHED*/
 		    		break;
@@ -523,7 +531,7 @@
  *      Construct bitmap search path as follows:
  *	      $OPENWINHOME/etc/workspace/patterns
  *	      $OPENWINHOME/include/X11/include/bitmaps
- *	      /usr/X11/include/X11/include/bitmaps
+ *	      /usr/X11R6/include/X11/include/bitmaps
  *
  * REMIND: this should be cleaned up so that it doesn't use a fixed-size
  * array.
@@ -546,7 +554,7 @@
 	(void)sprintf(bmPath, "%s/include/X11/bitmaps",owHome);
 	bitmapSearchPath[i++] = MemNewString(bmPath);
 
-	bitmapSearchPath[i++] = MemNewString("/usr/X11/include/X11/bitmaps");
+	bitmapSearchPath[i++] = MemNewString("/usr/X11R6/include/X11/bitmaps");
 	bitmapSearchPath[i] = (char *)NULL;
 }
 
@@ -2431,7 +2439,7 @@
 	if (!geom)
 	    geom = GRV.VirtualGeometry;
 	if (!geom || !*geom)
-	    return;
+	    return 0;
 	if (scrInfo->vdm->resources->geometry)
 	    free(scrInfo->vdm->resources->geometry);
 	scrInfo->vdm->resources->geometry = strdup(geom);
@@ -2451,7 +2459,7 @@
 	if (!name)
 	    name = GRV.VirtualBackgroundMap;
 	if (!name || !*name)
-	    return;
+	    return 0;
 	if (scrInfo->vdm->resources->background)
 	    free(scrInfo->vdm->resources->background);
 	scrInfo->vdm->resources->background = strdup(name);
@@ -2479,7 +2487,7 @@
 	ScreenInfo	*scrInfo;
 {
 	if (!scrInfo->vdm->resources->background)
-	    return;
+	    return 0;
 	UpdateScreenVirtualMap(dpy,scrInfo);
 }