summary refs log tree commit diff
path: root/screen.c
diff options
context:
space:
mode:
authoroga <oga>2008-09-22 14:28:04 +0000
committeroga <oga>2008-09-22 14:28:04 +0000
commit60a88f54cc546dadde180ecc9e146e16bab91072 (patch)
treeb2274c3ce2a3c3b7fc774eba62098eee035f1d1f /screen.c
parent61601991b5151be7500cf7581b303b7f12ddb905 (diff)
downloadcwm-60a88f54cc546dadde180ecc9e146e16bab91072.tar.gz
cwm-60a88f54cc546dadde180ecc9e146e16bab91072.tar.xz
cwm-60a88f54cc546dadde180ecc9e146e16bab91072.zip
*sigh* Revert the diff that wasn't meant to go in yet.
note to self: When you mean to type cvs commit search.c, don't forget
the filename.
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/screen.c b/screen.c
index 70ee0db..c03003d 100644
--- a/screen.c
+++ b/screen.c
@@ -67,28 +67,3 @@ screen_updatestackingorder(void)
 
 	XFree(wins);
 }
-
-void
-screen_init_xinerama(struct screen_ctx *sc)
-{
-	XineramaScreenInfo *info;
-	int no, fake;
-
-	if (HasXinerama == 0 || XineramaIsActive(X_Dpy) == 0) {
-		HasXinerama = 0;
-		sc->xinerama_no = 0;
-	}
-		
-	info = XineramaQueryScreens(X_Dpy, &no);
-	if (info == NULL) {
-		/*is xinerama is actually off, instead of a malloc failure? */
-		if (sc->xinerama == NULL)
-			HasXinerama = NULL;
-		return;
-	}
-
-	if (sc->xinerama != NULL)
-		XFree(sc->xinerama);
-	sc->xinerama = info;
-	sc->xinerama_no = no;
-}