command tab not working snow leopard

January 18, 2012

I recently had an issue where command + tab would not show all of my currently running applications.

I loaded up console messages and saw this:

1/18/12 11:26:49 PM 11:26:49 PM com.apple.Dock.agent[901] 901 Wed Jan 18 23:26:49 mac Dock[901] : kCGErrorIllegalArgument: CGSSetWindowTransformsAtPlacement: Failed

The solution? Run this from terminal to restart the dock:

# ps aux | grep -i "dock.app" | grep -v "grep" | awk '{print $2}' | xargs kill -9

That’s how you fix command tab not working snow leopard