|
|
@ -186,7 +186,7 @@ static Atom atom_NetSupported;
|
|
|
|
static Atom kde_xdnd_drop;
|
|
|
|
static Atom kde_xdnd_drop;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef Q_WS_X11
|
|
|
|
#if defined(Q_WS_X11) && defined(COMPOSITE)
|
|
|
|
static int composite_event, composite_error, composite_opcode;
|
|
|
|
static int composite_event, composite_error, composite_opcode;
|
|
|
|
static bool x11_composite_error_generated;
|
|
|
|
static bool x11_composite_error_generated;
|
|
|
|
static int x11_error(Display *dpy, XErrorEvent *ev) {
|
|
|
|
static int x11_error(Display *dpy, XErrorEvent *ev) {
|
|
|
@ -1981,7 +1981,7 @@ bool KApplication::isCompositionManagerAvailable() {
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool KApplication::detectCompositionManagerAvailable(bool force_available) {
|
|
|
|
bool KApplication::detectCompositionManagerAvailable(bool force_available, bool available) {
|
|
|
|
const char *home;
|
|
|
|
const char *home;
|
|
|
|
struct passwd *p;
|
|
|
|
struct passwd *p;
|
|
|
|
p = getpwuid(getuid());
|
|
|
|
p = getpwuid(getuid());
|
|
|
@ -2023,21 +2023,17 @@ Display* KApplication::openX11RGBADisplay() {
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Qt::HANDLE KApplication::getX11RGBAVisual(char *display) {
|
|
|
|
Qt::HANDLE KApplication::getX11RGBAVisual(Display *dpy) {
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Qt::HANDLE KApplication::getX11RGBAColormap(char *display) {
|
|
|
|
Qt::HANDLE KApplication::getX11RGBAColormap(Display *dpy) {
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool KApplication::isX11CompositionAvailable() {
|
|
|
|
bool KApplication::isX11CompositionAvailable() {
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
KApplication KApplication::KARGBApplication( bool allowStyles ) {
|
|
|
|
|
|
|
|
return KApplication::KApplication(allowStyles, true);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
static bool kapp_block_user_input = false;
|
|
|
|
static bool kapp_block_user_input = false;
|
|
|
|