/*
* ion/ioncore/rootwin.h
*
- * Copyright (c) Tuomo Valkonen 1999-2006.
+ * Copyright (c) Tuomo Valkonen 1999-2007.
*
- * Ion is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
+ * See the included file LICENSE for details.
*/
#ifndef ION_IONCORE_ROOTWIN_H
#include "screen.h"
#include "gr.h"
#include "rectangle.h"
+#include "screen.h"
+
-#define WROOTWIN_ROOT(X) ((X)->wwin.win)
+#define WROOTWIN_ROOT(X) (((WWindow*)(X))->win)
#define FOR_ALL_ROOTWINS(RW) \
for(RW=ioncore_g.rootwins; \
RW!=NULL; \
DECLCLASS(WRootWin){
- WWindow wwin;
+ WScreen scr;
int xscr;
Colormap default_cmap;
extern WScreen *rootwin_current_scr(WRootWin *rootwin);
extern void rootwin_manage_initial_windows(WRootWin *rootwin);
-extern WRootWin *ioncore_manage_rootwin(int xscr, bool noxinerama);
+extern WRootWin *create_rootwin(int xscr);
#endif /* ION_IONCORE_ROOTWIN_H */