Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: dialog.c Log Message: Fix some dialog debug stuff. =================================================================== RCS file: /cvs/e/e16/e/src/dialog.c,v retrieving revision 1.186 retrieving revision 1.187 diff -u -3 -r1.186 -r1.187 --- dialog.c 25 May 2007 22:40:47 -0000 1.186 +++ dialog.c 11 Jul 2007 09:32:31 -0000 1.187 @@ -480,7 +480,8 @@ return; #if DEBUG_DIALOGS - Eprintf("DialogRedraw win=%#lx pmap=%#lx\n", d->win, d->pmap); + Eprintf("DialogRedraw win=%#lx pmap=%#lx\n", + WinGetXwin(d->win), WinGetPmap(d->win)); #endif FreePmapMask(&(d->pmm_bg)); @@ -1651,10 +1652,10 @@ pad = ImageclassGetPadding(d->iclass); gcv.subwindow_mode = IncludeInferiors; - gc = EXCreateGC(d->pmap, GCSubwindowMode, &gcv); + gc = EXCreateGC(WinGetPmap(d->win), GCSubwindowMode, &gcv); XSetForeground(disp, gc, BlackPixel(disp, VRoot.scr)); - XDrawRectangle(disp, d->pmap, gc, pad->left + di->x, - pad->top + di->y, di->w, di->h); + XDrawRectangle(disp, WinGetPmap(d->win), gc, + pad->left + di->x, pad->top + di->y, di->w, di->h); EXFreeGC(gc); } #endif ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs