
When a window marks itself as urgent, I'd like my struts to appear if they're not currently showing, but if they're already showing they should stay. Unfortunately, AvoidStruts only seems to support a ToggleStruts message. Is there a workaround?

* On Sunday, October 04 2009, Joseph Garvin wrote:
When a window marks itself as urgent, I'd like my struts to appear if they're not currently showing, but if they're already showing they should stay. Unfortunately, AvoidStruts only seems to support a ToggleStruts message. Is there a workaround?
You could reset the layout, and then toggle struts (if you default is no gap). But then you loose your layout selection and state. The other option is to edit the code for avoidStruts, and add a message like setStruts. I've wanted this feature at one point too. -- Adam

On Sun, Oct 04, 2009 at 06:41:45PM -0500, Joseph Garvin wrote:
When a window marks itself as urgent, I'd like my struts to appear if they're not currently showing, but if they're already showing they should stay. Unfortunately, AvoidStruts only seems to support a ToggleStruts message. Is there a workaround?
If you'd like to make a patch for a 'SetStruts' message in AvoidStruts, we would love to have it. Cheers, Spencer Janssen

* On Monday, October 05 2009, Spencer Janssen wrote:
If you'd like to make a patch for a 'SetStruts' message in AvoidStruts, we would love to have it.
Cheers, Spencer Janssen
I've pushed this:
Mon Oct 5 12:42:21 EDT 2009 Adam Vogt
participants (3)
-
Adam Vogt
-
Joseph Garvin
-
Spencer Janssen