X-Git-Url: https://git.decadent.org.uk/gitweb/?p=ion3.git;a=blobdiff_plain;f=ioncore%2Frootwin.h;h=0cdde3dc74c445ecc866b91806df28de2c1ef343;hp=41dd89c68e1b43dc10b482413e25b62f54398ea6;hb=HEAD;hpb=8366314611bf30a0f31d25bf5f5023186fa87692 diff --git a/ioncore/rootwin.h b/ioncore/rootwin.h index 41dd89c..0cdde3d 100644 --- a/ioncore/rootwin.h +++ b/ioncore/rootwin.h @@ -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 @@ -17,8 +14,10 @@ #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 */