mirror of
https://github.com/labwc/labwc.git
synced 2026-02-13 04:27:49 -05:00
config: Redefine Title context to include blank areas of Titlebar
... and use Title for the Drag (Move) and DoubleClick (Maximize) titlebar actions, which are unexpected when the cursor is over one of the window buttons.
This commit is contained in:
parent
d5e2728c7f
commit
ebd0a5d526
4 changed files with 17 additions and 9 deletions
|
|
@ -215,9 +215,6 @@
|
|||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Move"/>
|
||||
</mousebind>
|
||||
<mousebind button="Right" action="Click">
|
||||
<action name="Focus" />
|
||||
<action name="Raise" />
|
||||
|
|
@ -225,9 +222,13 @@
|
|||
<menu>client-menu</menu>
|
||||
</action>
|
||||
</mousebind>
|
||||
</context>
|
||||
|
||||
<context name="Title">
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Move"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="DoubleClick">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
<action name="ToggleMaximize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue