diff options
Diffstat (limited to 'tdecore')
-rw-r--r-- | tdecore/tdeapplication.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/tdecore/tdeapplication.cpp b/tdecore/tdeapplication.cpp index 26138f86b..450e522c1 100644 --- a/tdecore/tdeapplication.cpp +++ b/tdecore/tdeapplication.cpp @@ -201,7 +201,7 @@ static Atom atom_NetSupported; static Atom kde_xdnd_drop; #endif -#ifdef Q_WS_X11 +#if defined(Q_WS_X11) && defined(COMPOSITE) static int composite_event, composite_error, composite_opcode; static bool x11_composite_error_generated; static int x11_error(Display *dpy, XErrorEvent *ev) { @@ -2114,7 +2114,7 @@ bool TDEApplication::isCompositionManagerAvailable() { return false; } -bool TDEApplication::detectCompositionManagerAvailable(bool force_available) { +bool TDEApplication::detectCompositionManagerAvailable(bool force_available, bool available) { const char *home; struct passwd *p; p = getpwuid(getuid()); @@ -2156,21 +2156,17 @@ Display* TDEApplication::openX11RGBADisplay() { return 0; } -Qt::HANDLE TDEApplication::getX11RGBAVisual(char *display) { +Qt::HANDLE TDEApplication::getX11RGBAVisual(Display *dpy) { return 0; } -Qt::HANDLE TDEApplication::getX11RGBAColormap(char *display) { +Qt::HANDLE TDEApplication::getX11RGBAColormap(Display *dpy) { return 0; } bool TDEApplication::isX11CompositionAvailable() { return false; } - -TDEApplication TDEApplication::KARGBApplication( bool allowStyles ) { - return TDEApplication::TDEApplication(allowStyles, true); -} #endif static bool kapp_block_user_input = false; |