--- a/src/x11/gf_x11_display.c Sun Dec 04 17:39:13 2011 -0600
+++ b/src/x11/gf_x11_display.c Sun Dec 04 17:46:27 2011 -0600
@@ -33,7 +33,7 @@
Atom xa_desktops, xa_current, xa_workarea, xa_type;
Display *x_display = NULL;
- guint32 desktops = 0, current = 0;
gulong *workareas, len, fill;
@@ -66,20 +66,6 @@
- /* get the number of desktops */
- if(XGetWindowProperty(x_display, x_root, xa_desktops, 0, 1, False,
- XA_CARDINAL, &xa_type, &format, &len, &fill,
- desktops = *(guint32 *)data;
/* find the _NET_CURRENT_DESKTOP atom */
xa_current = XInternAtom(x_display, "_NET_CURRENT_DESKTOP", True);