2 * ion/ioncore/rootwin.h
4 * Copyright (c) Tuomo Valkonen 1999-2008.
6 * See the included file LICENSE for details.
9 #ifndef ION_IONCORE_ROOTWIN_H
10 #define ION_IONCORE_ROOTWIN_H
16 #include "rectangle.h"
20 #define WROOTWIN_ROOT(X) (((WWindow*)(X))->win)
21 #define FOR_ALL_ROOTWINS(RW) \
22 for(RW=ioncore_g.rootwins; \
24 RW=OBJ_CAST(((WRegion*)RW)->p_next, WRootWin))
31 Colormap default_cmap;
42 extern void rootwin_deinit(WRootWin *rootwin);
43 extern WScreen *rootwin_current_scr(WRootWin *rootwin);
45 extern void rootwin_manage_initial_windows(WRootWin *rootwin);
46 extern WRootWin *create_rootwin(int xscr);
48 #endif /* ION_IONCORE_ROOTWIN_H */