4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
21 inline Display * getDisplay()
23 return gdk_x11_get_default_xdisplay();
27 inline int getScreen()
29 return gdk_x11_get_default_screen();
33 inline Window getRootWindow()
35 static Window rootWin =
36 GDK_WINDOW_XID(Gdk::Display::get_default()->
37 get_default_screen()->
38 get_root_window()->gobj());
47 int width, height, x, y;
48 Gdk::Display::get_default()->get_default_screen()->
50 get_geometry(x, y, width, height, depth);
56 inline Colormap getColormap()
58 static Colormap colormap = GDK_COLORMAP_XCOLORMAP(
59 Gdk::Display::get_default()->get_default_screen()->
60 get_default_colormap()->gobj());