summaryrefslogtreecommitdiff
path: root/src/iconmgr.h
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-11-23 05:48:34 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2019-11-23 05:48:34 -0500
commit077a496c38fc993d7691ce5aab1e9c2b4aee4b02 (patch)
treea426a7cb6deae949b6d6931ca6c0bd371a9ad9ac /src/iconmgr.h
parent2e0923ba703d040160bac1deb05d5d6d4cbd62aa (diff)
Formatted most of the C files using "twm-indent", part of cindent at
https://invisible-island.net/cindent/ That is essentially a script which adds typedefs to the x-indent.sh script. No object-code changed in this reformatting. Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/iconmgr.h')
-rw-r--r--src/iconmgr.h51
1 files changed, 25 insertions, 26 deletions
diff --git a/src/iconmgr.h b/src/iconmgr.h
index 6157fa3..c74ffb1 100644
--- a/src/iconmgr.h
+++ b/src/iconmgr.h
@@ -34,8 +34,7 @@ in this Software without prior written authorization from The Open Group.
#ifndef _ICONMGR_
#define _ICONMGR_
-typedef struct WList
-{
+typedef struct WList {
struct WList *next;
struct WList *prev;
struct TwmWindow *twm;
@@ -51,18 +50,17 @@ typedef struct WList
short down;
} WList;
-typedef struct IconMgr
-{
- struct IconMgr *next; /* pointer to the next icon manager */
- struct IconMgr *prev; /* pointer to the previous icon mgr */
- struct IconMgr *lasti; /* pointer to the last icon mgr */
- struct WList *first; /* first window in the list */
- struct WList *last; /* last window in the list */
- struct WList *active; /* the active entry */
- TwmWindow *twm_win; /* back pointer to the new parent */
- struct ScreenInfo *scr; /* the screen this thing is on */
- Window w; /* this icon manager window */
- const char *geometry; /* geometry string */
+typedef struct IconMgr {
+ struct IconMgr *next; /* pointer to the next icon manager */
+ struct IconMgr *prev; /* pointer to the previous icon mgr */
+ struct IconMgr *lasti; /* pointer to the last icon mgr */
+ struct WList *first; /* first window in the list */
+ struct WList *last; /* last window in the list */
+ struct WList *active; /* the active entry */
+ TwmWindow *twm_win; /* back pointer to the new parent */
+ struct ScreenInfo *scr; /* the screen this thing is on */
+ Window w; /* this icon manager window */
+ const char *geometry; /* geometry string */
const char *name;
const char *icon_name;
int x, y, width, height;
@@ -74,16 +72,17 @@ extern int iconmgr_textx;
extern WList *DownIconManager;
extern int iconifybox_width, iconifybox_height;
-extern void ActiveIconManager ( WList *active );
-extern WList *AddIconManager ( TwmWindow *tmp_win );
-extern IconMgr *AllocateIconManager ( char *name, char *icon_name, char *geom, int columns );
-extern void CreateIconManagers ( void );
-extern void DrawIconManagerBorder ( WList *tmp );
-extern void JumpIconManager ( int dir );
-extern void MoveIconManager ( int dir );
-extern void NotActiveIconManager ( WList *active );
-extern void PackIconManager ( IconMgr *ip );
-extern void RemoveIconManager ( TwmWindow *tmp_win );
-extern void SortIconManager ( IconMgr *ip );
+extern void ActiveIconManager(WList *active);
+extern WList *AddIconManager(TwmWindow *tmp_win);
+extern IconMgr *AllocateIconManager(char *name, char *icon_name, char *geom,
+ int columns);
+extern void CreateIconManagers(void);
+extern void DrawIconManagerBorder(WList *tmp);
+extern void JumpIconManager(int dir);
+extern void MoveIconManager(int dir);
+extern void NotActiveIconManager(WList *active);
+extern void PackIconManager(IconMgr *ip);
+extern void RemoveIconManager(TwmWindow *tmp_win);
+extern void SortIconManager(IconMgr *ip);
-#endif /* _ICONMGR_ */
+#endif /* _ICONMGR_ */