aboutsummaryrefslogtreecommitdiff
path: root/src/dock.h
blob: 307f348ae41dd29bc80cce5fe2af5baa6ff3c458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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