patches/gnome-mag-01-x11-build-error.diff
changeset 10031 b26246f61e35
parent 10017 11acbc57a6bf
child 10076 106c07853b64
--- a/patches/gnome-mag-01-x11-build-error.diff	Fri Jun 08 12:43:19 2007 +0000
+++ b/patches/gnome-mag-01-x11-build-error.diff	Fri Jun 08 13:19:44 2007 +0000
@@ -11,13 +11,12 @@
  
  enum {
  	STRUT_LEFT = 0,
-@@ -370,6 +374,9 @@
- #ifdef HAVE_COMPOSITE
- 	gboolean                 calc_clip = FALSE;
- #endif /* HAVE_COMPOSITE */
-+#ifndef HAVE_OVERLAY
-+	gboolean use_windows = FALSE;
-+#endif
- 
- #ifdef HAVE_OVERLAY
- 	if (magnifier->priv->overlay)
+@@ -418,7 +418,7 @@
+  * window override-redirect.
+  */
+ #ifndef HAVE_OVERLAY
+-	if (use_windows && mag_window) {
++	if (use_compositor && mag_window) {
+ 		XRaiseWindow (dpy, mag_window);
+ 	}
+ #endif /* HAVE_OVERLAY */