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);
16#ifdef VSCREEN
17VirtualScreen *findIfVScreenOf(int x, int y);
18#endif
19char *CtwmGetVScreenMap(Display *display, Window rootw);
20bool CtwmSetVScreenMap(Display *display, Window rootw,
21                       struct VirtualScreen *firstvs);
22
23void DisplayWin(VirtualScreen *vs, TwmWindow *tmp_win);
24void ReparentFrameAndIcon(TwmWindow *tmp_win);
25void Vanish(VirtualScreen *vs, TwmWindow *tmp_win);
26
27#endif /* _CTWM_VSCREEN_H */
28