1 # Mouserc - Mouse bindings for Openbox
3 # Context : The place where the mouse click takes place
4 # * Titlebar - A client's titlebar (the top of the frame)
5 # * Handle - A client's handle (the bottom of the frame)
6 # * Client - A client (the actual window inside the frame, clicks in this
7 # context also get passed through to the client)
8 # * Frame - A client's entire frame (clicks in this context do not get passed
9 # through to the client)
10 # * Icon - A client's icon (in the titlebar)
11 # * AllDesktops - A client's omnipresent button (in the titlebar)
12 # * Iconify - A client's iconify button (in the titlebar)
13 # * Maximize - A client's maximize button (in the titlebar)
14 # * Close - A client's close button (in the titlebar)
15 # * Root - The root window (the desktop background, these are often blocked
16 # by programs with desktop windows, and are not
17 # available on rootless X servers (like OSX))
18 # * TLCorner - The top-left corner of the frame (if supported by the
20 # * TRCorner - The top-right corner of the frame (if supported by the
22 # * BLCorner - The bottom-left corner of the frame (if supported by the
24 # * BRCorner - The bottom-right corner of the frame (if supported by the
26 # Other contexts may be created by engines.
28 # Event : The type of mouse action to bind
29 # * Press - A button is pressed
30 # * Release - A button is released
31 # * Click - A button is pressed and released
32 # * DoubleClick - A button is pressed and released twice quickly
33 # * Drag - A button is held and the mouse is moved
35 # Button : The mouse button which is performing the Event
36 # A string composed of [<modifier>-]<button>. A button can have 0 or more
38 # Valid modifiers are Mod1 ('A' is an alias for this), Mod2, Mod3, Mod4 ('W'
39 # is an alias for this), and Mod5.
40 # Valid buttons are Left, Right, Middle, Up, Down, or any number > 0
42 # Action: The action to be performed then the Event occurs with the Button in
45 # * Focus - Focus the client
48 # All options are case insensitive.
50 #Context Event Button Action
52 Titlebar Drag Left Move
54 Frame Drag A-Left Move
56 BLCorner Drag Left Resize
57 BRCorner Drag Left Resize
58 Frame Drag A-Right Resize
60 Titlebar Click Left Raise
61 Titlebar Press Middle Lower
62 Handle Click Left Raise
63 Handle Press Middle Lower
64 Frame Click A-Left Raise
65 Frame Click A-Right Lower
67 Titlebar Press Left Focus
68 Handle Press Left Focus
69 Client Press Left Focus
71 Titlebar DoubleClick Left ToggleShade
72 Titlebar Click Up Shade
73 Titlebar Click Down UnShade
75 Maximize Click Left ToggleMaximizeFull
76 Maximize Click Middle ToggleMaximizeVert
77 Maximize Click Right ToggleMaximizeHorz
78 Iconify Click Left Iconify
79 Icon DoubleClick Left Close
80 Close Click Left Close
81 Close Click Middle Kill
82 AllDesktops Click Left ToggleOmnipresent
84 Root Click Up NextDesktopWrap
85 Root Click Down PreviousDesktopWrap
86 Root Click A-Up NextDesktopWrap
87 Root Click A-Down PreviousDesktopWrap
88 Frame Click A-Up NextDesktopWrap
89 Frame Click A-Down PreviousDesktopWrap