diff options
author | albator <[email protected]> | 2011-10-21 20:16:07 +0200 |
---|---|---|
committer | albator <[email protected]> | 2011-10-21 20:16:07 +0200 |
commit | 7a0adf35896618a7570e425941fc1b74c54def47 (patch) | |
tree | 16dab9d8bfbd93575440f357c70907cbb5480980 /mandriva/2010.2/kdegraphics/kdegraphics-3.5.12-kgamma_opendisplay.patch | |
parent | cd71be65dc30c8007ec54becdf6c50260ed8e908 (diff) | |
parent | a8707e2a9f22d082cecb8ea6079175076f983c55 (diff) | |
download | tde-packaging-7a0adf35896618a7570e425941fc1b74c54def47.tar.gz tde-packaging-7a0adf35896618a7570e425941fc1b74c54def47.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'mandriva/2010.2/kdegraphics/kdegraphics-3.5.12-kgamma_opendisplay.patch')
-rw-r--r-- | mandriva/2010.2/kdegraphics/kdegraphics-3.5.12-kgamma_opendisplay.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mandriva/2010.2/kdegraphics/kdegraphics-3.5.12-kgamma_opendisplay.patch b/mandriva/2010.2/kdegraphics/kdegraphics-3.5.12-kgamma_opendisplay.patch new file mode 100644 index 000000000..84caebc90 --- /dev/null +++ b/mandriva/2010.2/kdegraphics/kdegraphics-3.5.12-kgamma_opendisplay.patch @@ -0,0 +1,29 @@ +--- kgamma/kcmkgamma/xvidextwrap.cpp.orig 2010-08-13 10:03:09.000000000 +0100 ++++ kgamma/kcmkgamma/xvidextwrap.cpp 2011-07-20 15:25:44.133775992 +0100 +@@ -16,6 +16,7 @@ + ***************************************************************************/ + #include <tqnamespace.h> + #include <tqevent.h> ++#include <tqwindowdefs.h> + + #include <X11/Xos.h> + #include <X11/Xlib.h> +@@ -47,7 +48,8 @@ + + + XVidExtWrap::XVidExtWrap(bool* OK, const char* displayname) { +- if ((dpy = XOpenDisplay(displayname))) { ++ dpy = qt_xdisplay(); ++ if (dpy) { + screen = DefaultScreen(dpy); + setGammaLimits(0.1, 10.0); + *OK = true; +@@ -59,7 +61,7 @@ + } + + XVidExtWrap::~XVidExtWrap() { +- if (dpy) XCloseDisplay(dpy); ++ + } + + int XVidExtWrap::_DefaultScreen() { |