replace the focus_backup with the screen_support_win, we dont need 2 offscreen windows.
[mikachu/openbox.git] / data / rc3
1 <?xml version="1.0"?>
2
3 <!-- Do not edit this file, it will be overwritten on install. Edit the file
4      in $HOME/.openbox/ instead. -->
5
6 <openbox_config>
7
8 <resistance>
9   <strength>10</strength>
10   <windows>yes</windows>
11 </resistance>
12
13 <placement>
14   <remember>yes</remember>
15 </placement>
16
17 <focus>
18   <focusNew>yes</focusNew>
19   <followMouse>no</followMouse>
20   <focusLast>yes</focusLast>
21   <focusLastOnDesktop>yes</focusLastOnDesktop>
22   <cyclingDialog>yes</cyclingDialog>
23 </focus>
24
25 <theme>
26   <theme>operation</theme>
27 </theme>
28
29 <desktops>
30   <number>4</number>
31   <names>
32     <name>one</name>
33     <name>two</name>
34     <name>three</name>
35     <name>four</name>
36   </names>
37 </desktops>
38
39 <moveresize>
40   <opaqueMove>yes</opaqueMove>
41   <opaqueResize>yes</opaqueResize>
42 </moveresize>
43
44 <dock>
45   <position>topleft</position>
46   <stacking>top</stacking>
47   <direction>vertical</direction>
48   <floatingX>0</floatingX>
49   <floatingY>0</floatingY>
50   <autoHide>no</autoHide>
51   <hideTimeout>300</hideTimeout>
52 </dock>
53
54 <keyboard>
55   <keybind key="A-F10">
56     <action name="MaximizeFull"></action>
57   </keybind>
58   <keybind key="A-F5">
59     <action name="UnmaximizeFull"></action>
60   </keybind>
61   <keybind key="A-F12">
62     <action name="ToggleShade"></action>
63   </keybind>
64   <keybind key="C-A-Left">
65     <action name="DesktopLeft"></action>
66   </keybind>
67   <keybind key="C-A-Right">
68     <action name="DesktopRight"></action>
69   </keybind>
70   <keybind key="C-A-Up">
71     <action name="DesktopUp"></action>
72   </keybind>
73   <keybind key="C-A-Down">
74     <action name="DesktopDown"></action>
75   </keybind>
76   <keybind key="S-A-Left">
77     <action name="SendToDesktopLeft"></action>
78   </keybind>
79   <keybind key="S-A-Right">
80     <action name="SendToDesktopRight"></action>
81   </keybind>
82   <keybind key="S-A-Up">
83     <action name="SendToDesktopUp"></action>
84   </keybind>
85   <keybind key="S-A-Down">
86     <action name="SendToDesktopDown"></action>
87   </keybind>
88   <keybind key="C-A-d">
89     <action name="ToggleShowDesktop"></action>
90   </keybind>
91   <keybind key="A-F4">
92     <action name="Close"></action>
93   </keybind>
94   <keybind key="A-Tab">
95     <action name="NextWindow"></action>
96   </keybind>
97   <keybind key="A-S-Tab">
98     <action name="PreviousWindow"></action>
99   </keybind>
100   <keybind key="A-F7">
101     <action name="KeyboardMove"></action>
102   </keybind>
103   <keybind key="A-F8">
104     <action name="KeyboardResize"></action>
105   </keybind>
106   <keybind key="A-F9">
107     <action name="Iconify"></action>
108   </keybind>
109 </keyboard>
110
111 <mouse>
112   <dragThreshold>3</dragThreshold>
113   <doubleClickTime>200</doubleClickTime>
114
115   <context name="frame">
116     <mousebind button="A-Left" action="drag">
117       <action name="move"/>
118     </mousebind>
119     <mousebind button="A-Left" action="click">
120       <action name="raise"/>
121     </mousebind>
122     <mousebind button="A-Left" action="press">
123       <action name="focus"/>
124     </mousebind>
125     <mousebind button="A-Middle" action="drag">
126       <action name="resize"/>
127     </mousebind> 
128     <mousebind button="A-Middle" action="click">
129       <action name="lower"/>
130     </mousebind>
131     <mousebind button="A-Right" action="press">
132       <action name="showmenu"><menu>client-menu</menu></action>
133     </mousebind>
134     <mousebind button="A-Up" action="click">
135       <action name="desktopright"/>
136     </mousebind>
137     <mousebind button="A-Down" action="click">
138       <action name="desktopleft"/>
139     </mousebind>
140     <mousebind button="C-A-Up" action="click">
141       <action name="sendtodesktopright"/>
142     </mousebind>
143     <mousebind button="C-A-Down" action="click">
144       <action name="sendtodesktopleft"/>
145     </mousebind>
146   </context>
147   <context name="titlebar">
148     <mousebind button="Left" action="drag">
149       <action name="move"/>
150     </mousebind>
151     <mousebind button="Left" action="click">
152       <action name="raise"/>
153     </mousebind>
154     <mousebind button="Left" action="press">
155       <action name="focus"/>
156     </mousebind>
157     <mousebind button="Left" action="doubleclick">
158       <action name="toggleshade"/>
159     </mousebind>
160     <mousebind button="Middle" action="press">
161       <action name="lower"/>
162     </mousebind>
163     <mousebind button="Up" action="click">
164       <action name="shade"/>
165     </mousebind>
166     <mousebind button="Down" action="click">
167       <action name="unshade"/>
168     </mousebind>
169     <mousebind button="Right" action="press">
170       <action name="showmenu"><menu>client-menu</menu></action>
171     </mousebind>
172   </context>
173   <context name="handle">
174     <mousebind button="Left" action="drag">
175       <action name="move"/>
176     </mousebind>
177     <mousebind button="Left" action="click">
178       <action name="raise"/>
179     </mousebind>
180     <mousebind button="Left" action="press">
181       <action name="focus"/>
182     </mousebind>
183     <mousebind button="Middle" action="press">
184       <action name="lower"/>
185     </mousebind>
186   </context>
187   <context name="blcorner">
188     <mousebind button="Left" action="drag">
189       <action name="resize"/>
190     </mousebind>
191     <mousebind button="Left" action="press">
192       <action name="focus"/>
193     </mousebind>
194   </context>
195   <context name="brcorner">
196     <mousebind button="Left" action="drag">
197       <action name="resize"/>
198     </mousebind>
199     <mousebind button="Left" action="press">
200       <action name="focus"/>
201     </mousebind>
202   </context>
203   <context name="client">
204     <mousebind button="Left" action="press">
205       <action name="focus"/>
206       <action name="raise"/>
207     </mousebind>
208     <mousebind button="Middle" action="press">
209       <action name="focus"/>
210     </mousebind>
211     <mousebind button="Right" action="press">
212       <action name="focus"/>
213     </mousebind>
214   </context>
215   <context name="icon">
216     <mousebind button="Left" action="press">
217       <action name="focus"/>
218     </mousebind>
219     <mousebind button="Right" action="press">
220       <action name="showmenu"><menu>client-menu</menu></action>
221     </mousebind>
222     <mousebind button="Left" action="click">
223       <action name="showmenu"><menu>client-menu</menu></action>
224     </mousebind>
225     <mousebind button="Left" action="doubleclick">
226       <action name="close"/>
227     </mousebind>
228   </context>
229   <context name="alldesktops">
230     <mousebind button="Left" action="press">
231       <action name="focus"/>
232     </mousebind>
233     <mousebind button="Left" action="click">
234       <action name="toggleomnipresent"/>
235     </mousebind>
236   </context>
237   <context name="shade">
238     <mousebind button="Left" action="press">
239       <action name="focus"/>
240     </mousebind>
241     <mousebind button="Left" action="click">
242       <action name="toggleshade"/>
243     </mousebind>
244   </context>
245   <context name="iconify">
246     <mousebind button="Left" action="press">
247       <action name="focus"/>
248     </mousebind>
249     <mousebind button="Left" action="click">
250       <action name="iconify"/>
251     </mousebind>
252   </context>
253   <context name="maximize">
254     <mousebind button="Left" action="press">
255       <action name="focus"/>
256     </mousebind>
257     <mousebind button="Middle" action="press">
258       <action name="focus"/>
259     </mousebind>
260     <mousebind button="Right" action="press">
261       <action name="focus"/>
262     </mousebind>
263     <mousebind button="Left" action="click">
264       <action name="togglemaximizefull"/>
265     </mousebind>
266     <mousebind button="Middle" action="click">
267       <action name="togglemaximizevert"/>
268     </mousebind>
269     <mousebind button="Right" action="click">
270       <action name="togglemaximizehorz"/>
271     </mousebind>
272   </context>
273   <context name="close">
274     <mousebind button="Left" action="press">
275       <action name="focus"/>
276     </mousebind>
277     <mousebind button="Left" action="click">
278       <action name="close"/>
279     </mousebind>
280   </context>
281   <context name="root">
282     <mousebind button="Up" action="click">
283       <action name="desktopright"/>
284     </mousebind>
285     <mousebind button="Down" action="click">
286       <action name="desktopleft"/>
287     </mousebind>
288     <mousebind button="A-Up" action="click">
289       <action name="desktopright"/>
290     </mousebind>
291     <mousebind button="A-Down" action="click">
292       <action name="desktopleft"/>
293     </mousebind>
294     <mousebind button="Right" action="press">
295       <action name="showmenu"><menu>root</menu></action>
296     </mousebind>
297   </context>
298 </mouse>
299
300 <menu id="root" label="Openbox 3">
301   <menu id="apps" label="Applications">
302     <item label="Xterm">
303       <action name="execute"><execute>xterm</execute></action>
304     </item>
305     <item label="Mozilla">
306       <action name="execute"><execute>mozilla</execute></action>
307     </item>
308     <item label="Gaim">
309       <action name="execute"><execute>gaim</execute></action>
310     </item>
311     <item label="Quark">
312       <action name="execute"><execute>strange-quark</execute></action>
313     </item>
314   </menu>
315   <menu id="games" label="Games">
316     <item label="Crack-Attack">
317       <action name="execute"><execute>crack-attack</execute></action>
318     </item>
319     <item label="XFRisk">
320       <action name="execute"><execute>xfrisk</execute></action>
321     </item>
322     <item label="Quake III">
323       <action name="execute"><execute>quake3</execute></action>
324     </item>
325   </menu>
326   <item label="--" /> <!-- separator -->
327   <item label="Restart">
328     <action name="restart" />
329   </item>
330   <item label="Exit">
331     <action name="exit" />
332   </item>
333 </menu>
334
335 </openbox_config>