It's unfortunate we can't leverage the same bitmask trick used in compiz:
horizmaximixed | vertmaximized == maximized
So you only need to write code for the first two to get all three.
But it's also an advantage in us only having to work with mutually exclusive states.
P.S. In Compiz and regular Ubuntu you horizmaximize by using the right mouse button on the maximize button.
I don't see why not...
It's unfortunate we can't leverage the same bitmask trick used in compiz:
horizmaximixed | vertmaximized == maximized
So you only need to write code for the first two to get all three.
But it's also an advantage in us only having to work with mutually exclusive states.
P.S. In Compiz and regular Ubuntu you horizmaximize by using the right mouse button on the maximize button.