]> git.decadent.org.uk Git - ion3.git/blobdiff - ioncore/rootwin.h
Update cfg_kludge_flash for Flash 10
[ion3.git] / ioncore / rootwin.h
index 41dd89c68e1b43dc10b482413e25b62f54398ea6..0cdde3dc74c445ecc866b91806df28de2c1ef343 100644 (file)
@@ -1,12 +1,9 @@
 /*
  * ion/ioncore/rootwin.h
  *
- * Copyright (c) Tuomo Valkonen 1999-2006
+ * Copyright (c) Tuomo Valkonen 1999-2009
  *
- * 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;                    \
@@ -26,7 +25,7 @@
 
 
 DECLCLASS(WRootWin){
-    WWindow wwin;
+    WScreen scr;
     int xscr;
     
     Colormap default_cmap;
@@ -44,7 +43,7 @@ extern void rootwin_deinit(WRootWin *rootwin);
 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 */