SVN commit 1479332 by pino: pager: set WA_X11DoNotAcceptFocus attribute ... instead of manually using a libX11 snippet: it works the same, and removes one usage of libX11 M +1 -7 kpager.cpp --- trunk/extragear/utils/kpager/kpager.cpp #1479331:1479332 @@ -105,13 +105,7 @@ KWindowSystem::setOnAllDesktops( winId(), true); KWindowSystem::setType( winId(), NET::Utility ); - XWMHints *hints = XGetWMHints(QX11Info::display(), winId()); - if( hints == NULL ) - hints = XAllocWMHints(); - hints->input = false; - hints->flags |= InputHint; - XSetWMHints(QX11Info::display(), winId(), hints); - XFree(reinterpret_cast(hints)); + setAttribute(Qt::WA_X11DoNotAcceptFocus, true); timeout=new QTimer(this); timeout->setObjectName("timeoutToQuit");