summaryrefslogtreecommitdiff
path: root/kde
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2008-09-01 18:00:34 +0200
committerDennis kasprzyk <onestone@compiz-fusion.org>2008-09-01 18:00:34 +0200
commitef26ae19916a44e17361439f7b2b8a1d04fc8d7d (patch)
tree00a06f6a1e3e5aacaedb9388461f2ddc8fa243bf /kde
parent1f6d68d83d9188198ee5c94248b8a80fe42bc3ef (diff)
downloadzcomp-ef26ae19916a44e17361439f7b2b8a1d04fc8d7d.tar.gz
zcomp-ef26ae19916a44e17361439f7b2b8a1d04fc8d7d.tar.bz2
- Added a type field to the decoration property.
- Use a separate frame window for decorations.
Diffstat (limited to 'kde')
-rw-r--r--kde/window-decorator-kde4/utils.cpp2
-rw-r--r--kde/window-decorator/utils.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kde/window-decorator-kde4/utils.cpp b/kde/window-decorator-kde4/utils.cpp
index f6bdac6..f54ab07 100644
--- a/kde/window-decorator-kde4/utils.cpp
+++ b/kde/window-decorator-kde4/utils.cpp
@@ -180,7 +180,7 @@ KWD::Atoms::init (void)
{
Display *xdisplay = QX11Info::display();
- netFrameWindow = XInternAtom (xdisplay, "_NET_FRAME_WINDOW", false);
+ netFrameWindow = XInternAtom (xdisplay, DECOR_INPUT_FRAME_ATOM_NAME, false);
netWindowDecor = XInternAtom (xdisplay, DECOR_WINDOW_ATOM_NAME, false);
netWindowDecorNormal =
XInternAtom (xdisplay, DECOR_NORMAL_ATOM_NAME, false);
diff --git a/kde/window-decorator/utils.cpp b/kde/window-decorator/utils.cpp
index 75dbbc6..a15c267 100644
--- a/kde/window-decorator/utils.cpp
+++ b/kde/window-decorator/utils.cpp
@@ -180,7 +180,7 @@ KWD::Atoms::init (void)
{
Display *xdisplay = qt_xdisplay ();
- netFrameWindow = XInternAtom (xdisplay, "_NET_FRAME_WINDOW", false);
+ netFrameWindow = XInternAtom (xdisplay, DECOR_INPUT_FRAME_ATOM_NAME, false);
netWindowDecor = XInternAtom (xdisplay, DECOR_WINDOW_ATOM_NAME, false);
netWindowDecorNormal =
XInternAtom (xdisplay, DECOR_NORMAL_ATOM_NAME, false);