424
424
XPixmapID, &root, &x, &y,
425
425
&iWidth, &iHeight, &border_width, &iDepth))
427
cd_debug ("%s (%d) : %ux%ux%u (%d;%d)", __func__, XPixmapID, iWidth, iHeight, iDepth, x, y);
427
//g_print ("%s (%d) : %ux%ux%u (%d;%d)\n", __func__, XPixmapID, iWidth, iHeight, iDepth, x, y);
429
429
//\__________________ On recupere le drawable associe.
430
430
GdkDrawable *pGdkDrawable = gdk_xid_table_lookup (XPixmapID);
432
433
g_object_ref (G_OBJECT (pGdkDrawable));
436
438
GdkScreen* pScreen = gdk_screen_get_default ();
437
439
pGdkDrawable = gdk_pixmap_foreign_new_for_screen (pScreen, XPixmapID, iWidth, iHeight, iDepth);