Fix for Issue #531
This work for me in the OpenBox and KWin