Revert "link mute/volumeup/volumedown keys to respective amixer commands"
[notion/jeffpc.git] / ioncore / rootwin.h
blobcb69afab1cb66678ccff61d2d009a7814171a6d7
1 /*
2 * ion/ioncore/rootwin.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
7 */
9 #ifndef ION_IONCORE_ROOTWIN_H
10 #define ION_IONCORE_ROOTWIN_H
12 #include "common.h"
13 #include "window.h"
14 #include "screen.h"
15 #include "gr.h"
16 #include "rectangle.h"
17 #include "screen.h"
20 #define WROOTWIN_ROOT(X) ((X)->wwin.win)
21 #define FOR_ALL_ROOTWINS(RW) \
22 for(RW=ioncore_g.rootwins; \
23 RW!=NULL; \
24 RW=OBJ_CAST(((WRegion*)RW)->p_next, WRootWin))
27 DECLCLASS(WRootWin){
28 WWindow wwin;
29 int xscr;
31 Colormap default_cmap;
33 Window *tmpwins;
34 int tmpnwins;
36 Window dummy_win;
38 GC xor_gc;
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 */