Get active window via wmutils.

Get active window via wmutils instead of custom script.