設定在視窗隱藏內容區塊時,拖曳視窗還能保持隱藏狀態

範例

openbox / adjustment / mousebind

Drag window to move, keep shaded, when window shaded.

context Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner / 一開始的設定片段

  <mouse>
    <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
    </context>
  </mouse>

context Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner / 調整過的設定片段

  <mouse>
    <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
    </context>
  </mouse>

相關討論