Alexandre Julliard : winex11: Add a trace in ExtEscape to make wgl problems easier to diagnose.

Alexandre Julliard julliard at winehq.org
Mon Jun 9 13:17:15 CDT 2008


Module: wine
Branch: master
Commit: 77416b8668833b3d23afe979afd929b98b8f0176
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=77416b8668833b3d23afe979afd929b98b8f0176

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Jun  9 16:57:38 2008 +0200

winex11: Add a trace in ExtEscape to make wgl problems easier to diagnose.

---

 dlls/winex11.drv/init.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/winex11.drv/init.c b/dlls/winex11.drv/init.c
index cc95057..a8c5695 100644
--- a/dlls/winex11.drv/init.c
+++ b/dlls/winex11.drv/init.c
@@ -346,6 +346,9 @@ INT X11DRV_ExtEscape( X11DRV_PDEVICE *physDev, INT escape, INT in_count, LPCVOID
                     wine_tsx11_lock();
                     XSetSubwindowMode( gdi_display, physDev->gc, data->mode );
                     wine_tsx11_unlock();
+                    TRACE( "SET_DRAWABLE hdc %p drawable %lx gl_drawable %lx pf %u dc_rect %s drawable_rect %s\n",
+                           physDev->hdc, physDev->drawable, physDev->gl_drawable, physDev->current_pf,
+                           wine_dbgstr_rect(&physDev->dc_rect), wine_dbgstr_rect(&physDev->drawable_rect) );
                     return TRUE;
                 }
                 break;




More information about the wine-cvs mailing list