Preface Introduction Topic index Glossary

# Feel WindowBox definition

defines placement policy for certain type of windows, based on desk, window attributes, window size, etc. Usefull for xinerama configurations, where windows should not be placed in between screens.

- ### CONFIGURATION OPTIONS :

  WindowBox "windowbox_name"

    Starts a WindowBox definition. ~WindowBox ends it.

  Area WxH+X+Y

    This defines the confining region of a WindowBox.

  Virtual

    Defines that area is in virtual coordinates.

  MinWidth width

    places restrains on what size window could be placed in this area.

  MinHeight height

    places restrains on what size window could be placed in this area.

  MaxWidth width

    Places restrains on what size window could be placed in this area.

  MaxHeight height

    places restrains on what size window could be placed in this area.

  FirstTry SmartPlacement|RandomPlacement|Tile

    strategy to use while placing window. The FirstTry strategy will attempt to place window in empty space only.

    See Also: Window Placement types for further details.

  ThenTry RandomPlacement|Cascade|Manual

    backup strategy to use when there is no suitable empty space.

    See Also: Window Placement types for further details.

  Desk desk

    Limits the effects of this WindowBox to the specified desk.

  MinLayer min_layer

    limits the effects of the WindowBox to windows with layer value that falls in range.

  MaxLayer max_layer

    Limits effects of the WindowBox to windows with layer value that falls in range.

  VerticalPriority

    Cascading and Tiling will be done in Vertical direction first.

  ReverseOrder

    This will reverse order in which Cascade and Tile strategies are applied, making it Right-to-left, bottom-to-top.

  ReverseOrderHorizontal

    FIXME: add proper description here.

  ReverseOrderVertical

    FIXME: add proper description here.

  XSpacing

    FIXME: add proper description here.

  YSpacing

    FIXME: add proper description here.

This is a whole new thing to allow better window placement policy :

    WindowBox   "some_name"
        Area   WxH+X+Y
        Virtual
        MinWidth        width
        MinHeight       height
        MaxWidth        width
        MaxHeight       height
        FirstTry        SmartPlacement|RandomPlacement|Tile
        ThenTry         RandomPlacement|Cascade|Manual
        VerticalPriority
        ReverseOrder
        Desk        desk
        MinLayer    min_layer
        MaxLayer    max_layer
    ~WindowBox

Note that old SmartPlacement/RandomPlacement has been coopted to be used for Default windowbox.

Preface Introduction Topic index Glossary Back to Top

AfterStep version 2.2.2