]> Dogcows Code - chaz/openbox/blobdiff - scripts/callbacks.py
logic error for modal focus
[chaz/openbox] / scripts / callbacks.py
index 0852a3aca8d5d68fdc6cbb54de65c2700ce1ba48..7f7be6635e9ca7c4d7ef171acaacc772c0890caf 100644 (file)
@@ -113,14 +113,6 @@ def focus(data):
         return
     data.client.focus()
 
-def restart(data, other = ""):
-    """Restarts Openbox, optionally starting another window manager."""
-    ob.openbox.restart(other)
-
-def exit(data=0):
-    """Exits Openbox."""
-    ob.openbox.shutdown()
-
 def raise_win(data):
     """Raises the window on which the event occured"""
     if not data.client: return
@@ -264,4 +256,12 @@ def send_to_prev_desktop(data, no_wrap=0, follow=1):
     if follow:
         change_desktop(data, d)
 
+def restart(data=0, other = ""):
+    """Restarts Openbox, optionally starting another window manager."""
+    ob.openbox.restart(other)
+
+def exit(data=0):
+    """Exits Openbox."""
+    ob.openbox.shutdown()
+
 print "Loaded callbacks.py"
This page took 0.02399 seconds and 4 git commands to generate.