Revert "make windows stay on screen when they..."
[dana/openbox.git] / tools / xdg-autostart / xdg-autostart
index 7648d8c..64f26dc 100755 (executable)
@@ -90,6 +90,7 @@ class AutostartFile:
         if path[0] == '/':
             if match_func(path): return path
             else: return None
+        else:
             # check relative path
             for dirname in search.split(os.pathsep):
                 if dirname != "":
@@ -120,7 +121,7 @@ class AutostartFile:
                 self._alert("Excluded by: OnlyShowIn (" + s + ")")
             if default and noshow and not force:
                 s = ""
-                for i in self.de.getOnlyShowIn():
+                for i in self.de.getNotShowIn():
                     if s: s += ", "
                     s += i
                 self._alert("Excluded by: NotShowIn (" + s + ")")