fixes for building with gdk 2.0
2002-07-29 jacob berkman <jacob@ximian.com> * applier.c (set_root_pixmap): (make_root_pixmap): fixes for building with gdk 2.0
This commit is contained in:
parent
1f18e59fb4
commit
fc7396ec43
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2002-07-29 jacob berkman <jacob@ximian.com>
|
||||||
|
|
||||||
|
* applier.c (set_root_pixmap):
|
||||||
|
(make_root_pixmap): fixes for building with gdk 2.0
|
||||||
|
|
||||||
2002-07-27 Mark McLoughlin <mark@skynet.ie>
|
2002-07-27 Mark McLoughlin <mark@skynet.ie>
|
||||||
|
|
||||||
Add support for rendering the wallpaper on
|
Add support for rendering the wallpaper on
|
||||||
|
|
|
@ -1427,7 +1427,12 @@ make_root_pixmap (GdkScreen *screen, gint width, gint height)
|
||||||
|
|
||||||
gdk_flush ();
|
gdk_flush ();
|
||||||
|
|
||||||
|
#ifdef HAVE_GTK_MULTIHEAD
|
||||||
display_name = DisplayString (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()));
|
display_name = DisplayString (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()));
|
||||||
|
#else
|
||||||
|
display_name = DisplayString (GDK_DISPLAY ());
|
||||||
|
#endif
|
||||||
|
|
||||||
display = XOpenDisplay (display_name);
|
display = XOpenDisplay (display_name);
|
||||||
|
|
||||||
if (display == NULL) {
|
if (display == NULL) {
|
||||||
|
@ -1491,7 +1496,11 @@ set_root_pixmap (GdkPixmap *pixmap, GdkScreen *screen)
|
||||||
else
|
else
|
||||||
pixmap_id = 0;
|
pixmap_id = 0;
|
||||||
|
|
||||||
|
#ifdef HAVE_GTK_MULTIHEAD
|
||||||
display = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ());
|
display = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ());
|
||||||
|
#else
|
||||||
|
display = GDK_DISPLAY ();
|
||||||
|
#endif
|
||||||
|
|
||||||
XGrabServer (display);
|
XGrabServer (display);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue