Set the pixmap_id correctly if pixmap is NULL or -1.
2001-12-17 Bradford Hovinen <hovinen@ximian.com> * applier.c (set_root_pixmap): Set the pixmap_id correctly if pixmap is NULL or -1.
This commit is contained in:
parent
d43d10b25e
commit
d69facaef6
2 changed files with 7 additions and 1 deletions
|
@ -1313,7 +1313,10 @@ set_root_pixmap (GdkPixmap *pixmap)
|
|||
guchar *data_esetroot;
|
||||
Pixmap pixmap_id;
|
||||
|
||||
pixmap_id = GDK_WINDOW_XWINDOW (pixmap);
|
||||
if (pixmap != NULL && pixmap != (GdkPixmap *) -1)
|
||||
pixmap_id = GDK_WINDOW_XWINDOW (pixmap);
|
||||
else
|
||||
pixmap_id = 0;
|
||||
|
||||
XGrabServer (GDK_DISPLAY ());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue