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
20 inline Display * getDisplay()
22 return gdk_x11_get_default_xdisplay();
26 inline int getScreen()
28 return gdk_x11_get_default_screen();
32 inline Window getRootWindow()
34 static Window rootWin =
35 GDK_WINDOW_XID(Gdk::Display::get_default()->
36 get_default_screen()->
37 get_root_window()->gobj());
46 int width, height, x, y;
47 Gdk::Display::get_default()->get_default_screen()->
49 get_geometry(x, y, width, height, depth);
55 inline Colormap getColormap()
57 static Colormap colormap = GDK_COLORMAP_XCOLORMAP(
58 Gdk::Display::get_default()->get_default_screen()->
59 get_default_colormap()->gobj());