Q:

After restoring minimized window it stays inactive (16.04 LTS)

Weird problem - probably something to do with Compiz and its plugins. 
Happens when I minimize a window, and restore it to its previous state by either clicking on the icon in the launcher. The window maximes but remains inactive, unresponsive, until I double-click the title bar and thus manually unmaximize/maximize it.
It would appear as if the panel bar is active over the window itself, hence the non-responsiveness. Can I fix that?

A:

This was a bug related to some conflicts in Compiz. I reinstalled Unity and reset compiz using

dconf reset -f /org/compiz

followed by

setsid unity.

It restarted the graphics interface and solved the problem.

