~ctwm/ctwm/trunk

503.1.44 by Matthew Fuller
Bust the bits related to Captive handling out of workmgr.c into their
1
/*
2
 * Captive ctwm handling bits.
3
 */
4
5
#ifndef _CTWM_CAPTIVE_H
6
#define _CTWM_CAPTIVE_H
7
8
9
typedef struct CaptiveCTWM {
10
	Window        root;
11
	char          *name;
12
} CaptiveCTWM;
13
14
15
bool RedirectToCaptive(Window window);
16
char *AddToCaptiveList(const char *cptname);
17
void RemoveFromCaptiveList(const char *cptname);
18
void SetPropsIfCaptiveCtwm(TwmWindow *win);
19
CaptiveCTWM GetCaptiveCTWMUnderPointer(void);
20
void SetNoRedirect(Window window);
521.1.9 by Matthew Fuller
Move ConfigureCaptiveRootWindow() over to captive.c.
21
void ConfigureCaptiveRootWindow(XEvent *ev);
539.1.1 by Matthew Fuller
Move AdoptWindow() over into captive.c.
22
void AdoptWindow(void);
503.1.44 by Matthew Fuller
Bust the bits related to Captive handling out of workmgr.c into their
23
24
25
#endif //_CTWM_CAPTIVE_H