diff options
Diffstat (limited to 'mpeglib/lib/util/render/x11/initDisplay.cpp')
-rw-r--r-- | mpeglib/lib/util/render/x11/initDisplay.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mpeglib/lib/util/render/x11/initDisplay.cpp b/mpeglib/lib/util/render/x11/initDisplay.cpp index d0029eb6..2a62e721 100644 --- a/mpeglib/lib/util/render/x11/initDisplay.cpp +++ b/mpeglib/lib/util/render/x11/initDisplay.cpp @@ -128,7 +128,7 @@ void CreateFullColorWindow (XWindow* xwindow) { int depth; Visual *visual; XSetWindowAttributes xswa; - unsigned long mask; + unsigned long tqmask; unsigned int c_class; int screen; Display *dpy=xwindow->display; @@ -152,7 +152,7 @@ void CreateFullColorWindow (XWindow* xwindow) { cout << "visual is null"<<endl; return; } - mask = CWBackPixel | CWColormap | CWBorderPixel; + tqmask = CWBackPixel | CWColormap | CWBorderPixel; if (xwindow->colormap==0) { xswa.colormap = XCreateColormap(dpy, XRootWindow(dpy, screen), @@ -166,7 +166,7 @@ void CreateFullColorWindow (XWindow* xwindow) { /* xwindow->window = XCreateWindow(dpy, RootWindow(dpy, screen), x, y, w, h, (unsigned int) 1, depth, c_class, - visual, mask, &xswa); + visual, tqmask, &xswa); */ } |