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.

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99
GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$119.99
Corsair RMe RM850e 850W 80 Plus Gold Fully Modular Low Noise Certified Refurb
$56.99
Gigabyte GA-B85M-D3H Motherboard
$54.99
GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99
Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4
$79.99
Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90
ASUS PRIME H410M-K LGA 1200 Intel 10th Gen H410 DDR4 USB3.2 Motherboard M-ATX
$59.99
Dell XPS 8940 Desktop Motherboard Intel H470 LGA1200 DDR4 K3CM7 KV3RP 427JK
$154.99
HP Z440 WorkStation LGA 2011-3 DDR4 Desktop Motherboard 710324-002
$39.99