Cross Reference: captive.h
xref: /xsrc/external/mit/ctwm/dist/captive.h
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/external/mit/ctwm/dist/
10bbfda8aSnia/*
20bbfda8aSnia * Captive ctwm handling bits.
30bbfda8aSnia */
40bbfda8aSnia
50bbfda8aSnia#ifndef _CTWM_CAPTIVE_H
60bbfda8aSnia#define _CTWM_CAPTIVE_H
70bbfda8aSnia
8b18c2d1eSnia// Guard to help catch non-ifdef'd references
9b18c2d1eSnia#ifndef CAPTIVE
10b18c2d1eSnia#error "You're unconditionally including captive.h!"
11b18c2d1eSnia#endif
12b18c2d1eSnia
130bbfda8aSnia
140bbfda8aSniatypedef struct CaptiveCTWM {
150bbfda8aSnia	Window        root;
160bbfda8aSnia	char          *name;
170bbfda8aSnia} CaptiveCTWM;
180bbfda8aSnia
190bbfda8aSnia
200bbfda8aSniabool RedirectToCaptive(Window window);
210bbfda8aSniachar *AddToCaptiveList(const char *cptname);
220bbfda8aSniavoid RemoveFromCaptiveList(const char *cptname);
230bbfda8aSniavoid SetPropsIfCaptiveCtwm(TwmWindow *win);
240bbfda8aSniaCaptiveCTWM GetCaptiveCTWMUnderPointer(void);
250bbfda8aSniavoid SetNoRedirect(Window window);
260bbfda8aSniavoid ConfigureCaptiveRootWindow(XEvent *ev);
270bbfda8aSniavoid AdoptWindow(void);
280bbfda8aSnia
290bbfda8aSnia
300bbfda8aSnia#endif //_CTWM_CAPTIVE_H
31

Indexes created Sat Nov 29 00:09:30 GMT 2025