]> Dogcows Code - chaz/openbox/commitdiff
make the desktop popup a public function
authorDana Jansens <danakj@orodu.net>
Fri, 26 Sep 2003 07:41:16 +0000 (07:41 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 26 Sep 2003 07:41:16 +0000 (07:41 +0000)
openbox/screen.c
openbox/screen.h

index d37288fa8da3ad2b784e9e4f7361b7259b442474..7f0c70c96ddc2e915f75dd932c46bca814a45f13 100644 (file)
@@ -568,7 +568,7 @@ static guint translate_row_col(guint r, guint c)
     return 0;
 }
 
-static void popup_cycle(guint d, gboolean show)
+void screen_desktop_popup(guint d, gboolean show)
 {
     Rect *a;
 
@@ -687,14 +687,14 @@ guint screen_cycle_desktop(ObDirection dir, gboolean wrap, gboolean linear,
     }
 
     if (dialog) {
-        popup_cycle(d, TRUE);
+        screen_desktop_popup(d, TRUE);
         return d;
     }
 
 done_cycle:
     first = TRUE;
 
-    popup_cycle(0, FALSE);
+    screen_desktop_popup(0, FALSE);
 
     return d;
 }
index 2fd1108c8fb1ee6329a622328176b60367f8df2d..151ecb9aec20f88ff19388ab1e6ac797caa5ae11 100644 (file)
@@ -69,6 +69,9 @@ void screen_set_desktop(guint num);
 guint screen_cycle_desktop(ObDirection dir, gboolean wrap, gboolean linear,
                            gboolean dialog, gboolean done, gboolean cancel);
 
+/*! Show/hide the desktop popup (pager) for the given desktop */
+void screen_desktop_popup(guint d, gboolean show);
+
 /*! Shows and focuses the desktop and hides all the client windows, or
   returns to the normal state, showing client windows. */
 void screen_show_desktop(gboolean show);
This page took 0.029822 seconds and 4 git commands to generate.