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 |
||
692.1.6
by Matthew Fuller
Conditionalize including captive.h. |
8 |
// Guard to help catch non-ifdef'd references
|
9 |
#ifndef CAPTIVE
|
|
10 |
#error "You're unconditionally including captive.h!"
|
|
11 |
#endif
|
|
12 |
||
503.1.44
by Matthew Fuller
Bust the bits related to Captive handling out of workmgr.c into their |
13 |
|
14 |
typedef struct CaptiveCTWM { |
|
15 |
Window root; |
|
16 |
char *name; |
|
17 |
} CaptiveCTWM; |
|
18 |
||
19 |
||
20 |
bool RedirectToCaptive(Window window); |
|
21 |
char *AddToCaptiveList(const char *cptname); |
|
22 |
void RemoveFromCaptiveList(const char *cptname); |
|
23 |
void SetPropsIfCaptiveCtwm(TwmWindow *win); |
|
24 |
CaptiveCTWM GetCaptiveCTWMUnderPointer(void); |
|
25 |
void SetNoRedirect(Window window); |
|
521.1.9
by Matthew Fuller
Move ConfigureCaptiveRootWindow() over to captive.c. |
26 |
void ConfigureCaptiveRootWindow(XEvent *ev); |
539.1.1
by Matthew Fuller
Move AdoptWindow() over into captive.c. |
27 |
void AdoptWindow(void); |
503.1.44
by Matthew Fuller
Bust the bits related to Captive handling out of workmgr.c into their |
28 |
|
29 |
||
30 |
#endif //_CTWM_CAPTIVE_H |