10bbfda8aSnia/* 20bbfda8aSnia * Copyright 1992 Claude Lecommandeur. 3645f5050Syouri */ 40bbfda8aSnia#ifndef _CTWM_VSCREEN_H 50bbfda8aSnia#define _CTWM_VSCREEN_H 6645f5050Syouri 70bbfda8aSniastruct VirtualScreen { 80bbfda8aSnia int x, y, w, h; /* x,y relative to XineramaRoot */ 90bbfda8aSnia Window window; 100bbfda8aSnia /* Boolean main; */ 110bbfda8aSnia struct WorkSpaceWindow *wsw; 120bbfda8aSnia struct VirtualScreen *next; 13645f5050Syouri}; 14645f5050Syouri 150bbfda8aSniavoid InitVirtualScreens(ScreenInfo *scr); 16df1c27a6Snia#ifdef VSCREEN 170bbfda8aSniaVirtualScreen *findIfVScreenOf(int x, int y); 18df1c27a6Snia#endif 190bbfda8aSniachar *CtwmGetVScreenMap(Display *display, Window rootw); 200bbfda8aSniabool CtwmSetVScreenMap(Display *display, Window rootw, 210bbfda8aSnia struct VirtualScreen *firstvs); 220bbfda8aSnia 230bbfda8aSniavoid DisplayWin(VirtualScreen *vs, TwmWindow *tmp_win); 240bbfda8aSniavoid ReparentFrameAndIcon(TwmWindow *tmp_win); 250bbfda8aSniavoid Vanish(VirtualScreen *vs, TwmWindow *tmp_win); 26645f5050Syouri 270bbfda8aSnia#endif /* _CTWM_VSCREEN_H */ 28