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.

NETGEAR ProSafe 5-port Gigabit Switch GS105v5
$9.99
Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99
TP-Link 5-Port Gigabit Unmanaged Ethernet Switch Network Expansion TL-SG105
$19.95
5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play
$31.99
TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597
$39.99
TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$22.49
10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$69.99
Linksys 8-Port Managed Gigabit PoE+ Switch 110W w/ 2 Uplink Gigabit - LGS310MPC
$49.00
NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless
$22.00
10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99