diff options
author | John Ankarstr\xf6m <john@ankarstrom.se> | 2021-05-29 12:54:47 +0200 |
---|---|---|
committer | John Ankarstr\xf6m <john@ankarstrom.se> | 2021-05-29 13:18:40 +0200 |
commit | a041d9898e6d699bd8c0c25482ec574feb03c547 (patch) | |
tree | 7f094e33fb530152c3ab6238ce7300750b47addb /src/dock.h | |
download | jwm-a041d9898e6d699bd8c0c25482ec574feb03c547.tar.gz |
First commit
This is the original state of the released tarball for JWM 1.8,
which will serve as my starting point for further modifications.
Diffstat (limited to 'src/dock.h')
-rw-r--r-- | src/dock.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/dock.h b/src/dock.h new file mode 100644 index 0000000..307f348 --- /dev/null +++ b/src/dock.h @@ -0,0 +1,43 @@ +/** + * @file dock.h + * @author Joe Wingbermuehle + * @date 2006 + * + * @brief Header for the dock functions. + * + */ + +#ifndef DOCK_H +#define DOCK_H + +struct TrayComponentType; + +/*@{*/ +void InitializeDock(); +void StartupDock(); +void ShutdownDock(); +void DestroyDock(); +/*@}*/ + +/** Create a dock to be used for notifications. + * Note that only one dock can be created. + */ +struct TrayComponentType *CreateDock(); + +/** Handle a client message sent to the dock window. + * @param event The event. + */ +void HandleDockEvent(const XClientMessageEvent *event); + +int HandleDockDestroy(Window win); + +int HandleDockSelectionClear(const XSelectionClearEvent *event); + +int HandleDockResizeRequest(const XResizeRequestEvent *event); + +int HandleDockConfigureRequest(const XConfigureRequestEvent *event); + +int HandleDockReparentNotify(const XReparentEvent *event); + +#endif + |