Two suggestions:
1) (Re-) start compiz with the menu entry from the "Preferences" menu
2) Restart the Xserver with the Ctrl-Alt-Backspace key combination
Every so often I boot either live USB or HD install and the WM has lost the surround on each window ... no title bar, so no minimise maximise or exit buttons, and no bottom or side edges. Cure is to reboot. Is there any command or action I can take to rectify this without rebooting?
Two suggestions:
1) (Re-) start compiz with the menu entry from the "Preferences" menu
2) Restart the Xserver with the Ctrl-Alt-Backspace key combination
I get this problem every now and then. For my case, restart compiz does not fix the problem. Re-start Xserver can fix the problem but it's a little more painful. I always managed to fix the problem by doing this at any terminal windows :-
I don't know why gtk-window-decorator misbehaved for my case. It is still running but it just misbehaved, so restarting compiz fixes nothing. If 'gtk-window-decorator' has died, then restarting compiz will fix the problem.Code:$ gtk-window-decorator --replace &
I have this problem on rare occasion and control-alt-backspace gets me going again.
A little faster recovery than a reboot for me.
I don't recall that re-starting Compiz fixed it for me, but I have limited some of Compiz's tricks.
I suspect that the cure may depend somewhat on what you have for video hardware.
Mine is Intel GM45.
Last edited by utu; 12-01-2011 at 04:46 AM.
Restarting Xwindow does it for me ... not Compiz ... this machine is quirky and a bit battered anyway, so nothing hardware related would surprise me ... Intel 945 Mobile, I think. So ... fixed.

NEW Kingston 8GB DDR4 2666MHz Desktop RAM KCP426NS8/8 PC4-21300
$30.00
Lot of 2 SK Hynix HMAA2GS6AJR8N-XN 16GB DDR4 PC4-3200AA 1Rx8 Laptop SODIMM RAM
$354.99
16GB (2x8GB) Kingston HyperX blu KHX1600C10D3B1/8G PC3-12800U DDR3 1600
$27.99
DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix
$66.00
Samsung W03J0009150379F87A 64GB (2x32GB) RAM DDR4 2400MHz CRC0Y
$179.99
Lot of 51 Micron 8GB PC4-2666V DDR4 1Rx8 DIMM RAM MTA8ATF1G64AZ-2G6E1 933276-001
$1499.99
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$21.68
Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V
$41.00
16GB (2x8GB) Samsung DDR4-2133MHz PC4-2133P Desktop RAM 2Rx8 UDIMM
$54.99
Lot of 2 Kingston Fury 8GB (4x4GB) HX316C10FK2/8 DDR3-1600MHz Ram
$50.35