done right work fifteen
[livewp] / applet / src / livewp-main.c
index 532b862..4df4827 100644 (file)
@@ -40,7 +40,6 @@ void
 set_live_bg (Display *display, Window xwindow, int mode)
 {
    Atom atom;
-
    atom = XInternAtom (display, "_HILDON_LIVE_DESKTOP_BACKGROUND", False);
    fprintf (stderr, "XID: 0x%x\n", (unsigned)xwindow);
 
@@ -349,7 +348,7 @@ main(int argc, char *argv[])
         return -1;   
 
 
-    if (current_active_view() == view || priv->one_in_all_view) 
+    if (current_active_view() == view && !priv->one_in_all_view) 
         priv->visible = TRUE;
     else 
         priv->visible = FALSE;