diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-26 07:41:16 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-26 07:41:16 +0000 |
| commit | 07c3a31cf5794447d3a5a52086cdeb808d817f3a (patch) | |
| tree | 15ed85862a3f28f60399c622f72cc7e7071e1cd2 | |
| parent | 2de2678e912fdfb56fcee2f323a66bb20bdefab9 (diff) | |
make the desktop popup a public function
| -rw-r--r-- | openbox/screen.c | 6 | ||||
| -rw-r--r-- | openbox/screen.h | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/openbox/screen.c b/openbox/screen.c index d37288fa..7f0c70c9 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -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; } diff --git a/openbox/screen.h b/openbox/screen.h index 2fd1108c..151ecb9a 100644 --- a/openbox/screen.h +++ b/openbox/screen.h @@ -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); |
