diff options
Diffstat (limited to 'src/viewarea.cpp')
-rw-r--r-- | src/viewarea.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/viewarea.cpp b/src/viewarea.cpp index f814718..858f3d7 100644 --- a/src/viewarea.cpp +++ b/src/viewarea.cpp @@ -222,16 +222,16 @@ KDE_NO_EXPORT void ViewSurface::video () { #ifdef HAVE_CAIRO static cairo_surface_t * cairoCreateSurface (Window id, int w, int h) { - Display * display = qt_xdisplay (); + Display * display = tqt_xdisplay (); return cairo_xlib_surface_create (display, id, DefaultVisual (display, DefaultScreen (display)), w, h); /*return cairo_xlib_surface_create_with_xrender_format ( - qt_xdisplay (), + tqt_xdisplay (), id, - DefaultScreenOfDisplay (qt_xdisplay ()), - XRenderFindVisualFormat (qt_xdisplay (), - DefaultVisual (qt_xdisplay (), - DefaultScreen (qt_xdisplay ()))), + DefaultScreenOfDisplay (tqt_xdisplay ()), + XRenderFindVisualFormat (tqt_xdisplay (), + DefaultVisual (tqt_xdisplay (), + DefaultScreen (tqt_xdisplay ()))), w, h);*/ } @@ -1487,7 +1487,7 @@ KDE_NO_EXPORT void ViewArea::syncVisual (const IRect & rect) { killTimer (m_repaint_timer); m_repaint_timer = 0; } - //XFlush (qt_xdisplay ()); + //XFlush (tqt_xdisplay ()); } KDE_NO_EXPORT void ViewArea::paintEvent (TQPaintEvent * pe) { |