diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-25 15:16:22 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-25 15:16:22 +0200 |
commit | 48aac8801df86e743f5890a3cdc4882d0af89a4e (patch) | |
tree | fbef1606ce6784a8811bc10326218dcd3183e85d /src/screen.c | |
parent | 0a1fe85b05749c9d1bb23142f4f9874ec716426b (diff) | |
download | jwm-48aac8801df86e743f5890a3cdc4882d0af89a4e.tar.gz |
Convert remaining function definitions
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/screen.c b/src/screen.c index d62c1d5..0f9289c 100644 --- a/src/screen.c +++ b/src/screen.c @@ -89,7 +89,9 @@ DestroyScreens() /**************************************************************************** ****************************************************************************/ -const ScreenType *GetCurrentScreen(int x, int y) { +const ScreenType * +GetCurrentScreen(int x, int y) +{ ScreenType *sp; int index; @@ -109,7 +111,9 @@ const ScreenType *GetCurrentScreen(int x, int y) { /**************************************************************************** ****************************************************************************/ -const ScreenType *GetMouseScreen() { +const ScreenType * +GetMouseScreen() +{ #ifdef USE_XINERAMA int x, y; @@ -126,7 +130,9 @@ const ScreenType *GetMouseScreen() { /**************************************************************************** ****************************************************************************/ -const ScreenType *GetScreen(int index) { +const ScreenType * +GetScreen(int index) +{ Assert(index >= 0); Assert(index < screenCount); |