Merge branch 'Plasma/5.15'

wilder-broken-krunner
David Faure 7 years ago
commit 52fbaf72ab
  1. 2
      appmenu/appmenu.cpp
  2. 2
      config-X11.h.cmake
  3. 2
      libkworkspace/config-libkworkspace.h.cmake
  4. 2
      runners/windows/config-windowsrunner.h.cmake
  5. 2
      shell/scripting/appinterface.cpp
  6. 2
      soliduiserver/soliduiserver.cpp

@ -106,7 +106,7 @@ AppMenuModule::~AppMenuModule() = default;
void AppMenuModule::slotWindowRegistered(WId id, const QString &serviceName, const QDBusObjectPath &menuObjectPath)
{
#ifdef HAVE_X11
#if HAVE_X11
if (KWindowSystem::isPlatformX11()) {
auto *c = QX11Info::connection();

@ -41,4 +41,4 @@
#cmakedefine HAS_RANDR_1_3 1
/* Define if you have X11 at all */
#define HAVE_X11 ${X11_FOUND}
#cmakedefine01 HAVE_X11

@ -1,2 +1,2 @@
/* Define if you have X11 at all */
#define HAVE_X11 ${X11_FOUND}
#cmakedefine01 HAVE_X11

@ -1,2 +1,2 @@
/* Define if you have X11 at all */
#define HAVE_X11 ${X11_FOUND}
#cmakedefine01 HAVE_X11

@ -37,7 +37,7 @@
#include <windows.h>
#endif
#ifdef HAVE_X11
#if HAVE_X11
#include <X11/Xlib.h>
#include <fixx11h.h>
#endif

@ -219,7 +219,7 @@ void SolidUiServer::reparentDialog(QWidget *dialog, WId wId, const QString &appI
KWindowSystem::setMainWindow(dialog, wId); // correct, set dialog parent
#ifdef HAVE_X11
#if HAVE_X11
if (modal) {
KWindowSystem::setState(dialog->winId(), NET::Modal);
} else {

Loading…
Cancel
Save