< prev index next >

src/java.desktop/unix/native/common/java2d/x11/X11SurfaceData.c

Print this page

        

*** 268,278 **** xsdo->sdOps.GetRasInfo = X11SD_GetRasInfo; xsdo->sdOps.Unlock = X11SD_Unlock; xsdo->sdOps.Dispose = X11SD_Dispose; xsdo->GetPixmapWithBg = X11SD_GetPixmapWithBg; xsdo->ReleasePixmapWithBg = X11SD_ReleasePixmapWithBg; - xsdo->widget = NULL; if (peer != NULL) { xsdo->drawable = JNU_CallMethodByName(env, &hasException, peer, "getWindow", "()J").j; if (hasException) { return; } --- 268,277 ----
*** 1085,1095 **** static int X11SD_ClipToRoot(SurfaceDataBounds *b, SurfaceDataBounds *bounds, X11SDOps *xsdo) { ! Position x1=0, y1=0, x2=0, y2=0; int tmpx, tmpy; Window tmpchild; Window window = (Window)(xsdo->drawable); /* is always a Window */ XWindowAttributes winAttr; --- 1084,1094 ---- static int X11SD_ClipToRoot(SurfaceDataBounds *b, SurfaceDataBounds *bounds, X11SDOps *xsdo) { ! short x1=0, y1=0, x2=0, y2=0; int tmpx, tmpy; Window tmpchild; Window window = (Window)(xsdo->drawable); /* is always a Window */ XWindowAttributes winAttr;
< prev index next >