aboutsummaryrefslogtreecommitdiff
path: root/src/desktop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop.c')
-rw-r--r--src/desktop.c40
1 files changed, 30 insertions, 10 deletions
diff --git a/src/desktop.c b/src/desktop.c
index 1d09050..ea8bad7 100644
--- a/src/desktop.c
+++ b/src/desktop.c
@@ -18,12 +18,16 @@ static int showingDesktop;
/***************************************************************************
***************************************************************************/
-void InitializeDesktops() {
+void
+InitializeDesktops()
+{
}
/***************************************************************************
***************************************************************************/
-void StartupDesktops() {
+void
+StartupDesktops()
+{
unsigned int x;
@@ -46,12 +50,16 @@ void StartupDesktops() {
/***************************************************************************
***************************************************************************/
-void ShutdownDesktops() {
+void
+ShutdownDesktops()
+{
}
/***************************************************************************
***************************************************************************/
-void DestroyDesktops() {
+void
+DestroyDesktops()
+{
unsigned int x;
@@ -67,13 +75,17 @@ void DestroyDesktops() {
/***************************************************************************
***************************************************************************/
-void NextDesktop() {
+void
+NextDesktop()
+{
ChangeDesktop((currentDesktop + 1) % desktopCount);
}
/***************************************************************************
***************************************************************************/
-void PreviousDesktop() {
+void
+PreviousDesktop()
+{
if(currentDesktop > 0) {
ChangeDesktop(currentDesktop - 1);
} else {
@@ -83,7 +95,9 @@ void PreviousDesktop() {
/***************************************************************************
***************************************************************************/
-void ChangeDesktop(unsigned int desktop) {
+void
+ChangeDesktop(unsigned int desktop)
+{
ClientNode *np;
unsigned int x;
@@ -165,7 +179,9 @@ Menu *CreateDesktopMenu(unsigned int mask) {
/***************************************************************************
***************************************************************************/
-void ShowDesktop() {
+void
+ShowDesktop()
+{
ClientNode *np;
int layer;
@@ -194,7 +210,9 @@ void ShowDesktop() {
/***************************************************************************
***************************************************************************/
-void SetDesktopCount(const char *str) {
+void
+SetDesktopCount(const char *str)
+{
if(!str) {
Warning("invalid desktop count");
@@ -211,7 +229,9 @@ void SetDesktopCount(const char *str) {
/***************************************************************************
***************************************************************************/
-void SetDesktopName(unsigned int desktop, const char *str) {
+void
+SetDesktopName(unsigned int desktop, const char *str)
+{
unsigned int x;