summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde/window-decorator-kde4/decorator.cpp4
-rw-r--r--kde/window-decorator-kde4/utils.cpp2
-rw-r--r--kde/window-decorator-kde4/utils.h1
3 files changed, 7 insertions, 0 deletions
diff --git a/kde/window-decorator-kde4/decorator.cpp b/kde/window-decorator-kde4/decorator.cpp
index 72e48d8..b522132 100644
--- a/kde/window-decorator-kde4/decorator.cpp
+++ b/kde/window-decorator-kde4/decorator.cpp
@@ -164,6 +164,10 @@ KWD::Decorator::Decorator () :
CopyFromParent,
CopyFromParent,
CWOverrideRedirect, &attr);
+
+ long data = 1;
+ XChangeProperty (QX11Info::display(), mCompositeWindow, Atoms::enlightmentDesktop,
+ XA_CARDINAL, 32, PropModeReplace, (unsigned char *) &data, 1);
XCompositeRedirectSubwindows (QX11Info::display (), mCompositeWindow,
CompositeRedirectManual);
diff --git a/kde/window-decorator-kde4/utils.cpp b/kde/window-decorator-kde4/utils.cpp
index d9ed12e..9d39c46 100644
--- a/kde/window-decorator-kde4/utils.cpp
+++ b/kde/window-decorator-kde4/utils.cpp
@@ -52,6 +52,7 @@ namespace KWD
Atom toolkitActionWindowMenuAtom;
Atom toolkitActionForceQuitDialogAtom;
Atom compizWindowBlurDecor;
+ Atom enlightmentDesktop;
}
}
@@ -208,4 +209,5 @@ KWD::Atoms::init (void)
false);
compizWindowBlurDecor =
XInternAtom (xdisplay, DECOR_BLUR_ATOM_NAME, false);
+ enlightmentDesktop = XInternAtom (xdisplay, "ENLIGHTENMENT_DESKTOP", false);
}
diff --git a/kde/window-decorator-kde4/utils.h b/kde/window-decorator-kde4/utils.h
index e9143cc..08d02e7 100644
--- a/kde/window-decorator-kde4/utils.h
+++ b/kde/window-decorator-kde4/utils.h
@@ -54,6 +54,7 @@ namespace KWD
extern Atom toolkitActionWindowMenuAtom;
extern Atom toolkitActionForceQuitDialogAtom;
extern Atom compizWindowBlurDecor;
+ extern Atom enlightmentDesktop;
void init (void);
}