summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-02-12 19:02:41 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-02-12 19:02:41 +0800
commita0e42c8baf252cf079770250851e114a44472ac5 (patch)
tree5a34b2af475c3ddbe9edb4f7dcffe19244902004
parent1035418bba4c8c38b0046889f593e954d17f9d5d (diff)
downloadjasper-compiz++.tar.gz
jasper-compiz++.tar.bz2
Added compiz 0.9 libdecoration support.compiz++
Experimental.
-rw-r--r--plugins/core.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/core.c b/plugins/core.c
index ff64de9..ebac776 100644
--- a/plugins/core.c
+++ b/plugins/core.c
@@ -284,7 +284,7 @@ coreMainLoopInit (JasperCore *core)
}
}
- cc->frame_window_atom = XInternAtom (core->display, "_NET_FRAME_WINDOW", false);
+ cc->frame_window_atom = XInternAtom (core->display, DECOR_INPUT_FRAME_ATOM_NAME, false);
cc->win_decor_atom = XInternAtom (core->display, DECOR_WINDOW_ATOM_NAME, false);
cc->win_blur_decor_atom = XInternAtom (core->display, DECOR_BLUR_ATOM_NAME, false);
cc->wm_move_resize_atom = XInternAtom (core->display, "_NET_WM_MOVERESIZE", false);
@@ -324,7 +324,8 @@ coreMainLoopInit (JasperCore *core)
core->failure = true;
return;
}
- decor_set_dm_check_hint (core->display, XDefaultScreen(core->display));
+ decor_set_dm_check_hint (core->display, XDefaultScreen(core->display),
+ WINDOW_DECORATION_TYPE_PIXMAP);
XSelectInput (core->display, core->root, SubstructureNotifyMask | StructureNotifyMask);