|
CTWM
|
#include "ctwm.h"#include <stdio.h>#include <string.h>#include <stdlib.h>#include <X11/Xatom.h>#include <X11/Xmu/WinUtil.h>#include "captive.h"#include "events.h"#include "screen.h"#include "ctwm_atoms.h"#include "util.h"#include "vscreen.h"Go to the source code of this file.
Functions | |
| static char ** | GetCaptivesList (int scrnum) |
| static void | SetCaptivesList (int scrnum, char **clist) |
| static void | freeCaptivesList (char **clist) |
| static Window | CaptiveCtwmRootWindow (Window window) |
| static bool | DontRedirect (Window window) |
| bool | RedirectToCaptive (Window window) |
| char * | AddToCaptiveList (const char *cptname) |
| void | RemoveFromCaptiveList (const char *cptname) |
| void | SetPropsIfCaptiveCtwm (TwmWindow *win) |
| CaptiveCTWM | GetCaptiveCTWMUnderPointer (void) |
| void | SetNoRedirect (Window window) |
| void | ConfigureCaptiveRootWindow (XEvent *ev) |
| void | AdoptWindow (void) |
Variables | |
| static Atom | XA_WM_CTWM_ROOT_our_name |
| static XrmOptionDescRec | table [] |
| char * AddToCaptiveList | ( | const char * | cptname | ) |
Definition at line 308 of file captive.c.
References dpy, freeCaptivesList(), GetCaptivesList(), root, Scr, SetCaptivesList(), and XA_WM_CTWM_ROOT_our_name.
Referenced by ctwm_main().
| void AdoptWindow | ( | void | ) |
Definition at line 690 of file captive.c.
References dpy, len, RestartPreviousState, root, Scr, and SimulateMapRequest().
Referenced by f_adoptwindow_impl().
|
static |
Definition at line 522 of file captive.c.
Referenced by GetCaptiveCTWMUnderPointer(), and SetPropsIfCaptiveCtwm().
| void ConfigureCaptiveRootWindow | ( | XEvent * | ev | ) |
Definition at line 641 of file captive.c.
References CLarg, dpy, ProgramName, root, Scr, x, and y.
Referenced by DispatchEvent().
|
static |
Definition at line 616 of file captive.c.
Referenced by RedirectToCaptive().
|
static |
Definition at line 251 of file captive.c.
Referenced by AddToCaptiveList(), and RemoveFromCaptiveList().
| CaptiveCTWM GetCaptiveCTWMUnderPointer | ( | void | ) |
Definition at line 550 of file captive.c.
References CaptiveCtwmRootWindow(), dpy, JunkMask, JunkRoot, JunkX, JunkY, CaptiveCTWM::name, CaptiveCTWM::root, root, and Scr.
Referenced by f_hypermove_impl().
|
static |
Definition at line 200 of file captive.c.
References dpy, len, and root.
Referenced by AddToCaptiveList(), and RemoveFromCaptiveList().
| bool RedirectToCaptive | ( | Window | window | ) |
Definition at line 60 of file captive.c.
References DontRedirect(), dpy, safe_strncpy(), Scr, and table.
Referenced by AddWindow().
| void RemoveFromCaptiveList | ( | const char * | cptname | ) |
Definition at line 425 of file captive.c.
References dpy, freeCaptivesList(), GetCaptivesList(), root, Scr, SetCaptivesList(), and XA_WM_CTWM_ROOT_our_name.
Referenced by DoShutdown().
|
static |
Definition at line 270 of file captive.c.
References dpy, len, and root.
Referenced by AddToCaptiveList(), and RemoveFromCaptiveList().
| void SetNoRedirect | ( | Window | window | ) |
| void SetPropsIfCaptiveCtwm | ( | TwmWindow * | win | ) |
Definition at line 502 of file captive.c.
References CaptiveCtwmRootWindow(), dpy, TwmWindow::frame, and TwmWindow::w.
Referenced by AddWindow().
|
static |
Definition at line 51 of file captive.c.
Referenced by RedirectToCaptive(), and SetupOccupation().
|
static |
Definition at line 48 of file captive.c.
Referenced by AddToCaptiveList(), and RemoveFromCaptiveList().