1##########################################################################
2#------------------------------------------------------------------------
3# Windows behaviour
4#
5# Alt-tab between windows, similar to Windows9x.  For instance:
6#  AutoReverse 0: default switching among the windows in one direction
7#  AutoReverse 1: #1->#2->#3->#4 and then #4->#3->#2->#1
8#  AutoReverse 2: #1->#2->#3->#4 and then #4->#1->#3->#2 etc.
9AutoReverse 0
10#
11# window switching through desks?
12#AutoTabThroughDesks
13#
14# Automatically raise a window if mouse stays > 500 msec on it
15# AutoRaise 500
16#
17# While zapping, warp mouse pointer to
18Xzap 12
19Yzap 12
20#
21# Avoid problems with xpaint like applications which define their own icon
22# as a window and tell the window manager it's its icon
23KeepIconWindows
24
25# when application changes its name - hints will be updated and applied
26#FollowTitleChanges
27
28#
29# Don't push titlebar when clicked
30# Titlebarnopush
31#
32# Click on titlebar to focus window (ie put it in the foreground)
33# ClickToFocus
34#
35# Click on titlebar to raise window (ie put it in the foreground)
36ClickToRaise
37#
38# Focus on window until pointer gets in another one
39SloppyFocus
40#
41# Iconify to original place
42StubbornIcons
43#
44# Uniconify to original place
45StubbornPlacement
46#
47# Optimize icon placement
48# StubbornIconPlacement
49#
50# Give a name to each icon
51IconTitle
52#
53# Icons follow you on the desktop
54StickyIcons
55#
56# Don't jump to an icon while zapping windows
57# CirculateSkipIcons
58#
59# Center the screen on the current window while circulating
60#CenterOnCirculate
61#
62# If time between Button Press and release events is short then the below
63# value - that will be considered a click event :
64# ClickTime 500
65#
66# Keep showing window while being moved if size<N%
67OpaqueMove 50
68#
69# Keep showing window while being resized if size<N%
70OpaqueResize 50
71#
72# Mouse pushing on screen edge : N% move
73EdgeScroll 100 100
74#
75# To avoid unwanted moving, edges resist during N ms
76EdgeResistance 200 80
77
78###########################################################################
79# Initial Placement of the windows
80##############
81# Old style (simplified) settings :
82
83# Place window in empty zones
84#SmartPlacement
85# Random window placement
86RandomPlacement
87# Windows can't chose where to place
88NoPPosition
89
90##########################################################################
91# X server performance tweaks :
92#AppsBackingStore
93#BackingStore
94#SaveUnders
95
96# this will cause blue screen to come up on desktop changes even if desktop background
97# in the same  on both desks :
98AnimateDeskChange
99
100# these defines how desktop cover (blue screen) is animated when withdrawn :
101#   Available Types :
102#     sliding 	1 - 8
103#     shrinking 9 - 11
104#     melting	12
105CoverAnimationSteps	12
106CoverAnimationType	10
107
108# The following two settings are usefull for thoise who prefered old afterstep 1.8 behaviour :
109#To disable colored desktop cover use this :
110#DontCoverDesktop
111
112#To disable animated root background change use this :
113#DontAnimateBackground
114
115##########################################################################
116# Misc stuff :
117#RecentSubmenuItems   <number>   # changes number of recently used submenu items displayed in poarent menu
118# Put a titlebar + various stuff on dialog boxes
119DecorateTransients
120#
121#KeepIconWindow
122#DontMoveOff
123#XorValue
124#MenusHigh
125#PagingDefault
126#
127##########################################################################
128
129##########################################################################
130# Cursor
131#
132# Cursor THISTYPE THISCURSOR where type is :
133#
134#  0 POSITION      - used when initially placing windows
135#  1 TITLE         - used in a window title-bar
136#  2 DEFAULT       - used in windows that don't bother to set their cursor
137#  3 SYS           - used in one of the title-bar buttons
138#  4 MOVE          - used when moving or resizing windows.
139#  5 WAIT          - used during an EXEC builtin command.
140#  6 MENU          - used in a menus.
141#  7 SELECT        - used for various builtin commands such as iconify.
142#  8 DESTROY       - used for DESTROY and DELETE built-ins.
143#  9 TOP           - used in the top side-bar of a window
144# 10 RIGHT        - used in the right side-bar of a window
145# 11 BOTTOM
146# 12 LEFT
147# 13 TOP_LEFT
148# 14 TOP_RIGHT
149# 15 BOTTOM_LEFT
150# 16 BOTTOM_RIGHT
151#
152# while /usr/include/X11/cursorfont.h contains available cursors
153#
154#Cursor 0
155Cursor 1 58
156Cursor 2 68
157Cursor 3 22
158Cursor 4 120
159Cursor 5 150
160Cursor 6 60
161Cursor 7 68
162Cursor 8 88
163Cursor 9 138
164Cursor 10 96
165Cursor 11 16
166Cursor 12 70
167Cursor 13 134
168Cursor 14 136
169Cursor 15 12
170Cursor 16 14
171
172##########################################################################
173
174##########################################################################
175# Functions
176#
177
178# Used to move icons on desktop
179
180Function "Move-or-Top"
181        Move            "Motion"
182        RaiseLower      "Click"
183        ToggleLayer     "DoubleClick" 1
184EndFunction
185
186# Used to move windows on desktop
187
188Function "Move-or-Iconify"
189        Move            "Motion"
190        Iconify         "Click"
191EndFunction
192
193# Window operations
194Popup "Window"
195        Title           "This window :"
196        ToggleLayer     "Promote to Next Layer"  1
197 SmallMiniPixmap "normal/Windows"
198        ToggleLayer     "Demote to Lower Layer"  -1
199 SmallMiniPixmap "normal/WindowsBackground"
200        Move            "Move"
201 SmallMiniPixmap "normal/WindowsMove"
202        WindowsDesk     " - to desk #0" 0
203 SmallMiniPixmap "normal/Pager"
204        WindowsDesk     " - to desk #1" 1
205 SmallMiniPixmap "normal/Pager"
206        WindowsDesk     " - to desk #2" 2
207 SmallMiniPixmap "normal/Pager"
208        WindowsDesk     " - to desk #3" 3
209 SmallMiniPixmap "normal/Pager"
210        Resize          "Resize"
211 SmallMiniPixmap "normal/WindowsResize"
212        Maximize "Maximize 80%" 80 80
213 SmallMiniPixmap "normal/WindowsResize"
214        Maximize "Maximize 100%" 100 100
215 SmallMiniPixmap "normal/WindowsResize"
216        Fullscreen "Make Fullscreen"
217 SmallMiniPixmap "normal/WindowsResize"
218        Destroy         "Kill"
219 SmallMiniPixmap "large/Stopsign"
220        Delete          "Quit"
221 SmallMiniPixmap "normal/HandOnWindowCloseIcon"
222        Refresh         "Redraw"
223 SmallMiniPixmap "normal/Recycle"
224	TakeWindowShot  "Capture window image"
225 SmallMiniPixmap "normal/Camera4"
226	TakeFrameShot   "Capture framed window image"
227 SmallMiniPixmap "normal/Camera4"
228	TakeScreenShot  "Capture screen image"
229 SmallMiniPixmap "normal/Camera4"
230EndPopup
231#
232##########################################################################
233
234##########################################################################
235# Key binding :
236#
237# [Zap button] [Window ops]   Title   [Iconify] [Shade] [Quit]
238#
239# Zap switches to next window, if middle clicked switches to previous one while
240#  right click open man file of the current window.
241#
242# Window ops lets you act on window geometry, size (...) if right clicked
243#  asks which window you want to switch to.
244#
245# Iconify button iconifies current window, if right clicked it maximises it.
246#
247# Shade swallows window under titlebar and makes it sticky, if right clicked
248#  it only makes it sticky, without swallowing it
249#
250# Quit closes current window, if right clicked it kills it
251##########################################################################
252
253##########################################################################
254# Calls
255#
256# There are 4 colums to the table
257# First column is the event (Mouse Click or Key Press)
258#   Mouse 0 specify any click in a TitleBar box
259#     Where can be 1 or 2 for first or second box
260#   Mouse 1 is left button, 2 is middle, 3 is right
261# Second Column is where the click takes place
262#   R = Root window (main background)
263#   F = Window Frame (the corners)
264#   S = Bottom bar
265#   I = Icon Window
266#   T = TitleBar
267#   W = Application Window
268# Third Column is the Context (ie, modifier keys)
269#   N = No modifiers
270#   A = Any context except for inside the TitleBar Boxes
271#   C = Control
272#   S = Shift
273#   M = Meta
274#   Combos are allowed (eg, CS = Control+Shift)
275# Fourth Column is the action to take upon click : function, popup, or action
276
277#
278# Mouse actions
279#
280Mouse 1         R       A       PopUp "0"  0
281Mouse 2         R       A       WindowList 2
282Mouse 3         R       A       WindowList
283Mouse 1         1       A       ChangeWindowUp
284Mouse 2         1       A       GetHelp
285Mouse 3         1       A       ChangeWindowDown
286Mouse 1         2       A       Delete
287Mouse 2         2       A       Destroy
288Mouse 3         2       A       Destroy
289Mouse 1         3       A       PopUp "Window Menu"  Window
290Mouse 2         3       A       WindowList 2
291Mouse 3         3       A       WindowList
292Mouse 1         4       A       Shade
293Mouse 2         4       A       Stick
294Mouse 3         4       A       Stick
295Mouse 1         5       A       PinMenu
296Mouse 2         5       A       PinMenu
297Mouse 3         5       A       PinMenu
298Mouse 1         6       A       Iconify
299Mouse 2         6       A       Maximize
300Mouse 3         6       A       Maximize
301Mouse 1         7       A       Delete
302Mouse 2         7       A       WindowList 2
303Mouse 3         7       A       PopUp "Window menu" Window
304Mouse 1         FS      A       Resize
305Mouse 2         FS      A       Move
306Mouse 3         FS      A       Move
307Mouse 1         T       A       Function "Move-or-Top"
308Mouse 2         T       A       RaiseLower
309Mouse 3         T       A       RaiseLower
310Mouse 0         I       A       Function "Move-or-Iconify"
311#
312############################################################################
313
314