vscreen.h revision 0bbfda8a
1/*
2 * Copyright 1992 Claude Lecommandeur.
3 */
4#ifndef _CTWM_VSCREEN_H
5#define _CTWM_VSCREEN_H
6
7struct VirtualScreen {
8	int   x, y, w, h;             /* x,y relative to XineramaRoot */
9	Window window;
10	/* Boolean main; */
11	struct WorkSpaceWindow *wsw;
12	struct VirtualScreen *next;
13};
14
15void InitVirtualScreens(ScreenInfo *scr);
16VirtualScreen *findIfVScreenOf(int x, int y);
17VirtualScreen *getVScreenOf(int x, int y);
18char *CtwmGetVScreenMap(Display *display, Window rootw);
19bool CtwmSetVScreenMap(Display *display, Window rootw,
20                       struct VirtualScreen *firstvs);
21
22void DisplayWin(VirtualScreen *vs, TwmWindow *tmp_win);
23void ReparentFrameAndIcon(TwmWindow *tmp_win);
24void Vanish(VirtualScreen *vs, TwmWindow *tmp_win);
25
26#endif /* _CTWM_VSCREEN_H */
27