2 * ion/ioncore/rootwin.h
4 * Copyright (c) Tuomo Valkonen 1999-2007.
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"
23 #define WROOTWIN_ROOT(X) (((WWindow*)(X))->win)
24 #define FOR_ALL_ROOTWINS(RW) \
25 for(RW=ioncore_g.rootwins; \
27 RW=OBJ_CAST(((WRegion*)RW)->p_next, WRootWin))
34 Colormap default_cmap;
45 extern void rootwin_deinit(WRootWin *rootwin);
46 extern WScreen *rootwin_current_scr(WRootWin *rootwin);
48 extern void rootwin_manage_initial_windows(WRootWin *rootwin);
49 extern WRootWin *create_rootwin(int xscr);
51 #endif /* ION_IONCORE_ROOTWIN_H */