2 * ion/ioncore/rootwin.h
4 * Copyright (c) Tuomo Valkonen 1999-2006.
6 * Ion is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
12 #ifndef ION_IONCORE_ROOTWIN_H
13 #define ION_IONCORE_ROOTWIN_H
19 #include "rectangle.h"
21 #define WROOTWIN_ROOT(X) ((X)->wwin.win)
22 #define FOR_ALL_ROOTWINS(RW) \
23 for(RW=ioncore_g.rootwins; \
25 RW=OBJ_CAST(((WRegion*)RW)->p_next, WRootWin))
32 Colormap default_cmap;
43 extern void rootwin_deinit(WRootWin *rootwin);
44 extern WScreen *rootwin_current_scr(WRootWin *rootwin);
46 extern void rootwin_manage_initial_windows(WRootWin *rootwin);
47 extern WRootWin *ioncore_manage_rootwin(int xscr, bool noxinerama);
49 #endif /* ION_IONCORE_ROOTWIN_H */