rumai 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. data/bin/rumai +2 -2
  2. data/doc/api/apple-touch-icon.png +0 -0
  3. data/doc/api/classes/IO.html +1 -1
  4. data/doc/api/classes/Integer.html +6 -6
  5. data/doc/api/classes/Rumai.html +141 -141
  6. data/doc/api/classes/Rumai/Area.html +122 -122
  7. data/doc/api/classes/Rumai/Chain.html +18 -18
  8. data/doc/api/classes/Rumai/Client.html +420 -122
  9. data/doc/api/classes/Rumai/ClientContainer.html +22 -22
  10. data/doc/api/classes/Rumai/IXP/Agent.html +90 -90
  11. data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +41 -41
  12. data/doc/api/classes/Rumai/IXP/Agent/MODES.html +6 -6
  13. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +18 -18
  14. data/doc/api/classes/Rumai/IXP/Fcall.html +30 -30
  15. data/doc/api/classes/Rumai/IXP/Qid.html +1 -1
  16. data/doc/api/classes/Rumai/IXP/Stat.html +7 -7
  17. data/doc/api/classes/Rumai/IXP/Stream.html +6 -6
  18. data/doc/api/classes/Rumai/IXP/Struct.html +24 -24
  19. data/doc/api/classes/Rumai/IXP/Struct/Field.html +36 -36
  20. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +12 -12
  21. data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +6 -6
  22. data/doc/api/classes/Rumai/IXP/Terror.html +6 -6
  23. data/doc/api/classes/Rumai/Node.html +52 -52
  24. data/doc/api/classes/Rumai/View.html +132 -132
  25. data/doc/api/classes/String.html +12 -12
  26. data/doc/api/classes/StringIO.html +1 -1
  27. data/doc/api/classes/Time.html +12 -12
  28. data/doc/api/created.rid +1 -1
  29. data/doc/api/favicon.ico +0 -0
  30. data/doc/api/files/CREDITS.html +1 -1
  31. data/doc/api/files/LICENSE.html +1 -1
  32. data/doc/api/files/lib/rumai/fs_rb.html +1 -1
  33. data/doc/api/files/lib/rumai/ixp/message_rb.html +1 -1
  34. data/doc/api/files/lib/rumai/ixp/transport_rb.html +1 -1
  35. data/doc/api/files/lib/rumai/ixp_rb.html +1 -1
  36. data/doc/api/files/lib/rumai/wm_rb.html +1 -1
  37. data/doc/api/files/lib/rumai_rb.html +1 -1
  38. data/doc/api/js/searchdoc.js +38 -15
  39. data/doc/api/panel/index.html +13 -5
  40. data/doc/api/panel/search_index.js +1 -1
  41. data/doc/api/panel/tree.js +1 -1
  42. data/doc/history.erb +79 -2
  43. data/doc/index.erb +2 -2
  44. data/doc/index.html +2017 -0
  45. data/doc/intro.erb +38 -62
  46. data/doc/setup.erb +53 -2
  47. data/doc/usage.erb +36 -11
  48. data/lib/rumai.rb +4 -4
  49. data/lib/rumai/fs.rb +2 -2
  50. data/lib/rumai/ixp.rb +2 -2
  51. data/lib/rumai/ixp/message.rb +2 -2
  52. data/lib/rumai/ixp/transport.rb +2 -2
  53. data/lib/rumai/wm.rb +80 -5
  54. data/rakefile +2 -2
  55. data/test/rumai/ixp/message.rb +3 -3
  56. metadata +9 -5
  57. data/doc/index.xhtml +0 -1078
@@ -50,7 +50,7 @@ NOTE: Inheritors must override the ‘chain’ method.
50
50
  <dd>
51
51
  <ul>
52
52
 
53
- <li><a href="#M000010">chain</a></li>
53
+ <li><a href="#M000018">chain</a></li>
54
54
 
55
55
  </ul>
56
56
  </dd>
@@ -59,7 +59,7 @@ NOTE: Inheritors must override the &#8216;chain&#8217; method.
59
59
  <dd>
60
60
  <ul>
61
61
 
62
- <li><a href="#M000011">next</a></li>
62
+ <li><a href="#M000019">next</a></li>
63
63
 
64
64
  </ul>
65
65
  </dd>
@@ -68,7 +68,7 @@ NOTE: Inheritors must override the &#8216;chain&#8217; method.
68
68
  <dd>
69
69
  <ul>
70
70
 
71
- <li><a href="#M000014">prev</a></li>
71
+ <li><a href="#M000020">prev</a></li>
72
72
 
73
73
  </ul>
74
74
  </dd>
@@ -90,9 +90,9 @@ NOTE: Inheritors must override the &#8216;chain&#8217; method.
90
90
  <div class="sectiontitle">Instance Public methods</div>
91
91
 
92
92
  <div class="method">
93
- <div class="title" id="M000010">
93
+ <div class="title" id="M000018">
94
94
 
95
- <a name="M000010"></a><b>chain</b>()
95
+ <a name="M000018"></a><b>chain</b>()
96
96
 
97
97
  </div>
98
98
 
@@ -108,12 +108,12 @@ Returns an array of objects related to this one.
108
108
 
109
109
  <div class="sourcecode">
110
110
  <p class="source-link">
111
- Source: <a href="javascript:toggleSource('M000010_source')" id="l_M000010_source">show</a>
111
+ Source: <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show</a>
112
112
 
113
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L33" target="_blank" class="github_url">on GitHub</a>
113
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L33" target="_blank" class="github_url">on GitHub</a>
114
114
 
115
115
  </p>
116
- <div id="M000010_source" class="dyn-source">
116
+ <div id="M000018_source" class="dyn-source">
117
117
  <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 33</span>
118
118
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chain</span>
119
119
  [<span class="ruby-keyword kw">self</span>]
@@ -124,9 +124,9 @@ Returns an array of objects related to this one.
124
124
  </div>
125
125
 
126
126
  <div class="method">
127
- <div class="title" id="M000011">
127
+ <div class="title" id="M000019">
128
128
 
129
- <a name="M000011"></a><b>next</b>()
129
+ <a name="M000019"></a><b>next</b>()
130
130
 
131
131
  </div>
132
132
 
@@ -142,12 +142,12 @@ Returns the object after this one in the chain.
142
142
 
143
143
  <div class="sourcecode">
144
144
  <p class="source-link">
145
- Source: <a href="javascript:toggleSource('M000011_source')" id="l_M000011_source">show</a>
145
+ Source: <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">show</a>
146
146
 
147
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L40" target="_blank" class="github_url">on GitHub</a>
147
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L40" target="_blank" class="github_url">on GitHub</a>
148
148
 
149
149
  </p>
150
- <div id="M000011_source" class="dyn-source">
150
+ <div id="M000019_source" class="dyn-source">
151
151
  <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 40</span>
152
152
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">next</span>
153
153
  <span class="ruby-identifier">sibling</span>(<span class="ruby-value">+1</span>)
@@ -158,9 +158,9 @@ Returns the object after this one in the chain.
158
158
  </div>
159
159
 
160
160
  <div class="method">
161
- <div class="title" id="M000014">
161
+ <div class="title" id="M000020">
162
162
 
163
- <a name="M000014"></a><b>prev</b>()
163
+ <a name="M000020"></a><b>prev</b>()
164
164
 
165
165
  </div>
166
166
 
@@ -176,12 +176,12 @@ Returns the object before this one in the chain.
176
176
 
177
177
  <div class="sourcecode">
178
178
  <p class="source-link">
179
- Source: <a href="javascript:toggleSource('M000014_source')" id="l_M000014_source">show</a>
179
+ Source: <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show</a>
180
180
 
181
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L47" target="_blank" class="github_url">on GitHub</a>
181
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L47" target="_blank" class="github_url">on GitHub</a>
182
182
 
183
183
  </p>
184
- <div id="M000014_source" class="dyn-source">
184
+ <div id="M000020_source" class="dyn-source">
185
185
  <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 47</span>
186
186
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prev</span>
187
187
  <span class="ruby-identifier">sibling</span>(<span class="ruby-value">-1</span>)
@@ -56,7 +56,7 @@ A graphical program that is running in your current X Windows session.
56
56
  <dd>
57
57
  <ul>
58
58
 
59
- <li><a href="#M000040">area</a></li>
59
+ <li><a href="#M000047">area</a></li>
60
60
 
61
61
  </ul>
62
62
  </dd>
@@ -76,6 +76,12 @@ A graphical program that is running in your current X Windows session.
76
76
  <dd>
77
77
  <ul>
78
78
 
79
+ <li><a href="#M000040">float</a>,</li>
80
+
81
+ <li><a href="#M000042">float!</a>,</li>
82
+
83
+ <li><a href="#M000039">float?</a>,</li>
84
+
79
85
  <li><a href="#M000025">focus</a>,</li>
80
86
 
81
87
  <li><a href="#M000031">fullscreen</a>,</li>
@@ -91,11 +97,11 @@ A graphical program that is running in your current X Windows session.
91
97
  <dd>
92
98
  <ul>
93
99
 
94
- <li><a href="#M000050">group</a>,</li>
100
+ <li><a href="#M000055">group</a>,</li>
95
101
 
96
- <li><a href="#M000054">group!</a>,</li>
102
+ <li><a href="#M000057">group!</a>,</li>
97
103
 
98
- <li><a href="#M000049">group?</a></li>
104
+ <li><a href="#M000054">group?</a></li>
99
105
 
100
106
  </ul>
101
107
  </dd>
@@ -113,6 +119,12 @@ A graphical program that is running in your current X Windows session.
113
119
  <dd>
114
120
  <ul>
115
121
 
122
+ <li><a href="#M000044">manage</a>,</li>
123
+
124
+ <li><a href="#M000046">manage!</a>,</li>
125
+
126
+ <li><a href="#M000043">manage?</a>,</li>
127
+
116
128
  <li><a href="#M000027">move</a></li>
117
129
 
118
130
  </ul>
@@ -122,7 +134,7 @@ A graphical program that is running in your current X Windows session.
122
134
  <dd>
123
135
  <ul>
124
136
 
125
- <li><a href="#M000021">new</a></li>
137
+ <li><a href="#M000022">new</a></li>
126
138
 
127
139
  </ul>
128
140
  </dd>
@@ -135,11 +147,11 @@ A graphical program that is running in your current X Windows session.
135
147
 
136
148
  <li><a href="#M000030">slay</a>,</li>
137
149
 
138
- <li><a href="#M000037">stick</a>,</li>
150
+ <li><a href="#M000036">stick</a>,</li>
139
151
 
140
- <li><a href="#M000039">stick!</a>,</li>
152
+ <li><a href="#M000038">stick!</a>,</li>
141
153
 
142
- <li><a href="#M000036">stick?</a>,</li>
154
+ <li><a href="#M000035">stick?</a>,</li>
143
155
 
144
156
  <li><a href="#M000028">swap</a></li>
145
157
 
@@ -150,11 +162,11 @@ A graphical program that is running in your current X Windows session.
150
162
  <dd>
151
163
  <ul>
152
164
 
153
- <li><a href="#M000046">tag</a>,</li>
165
+ <li><a href="#M000052">tag</a>,</li>
154
166
 
155
- <li><a href="#M000042">tags</a>,</li>
167
+ <li><a href="#M000049">tags</a>,</li>
156
168
 
157
- <li><a href="#M000043">tags=</a></li>
169
+ <li><a href="#M000050">tags=</a></li>
158
170
 
159
171
  </ul>
160
172
  </dd>
@@ -163,13 +175,17 @@ A graphical program that is running in your current X Windows session.
163
175
  <dd>
164
176
  <ul>
165
177
 
178
+ <li><a href="#M000041">unfloat</a>,</li>
179
+
166
180
  <li><a href="#M000032">unfullscreen</a>,</li>
167
181
 
168
- <li><a href="#M000051">ungroup</a>,</li>
182
+ <li><a href="#M000056">ungroup</a>,</li>
183
+
184
+ <li><a href="#M000045">unmanage</a>,</li>
169
185
 
170
- <li><a href="#M000038">unstick</a>,</li>
186
+ <li><a href="#M000037">unstick</a>,</li>
171
187
 
172
- <li><a href="#M000047">untag</a></li>
188
+ <li><a href="#M000053">untag</a></li>
173
189
 
174
190
  </ul>
175
191
  </dd>
@@ -178,7 +194,7 @@ A graphical program that is running in your current X Windows session.
178
194
  <dd>
179
195
  <ul>
180
196
 
181
- <li><a href="#M000041">views</a></li>
197
+ <li><a href="#M000048">views</a></li>
182
198
 
183
199
  </ul>
184
200
  </dd>
@@ -187,7 +203,7 @@ A graphical program that is running in your current X Windows session.
187
203
  <dd>
188
204
  <ul>
189
205
 
190
- <li><a href="#M000044">with_tags</a></li>
206
+ <li><a href="#M000051">with_tags</a></li>
191
207
 
192
208
  </ul>
193
209
  </dd>
@@ -201,7 +217,7 @@ A graphical program that is running in your current X Windows session.
201
217
 
202
218
  <li>
203
219
 
204
- <a href="IXP/Struct/Field/CounterField.html">Rumai::IXP::Struct::Field::CounterField</a>
220
+ <a href="../Rumai.html">Rumai</a>
205
221
 
206
222
  START:includes
207
223
  </li>
@@ -261,7 +277,7 @@ Returns the currently focused client.
261
277
  <p class="source-link">
262
278
  Source: <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">show</a>
263
279
 
264
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L114" target="_blank" class="github_url">on GitHub</a>
280
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L114" target="_blank" class="github_url">on GitHub</a>
265
281
 
266
282
  </p>
267
283
  <div id="M000023_source" class="dyn-source">
@@ -275,9 +291,9 @@ Returns the currently focused client.
275
291
  </div>
276
292
 
277
293
  <div class="method">
278
- <div class="title" id="M000021">
294
+ <div class="title" id="M000022">
279
295
 
280
- <a name="M000021"></a><b>new</b>(client_id)
296
+ <a name="M000022"></a><b>new</b>(client_id)
281
297
 
282
298
  </div>
283
299
 
@@ -286,12 +302,12 @@ Returns the currently focused client.
286
302
 
287
303
  <div class="sourcecode">
288
304
  <p class="source-link">
289
- Source: <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show</a>
305
+ Source: <a href="javascript:toggleSource('M000022_source')" id="l_M000022_source">show</a>
290
306
 
291
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L107" target="_blank" class="github_url">on GitHub</a>
307
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L107" target="_blank" class="github_url">on GitHub</a>
292
308
 
293
309
  </p>
294
- <div id="M000021_source" class="dyn-source">
310
+ <div id="M000022_source" class="dyn-source">
295
311
  <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 107</span>
296
312
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">client_id</span>
297
313
  <span class="ruby-keyword kw">super</span> <span class="ruby-identifier">client_id</span>, <span class="ruby-value str">'/client'</span>
@@ -304,9 +320,9 @@ Returns the currently focused client.
304
320
  <div class="sectiontitle">Instance Public methods</div>
305
321
 
306
322
  <div class="method">
307
- <div class="title" id="M000040">
323
+ <div class="title" id="M000047">
308
324
 
309
- <a name="M000040"></a><b>area</b>(view = View.curr)
325
+ <a name="M000047"></a><b>area</b>(view = View.curr)
310
326
 
311
327
  </div>
312
328
 
@@ -322,13 +338,13 @@ Returns the area that contains this client within the given view.
322
338
 
323
339
  <div class="sourcecode">
324
340
  <p class="source-link">
325
- Source: <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show</a>
341
+ Source: <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show</a>
326
342
 
327
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L256" target="_blank" class="github_url">on GitHub</a>
343
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L296" target="_blank" class="github_url">on GitHub</a>
328
344
 
329
345
  </p>
330
- <div id="M000040_source" class="dyn-source">
331
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 256</span>
346
+ <div id="M000047_source" class="dyn-source">
347
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 296</span>
332
348
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">area</span> <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
333
349
  <span class="ruby-identifier">view</span>.<span class="ruby-identifier">area_of_client</span> <span class="ruby-keyword kw">self</span>
334
350
  <span class="ruby-keyword kw">end</span></pre>
@@ -358,7 +374,7 @@ Returns a list of all clients in the current view.
358
374
  <p class="source-link">
359
375
  Source: <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">show</a>
360
376
 
361
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L123" target="_blank" class="github_url">on GitHub</a>
377
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L123" target="_blank" class="github_url">on GitHub</a>
362
378
 
363
379
  </p>
364
380
  <div id="M000024_source" class="dyn-source">
@@ -371,6 +387,122 @@ Returns a list of all clients in the current view.
371
387
 
372
388
  </div>
373
389
 
390
+ <div class="method">
391
+ <div class="title" id="M000040">
392
+
393
+ <a name="M000040"></a><b>float</b>(view = View.curr)
394
+
395
+ </div>
396
+
397
+ <div class="description">
398
+ <p>
399
+ Puts this client into the floating area of the given view.
400
+ </p>
401
+
402
+ </div>
403
+
404
+
405
+ <div class="aka">
406
+ This method is also aliased as
407
+
408
+ <a href="Client.html#M000045">unmanage</a>
409
+
410
+ </div>
411
+
412
+
413
+
414
+ <div class="sourcecode">
415
+ <p class="source-link">
416
+ Source: <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show</a>
417
+
418
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L261" target="_blank" class="github_url">on GitHub</a>
419
+
420
+ </p>
421
+ <div id="M000040_source" class="dyn-source">
422
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 261</span>
423
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">float</span> <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
424
+ <span class="ruby-identifier">send</span> <span class="ruby-identifier">:toggle</span>, <span class="ruby-identifier">view</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">float?</span> <span class="ruby-identifier">view</span>
425
+ <span class="ruby-keyword kw">end</span></pre>
426
+ </div>
427
+ </div>
428
+
429
+ </div>
430
+
431
+ <div class="method">
432
+ <div class="title" id="M000042">
433
+
434
+ <a name="M000042"></a><b>float!</b>(view = View.curr)
435
+
436
+ </div>
437
+
438
+ <div class="description">
439
+ <p>
440
+ Toggles the floating status of this client in the given view.
441
+ </p>
442
+
443
+ </div>
444
+
445
+
446
+ <div class="aka">
447
+ This method is also aliased as
448
+
449
+ <a href="Client.html#M000046">manage!</a>
450
+
451
+ </div>
452
+
453
+
454
+
455
+ <div class="sourcecode">
456
+ <p class="source-link">
457
+ Source: <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show</a>
458
+
459
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L275" target="_blank" class="github_url">on GitHub</a>
460
+
461
+ </p>
462
+ <div id="M000042_source" class="dyn-source">
463
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 275</span>
464
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">float!</span> <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
465
+ <span class="ruby-identifier">send</span> <span class="ruby-identifier">:toggle</span>, <span class="ruby-identifier">view</span>
466
+ <span class="ruby-keyword kw">end</span></pre>
467
+ </div>
468
+ </div>
469
+
470
+ </div>
471
+
472
+ <div class="method">
473
+ <div class="title" id="M000039">
474
+
475
+ <a name="M000039"></a><b>float?</b>(view = View.curr)
476
+
477
+ </div>
478
+
479
+ <div class="description">
480
+ <p>
481
+ Checks if this client is in the floating area of the given view.
482
+ </p>
483
+
484
+ </div>
485
+
486
+
487
+
488
+
489
+ <div class="sourcecode">
490
+ <p class="source-link">
491
+ Source: <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show</a>
492
+
493
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L254" target="_blank" class="github_url">on GitHub</a>
494
+
495
+ </p>
496
+ <div id="M000039_source" class="dyn-source">
497
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 254</span>
498
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">float?</span> <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
499
+ <span class="ruby-identifier">area</span>(<span class="ruby-identifier">view</span>).<span class="ruby-identifier">floating?</span>
500
+ <span class="ruby-keyword kw">end</span></pre>
501
+ </div>
502
+ </div>
503
+
504
+ </div>
505
+
374
506
  <div class="method">
375
507
  <div class="title" id="M000025">
376
508
 
@@ -392,7 +524,7 @@ Focuses this client within the given view.
392
524
  <p class="source-link">
393
525
  Source: <a href="javascript:toggleSource('M000025_source')" id="l_M000025_source">show</a>
394
526
 
395
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L132" target="_blank" class="github_url">on GitHub</a>
527
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L132" target="_blank" class="github_url">on GitHub</a>
396
528
 
397
529
  </p>
398
530
  <div id="M000025_source" class="dyn-source">
@@ -412,7 +544,7 @@ Focuses this client within the given view.
412
544
  <span class="ruby-identifier">distance</span> = (<span class="ruby-identifier">src</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">dst</span>).<span class="ruby-identifier">abs</span>
413
545
  <span class="ruby-identifier">direction</span> = <span class="ruby-identifier">src</span> <span class="ruby-operator">&lt;</span> <span class="ruby-identifier">dst</span> <span class="ruby-value">? </span><span class="ruby-operator">:</span><span class="ruby-identifier">down</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">:up</span>
414
546
 
415
- <span class="ruby-identifier">distance</span>.<span class="ruby-identifier">times</span> { <span class="ruby-identifier">v</span>.<span class="ruby-identifier">move_focus</span> <span class="ruby-identifier">direction</span> }
547
+ <span class="ruby-identifier">distance</span>.<span class="ruby-identifier">times</span> { <span class="ruby-identifier">v</span>.<span class="ruby-identifier">select</span> <span class="ruby-identifier">direction</span> }
416
548
 
417
549
  <span class="ruby-keyword kw">break</span>
418
550
  <span class="ruby-keyword kw">end</span>
@@ -445,7 +577,7 @@ Maximizes this client to occupy the entire screen on the current view.
445
577
  <p class="source-link">
446
578
  Source: <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show</a>
447
579
 
448
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L190" target="_blank" class="github_url">on GitHub</a>
580
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L190" target="_blank" class="github_url">on GitHub</a>
449
581
 
450
582
  </p>
451
583
  <div id="M000031_source" class="dyn-source">
@@ -479,7 +611,7 @@ Toggles the fullscreen status of this client on the current view.
479
611
  <p class="source-link">
480
612
  Source: <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show</a>
481
613
 
482
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L204" target="_blank" class="github_url">on GitHub</a>
614
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L204" target="_blank" class="github_url">on GitHub</a>
483
615
 
484
616
  </p>
485
617
  <div id="M000033_source" class="dyn-source">
@@ -513,7 +645,7 @@ Checks if this client is currently fullscreen on the current view.
513
645
  <p class="source-link">
514
646
  Source: <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show</a>
515
647
 
516
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L211" target="_blank" class="github_url">on GitHub</a>
648
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L211" target="_blank" class="github_url">on GitHub</a>
517
649
 
518
650
  </p>
519
651
  <div id="M000034_source" class="dyn-source">
@@ -531,9 +663,9 @@ Checks if this client is currently fullscreen on the current view.
531
663
  </div>
532
664
 
533
665
  <div class="method">
534
- <div class="title" id="M000050">
666
+ <div class="title" id="M000055">
535
667
 
536
- <a name="M000050"></a><b>group</b>()
668
+ <a name="M000055"></a><b>group</b>()
537
669
 
538
670
  </div>
539
671
 
@@ -549,13 +681,13 @@ Adds this client to the current grouping.
549
681
 
550
682
  <div class="sourcecode">
551
683
  <p class="source-link">
552
- Source: <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show</a>
684
+ Source: <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">show</a>
553
685
 
554
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L328" target="_blank" class="github_url">on GitHub</a>
686
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L403" target="_blank" class="github_url">on GitHub</a>
555
687
 
556
688
  </p>
557
- <div id="M000050_source" class="dyn-source">
558
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 328</span>
689
+ <div id="M000055_source" class="dyn-source">
690
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 403</span>
559
691
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">group</span>
560
692
  <span class="ruby-identifier">with_tags</span> <span class="ruby-keyword kw">do</span>
561
693
  <span class="ruby-identifier">push</span> <span class="ruby-constant">CLIENT_GROUPING_TAG</span>
@@ -567,9 +699,9 @@ Adds this client to the current grouping.
567
699
  </div>
568
700
 
569
701
  <div class="method">
570
- <div class="title" id="M000054">
702
+ <div class="title" id="M000057">
571
703
 
572
- <a name="M000054"></a><b>group!</b>()
704
+ <a name="M000057"></a><b>group!</b>()
573
705
 
574
706
  </div>
575
707
 
@@ -585,13 +717,13 @@ Toggles the presence of this client in the current grouping.
585
717
 
586
718
  <div class="sourcecode">
587
719
  <p class="source-link">
588
- Source: <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show</a>
720
+ Source: <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">show</a>
589
721
 
590
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L344" target="_blank" class="github_url">on GitHub</a>
722
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L419" target="_blank" class="github_url">on GitHub</a>
591
723
 
592
724
  </p>
593
- <div id="M000054_source" class="dyn-source">
594
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 344</span>
725
+ <div id="M000057_source" class="dyn-source">
726
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 419</span>
595
727
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">group!</span>
596
728
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">group?</span>
597
729
  <span class="ruby-identifier">ungroup</span>
@@ -605,9 +737,9 @@ Toggles the presence of this client in the current grouping.
605
737
  </div>
606
738
 
607
739
  <div class="method">
608
- <div class="title" id="M000049">
740
+ <div class="title" id="M000054">
609
741
 
610
- <a name="M000049"></a><b>group?</b>()
742
+ <a name="M000054"></a><b>group?</b>()
611
743
 
612
744
  </div>
613
745
 
@@ -623,13 +755,13 @@ Checks if this client is included in the current grouping.
623
755
 
624
756
  <div class="sourcecode">
625
757
  <p class="source-link">
626
- Source: <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show</a>
758
+ Source: <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show</a>
627
759
 
628
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L321" target="_blank" class="github_url">on GitHub</a>
760
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L396" target="_blank" class="github_url">on GitHub</a>
629
761
 
630
762
  </p>
631
- <div id="M000049_source" class="dyn-source">
632
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 321</span>
763
+ <div id="M000054_source" class="dyn-source">
764
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 396</span>
633
765
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">group?</span>
634
766
  <span class="ruby-identifier">tags</span>.<span class="ruby-identifier">include?</span> <span class="ruby-constant">CLIENT_GROUPING_TAG</span>
635
767
  <span class="ruby-keyword kw">end</span></pre>
@@ -659,7 +791,7 @@ Terminates this client nicely (requests this window to be closed).
659
791
  <p class="source-link">
660
792
  Source: <a href="javascript:toggleSource('M000029_source')" id="l_M000029_source">show</a>
661
793
 
662
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L176" target="_blank" class="github_url">on GitHub</a>
794
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L176" target="_blank" class="github_url">on GitHub</a>
663
795
 
664
796
  </p>
665
797
  <div id="M000029_source" class="dyn-source">
@@ -672,6 +804,76 @@ Terminates this client nicely (requests this window to be closed).
672
804
 
673
805
  </div>
674
806
 
807
+ <div class="method">
808
+ <div class="title" id="M000044">
809
+
810
+ <a name="M000044"></a><b>manage</b>(view = View.curr)
811
+
812
+ </div>
813
+
814
+ <div class="description">
815
+ <p>
816
+ Alias for <a href="Client.html#M000041">unfloat</a>
817
+ </p>
818
+
819
+ </div>
820
+
821
+
822
+
823
+ </div>
824
+
825
+ <div class="method">
826
+ <div class="title" id="M000046">
827
+
828
+ <a name="M000046"></a><b>manage!</b>(view = View.curr)
829
+
830
+ </div>
831
+
832
+ <div class="description">
833
+ <p>
834
+ Alias for <a href="Client.html#M000042">float!</a>
835
+ </p>
836
+
837
+ </div>
838
+
839
+
840
+
841
+ </div>
842
+
843
+ <div class="method">
844
+ <div class="title" id="M000043">
845
+
846
+ <a name="M000043"></a><b>manage?</b>(view = View.curr)
847
+
848
+ </div>
849
+
850
+ <div class="description">
851
+ <p>
852
+ Checks if this client is in the managed area of the given view.
853
+ </p>
854
+
855
+ </div>
856
+
857
+
858
+
859
+
860
+ <div class="sourcecode">
861
+ <p class="source-link">
862
+ Source: <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show</a>
863
+
864
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L281" target="_blank" class="github_url">on GitHub</a>
865
+
866
+ </p>
867
+ <div id="M000043_source" class="dyn-source">
868
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 281</span>
869
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">manage?</span> <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
870
+ <span class="ruby-keyword kw">not</span> <span class="ruby-identifier">float?</span> <span class="ruby-identifier">view</span>
871
+ <span class="ruby-keyword kw">end</span></pre>
872
+ </div>
873
+ </div>
874
+
875
+ </div>
876
+
675
877
  <div class="method">
676
878
  <div class="title" id="M000027">
677
879
 
@@ -718,7 +920,7 @@ Sends this client to the given destination within the given view.
718
920
  <p class="source-link">
719
921
  Source: <a href="javascript:toggleSource('M000026_source')" id="l_M000026_source">show</a>
720
922
 
721
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L158" target="_blank" class="github_url">on GitHub</a>
923
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L158" target="_blank" class="github_url">on GitHub</a>
722
924
 
723
925
  </p>
724
926
  <div id="M000026_source" class="dyn-source">
@@ -753,7 +955,7 @@ Terminates this client forcefully.
753
955
  <p class="source-link">
754
956
  Source: <a href="javascript:toggleSource('M000030_source')" id="l_M000030_source">show</a>
755
957
 
756
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L183" target="_blank" class="github_url">on GitHub</a>
958
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L183" target="_blank" class="github_url">on GitHub</a>
757
959
 
758
960
  </p>
759
961
  <div id="M000030_source" class="dyn-source">
@@ -767,9 +969,9 @@ Terminates this client forcefully.
767
969
  </div>
768
970
 
769
971
  <div class="method">
770
- <div class="title" id="M000037">
972
+ <div class="title" id="M000036">
771
973
 
772
- <a name="M000037"></a><b>stick</b>()
974
+ <a name="M000036"></a><b>stick</b>()
773
975
 
774
976
  </div>
775
977
 
@@ -785,12 +987,12 @@ Makes this client sticky (appears in all views).
785
987
 
786
988
  <div class="sourcecode">
787
989
  <p class="source-link">
788
- Source: <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show</a>
990
+ Source: <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show</a>
789
991
 
790
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L229" target="_blank" class="github_url">on GitHub</a>
992
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L229" target="_blank" class="github_url">on GitHub</a>
791
993
 
792
994
  </p>
793
- <div id="M000037_source" class="dyn-source">
995
+ <div id="M000036_source" class="dyn-source">
794
996
  <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 229</span>
795
997
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stick</span>
796
998
  <span class="ruby-identifier">tag</span> <span class="ruby-constant">CLIENT_STICKY_TAG</span>
@@ -801,9 +1003,9 @@ Makes this client sticky (appears in all views).
801
1003
  </div>
802
1004
 
803
1005
  <div class="method">
804
- <div class="title" id="M000039">
1006
+ <div class="title" id="M000038">
805
1007
 
806
- <a name="M000039"></a><b>stick!</b>()
1008
+ <a name="M000038"></a><b>stick!</b>()
807
1009
 
808
1010
  </div>
809
1011
 
@@ -819,12 +1021,12 @@ Toggles the stickyness of this client.
819
1021
 
820
1022
  <div class="sourcecode">
821
1023
  <p class="source-link">
822
- Source: <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show</a>
1024
+ Source: <a href="javascript:toggleSource('M000038_source')" id="l_M000038_source">show</a>
823
1025
 
824
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L243" target="_blank" class="github_url">on GitHub</a>
1026
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L243" target="_blank" class="github_url">on GitHub</a>
825
1027
 
826
1028
  </p>
827
- <div id="M000039_source" class="dyn-source">
1029
+ <div id="M000038_source" class="dyn-source">
828
1030
  <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 243</span>
829
1031
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stick!</span>
830
1032
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">stick?</span>
@@ -839,9 +1041,9 @@ Toggles the stickyness of this client.
839
1041
  </div>
840
1042
 
841
1043
  <div class="method">
842
- <div class="title" id="M000036">
1044
+ <div class="title" id="M000035">
843
1045
 
844
- <a name="M000036"></a><b>stick?</b>()
1046
+ <a name="M000035"></a><b>stick?</b>()
845
1047
 
846
1048
  </div>
847
1049
 
@@ -857,12 +1059,12 @@ Checks if this client is sticky (appears in all views).
857
1059
 
858
1060
  <div class="sourcecode">
859
1061
  <p class="source-link">
860
- Source: <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show</a>
1062
+ Source: <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show</a>
861
1063
 
862
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L222" target="_blank" class="github_url">on GitHub</a>
1064
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L222" target="_blank" class="github_url">on GitHub</a>
863
1065
 
864
1066
  </p>
865
- <div id="M000036_source" class="dyn-source">
1067
+ <div id="M000035_source" class="dyn-source">
866
1068
  <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 222</span>
867
1069
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stick?</span>
868
1070
  <span class="ruby-identifier">tags</span>.<span class="ruby-identifier">include?</span> <span class="ruby-constant">CLIENT_STICKY_TAG</span>
@@ -893,7 +1095,7 @@ Swaps this client with the given destination within the given view.
893
1095
  <p class="source-link">
894
1096
  Source: <a href="javascript:toggleSource('M000028_source')" id="l_M000028_source">show</a>
895
1097
 
896
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L168" target="_blank" class="github_url">on GitHub</a>
1098
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L168" target="_blank" class="github_url">on GitHub</a>
897
1099
 
898
1100
  </p>
899
1101
  <div id="M000028_source" class="dyn-source">
@@ -908,9 +1110,9 @@ Swaps this client with the given destination within the given view.
908
1110
  </div>
909
1111
 
910
1112
  <div class="method">
911
- <div class="title" id="M000046">
1113
+ <div class="title" id="M000052">
912
1114
 
913
- <a name="M000046"></a><b>tag</b>(*tags)
1115
+ <a name="M000052"></a><b>tag</b>(*tags)
914
1116
 
915
1117
  </div>
916
1118
 
@@ -926,13 +1128,13 @@ Adds the given tags to this client.
926
1128
 
927
1129
  <div class="sourcecode">
928
1130
  <p class="source-link">
929
- Source: <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show</a>
1131
+ Source: <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show</a>
930
1132
 
931
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L299" target="_blank" class="github_url">on GitHub</a>
1133
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L374" target="_blank" class="github_url">on GitHub</a>
932
1134
 
933
1135
  </p>
934
- <div id="M000046_source" class="dyn-source">
935
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 299</span>
1136
+ <div id="M000052_source" class="dyn-source">
1137
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 374</span>
936
1138
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tag</span> <span class="ruby-operator">*</span><span class="ruby-identifier">tags</span>
937
1139
  <span class="ruby-identifier">with_tags</span> <span class="ruby-keyword kw">do</span>
938
1140
  <span class="ruby-identifier">concat</span> <span class="ruby-identifier">tags</span>
@@ -944,9 +1146,9 @@ Adds the given tags to this client.
944
1146
  </div>
945
1147
 
946
1148
  <div class="method">
947
- <div class="title" id="M000042">
1149
+ <div class="title" id="M000049">
948
1150
 
949
- <a name="M000042"></a><b>tags</b>()
1151
+ <a name="M000049"></a><b>tags</b>()
950
1152
 
951
1153
  </div>
952
1154
 
@@ -962,13 +1164,13 @@ Returns the tags associated with this client.
962
1164
 
963
1165
  <div class="sourcecode">
964
1166
  <p class="source-link">
965
- Source: <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show</a>
1167
+ Source: <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show</a>
966
1168
 
967
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L274" target="_blank" class="github_url">on GitHub</a>
1169
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L314" target="_blank" class="github_url">on GitHub</a>
968
1170
 
969
1171
  </p>
970
- <div id="M000042_source" class="dyn-source">
971
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 274</span>
1172
+ <div id="M000049_source" class="dyn-source">
1173
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 314</span>
972
1174
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tags</span>
973
1175
  <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">:tags</span>].<span class="ruby-identifier">read</span>.<span class="ruby-identifier">split</span> <span class="ruby-constant">TAG_DELIMITER</span>
974
1176
  <span class="ruby-keyword kw">end</span></pre>
@@ -978,15 +1180,31 @@ Returns the tags associated with this client.
978
1180
  </div>
979
1181
 
980
1182
  <div class="method">
981
- <div class="title" id="M000043">
1183
+ <div class="title" id="M000050">
982
1184
 
983
- <a name="M000043"></a><b>tags=</b>(*tags)
1185
+ <a name="M000050"></a><b>tags=</b>(*tags)
984
1186
 
985
1187
  </div>
986
1188
 
987
1189
  <div class="description">
988
1190
  <p>
989
1191
  Modifies the tags associated with this client.
1192
+ </p>
1193
+ <p>
1194
+ If a tag name is &#8217;~&#8217;, this client is placed into the floating
1195
+ layer of the current view.
1196
+ </p>
1197
+ <p>
1198
+ If a tag name begins with &#8217;~&#8217;, then this client is placed into
1199
+ the floating layer of the view corresponding to that tag.
1200
+ </p>
1201
+ <p>
1202
+ If a tag name is &#8217;!&#8217;, this client is placed into the managed
1203
+ layer of the current view.
1204
+ </p>
1205
+ <p>
1206
+ If a tag name begins with &#8217;!&#8217;, then this client is placed into
1207
+ the managed layer of the view corresponding to that tag.
990
1208
  </p>
991
1209
 
992
1210
  </div>
@@ -996,16 +1214,78 @@ Modifies the tags associated with this client.
996
1214
 
997
1215
  <div class="sourcecode">
998
1216
  <p class="source-link">
999
- Source: <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show</a>
1217
+ Source: <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show</a>
1000
1218
 
1001
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L281" target="_blank" class="github_url">on GitHub</a>
1219
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L335" target="_blank" class="github_url">on GitHub</a>
1002
1220
 
1003
1221
  </p>
1004
- <div id="M000043_source" class="dyn-source">
1005
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 281</span>
1222
+ <div id="M000050_source" class="dyn-source">
1223
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 335</span>
1006
1224
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tags=</span> <span class="ruby-operator">*</span><span class="ruby-identifier">tags</span>
1007
- <span class="ruby-identifier">arr</span> = <span class="ruby-identifier">tags</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">compact</span>.<span class="ruby-identifier">uniq</span>
1008
- <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">:tags</span>].<span class="ruby-identifier">write</span> <span class="ruby-identifier">arr</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">TAG_DELIMITER</span>)
1225
+ <span class="ruby-identifier">float</span> = []
1226
+ <span class="ruby-identifier">manage</span> = []
1227
+ <span class="ruby-identifier">inherit</span> = []
1228
+
1229
+ <span class="ruby-identifier">tags</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">TAG_DELIMITER</span>).<span class="ruby-identifier">split</span>(<span class="ruby-constant">TAG_DELIMITER</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">tag</span><span class="ruby-operator">|</span>
1230
+ <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">tag</span>
1231
+ <span class="ruby-keyword kw">when</span> <span class="ruby-value str">'~'</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">float</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">Rumai</span>.<span class="ruby-identifier">curr_tag</span>
1232
+ <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/^~/</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">float</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">$'</span>
1233
+ <span class="ruby-keyword kw">when</span> <span class="ruby-value str">'!'</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">manage</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">Rumai</span>.<span class="ruby-identifier">curr_tag</span>
1234
+ <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/^!/</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">manage</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">$'</span>
1235
+ <span class="ruby-keyword kw">else</span> <span class="ruby-identifier">inherit</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">tag</span>
1236
+ <span class="ruby-keyword kw">end</span>
1237
+ <span class="ruby-keyword kw">end</span>
1238
+
1239
+ <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">:tags</span>].<span class="ruby-identifier">write</span>((<span class="ruby-identifier">float</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">manage</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">inherit</span>).<span class="ruby-identifier">uniq</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">TAG_DELIMITER</span>))
1240
+
1241
+ <span class="ruby-identifier">float</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">tag</span><span class="ruby-operator">|</span>
1242
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">float</span> <span class="ruby-constant">View</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">tag</span>)
1243
+ <span class="ruby-keyword kw">end</span>
1244
+
1245
+ <span class="ruby-identifier">manage</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">tag</span><span class="ruby-operator">|</span>
1246
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">manage</span> <span class="ruby-constant">View</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">tag</span>)
1247
+ <span class="ruby-keyword kw">end</span>
1248
+ <span class="ruby-keyword kw">end</span></pre>
1249
+ </div>
1250
+ </div>
1251
+
1252
+ </div>
1253
+
1254
+ <div class="method">
1255
+ <div class="title" id="M000041">
1256
+
1257
+ <a name="M000041"></a><b>unfloat</b>(view = View.curr)
1258
+
1259
+ </div>
1260
+
1261
+ <div class="description">
1262
+ <p>
1263
+ Puts this client into the managed area of the given view.
1264
+ </p>
1265
+
1266
+ </div>
1267
+
1268
+
1269
+ <div class="aka">
1270
+ This method is also aliased as
1271
+
1272
+ <a href="Client.html#M000044">manage</a>
1273
+
1274
+ </div>
1275
+
1276
+
1277
+
1278
+ <div class="sourcecode">
1279
+ <p class="source-link">
1280
+ Source: <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show</a>
1281
+
1282
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L268" target="_blank" class="github_url">on GitHub</a>
1283
+
1284
+ </p>
1285
+ <div id="M000041_source" class="dyn-source">
1286
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 268</span>
1287
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unfloat</span> <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
1288
+ <span class="ruby-identifier">send</span> <span class="ruby-identifier">:toggle</span>, <span class="ruby-identifier">view</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">float?</span> <span class="ruby-identifier">view</span>
1009
1289
  <span class="ruby-keyword kw">end</span></pre>
1010
1290
  </div>
1011
1291
  </div>
@@ -1033,7 +1313,7 @@ Restores this client back to its original size on the current view.
1033
1313
  <p class="source-link">
1034
1314
  Source: <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show</a>
1035
1315
 
1036
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L197" target="_blank" class="github_url">on GitHub</a>
1316
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L197" target="_blank" class="github_url">on GitHub</a>
1037
1317
 
1038
1318
  </p>
1039
1319
  <div id="M000032_source" class="dyn-source">
@@ -1047,9 +1327,9 @@ Restores this client back to its original size on the current view.
1047
1327
  </div>
1048
1328
 
1049
1329
  <div class="method">
1050
- <div class="title" id="M000051">
1330
+ <div class="title" id="M000056">
1051
1331
 
1052
- <a name="M000051"></a><b>ungroup</b>()
1332
+ <a name="M000056"></a><b>ungroup</b>()
1053
1333
 
1054
1334
  </div>
1055
1335
 
@@ -1065,13 +1345,13 @@ Removes this client to the current grouping.
1065
1345
 
1066
1346
  <div class="sourcecode">
1067
1347
  <p class="source-link">
1068
- Source: <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">show</a>
1348
+ Source: <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show</a>
1069
1349
 
1070
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L337" target="_blank" class="github_url">on GitHub</a>
1350
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L412" target="_blank" class="github_url">on GitHub</a>
1071
1351
 
1072
1352
  </p>
1073
- <div id="M000051_source" class="dyn-source">
1074
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 337</span>
1353
+ <div id="M000056_source" class="dyn-source">
1354
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 412</span>
1075
1355
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ungroup</span>
1076
1356
  <span class="ruby-identifier">untag</span> <span class="ruby-constant">CLIENT_GROUPING_TAG</span>
1077
1357
  <span class="ruby-keyword kw">end</span></pre>
@@ -1081,9 +1361,27 @@ Removes this client to the current grouping.
1081
1361
  </div>
1082
1362
 
1083
1363
  <div class="method">
1084
- <div class="title" id="M000038">
1364
+ <div class="title" id="M000045">
1365
+
1366
+ <a name="M000045"></a><b>unmanage</b>(view = View.curr)
1367
+
1368
+ </div>
1369
+
1370
+ <div class="description">
1371
+ <p>
1372
+ Alias for <a href="Client.html#M000040">float</a>
1373
+ </p>
1374
+
1375
+ </div>
1376
+
1377
+
1378
+
1379
+ </div>
1380
+
1381
+ <div class="method">
1382
+ <div class="title" id="M000037">
1085
1383
 
1086
- <a name="M000038"></a><b>unstick</b>()
1384
+ <a name="M000037"></a><b>unstick</b>()
1087
1385
 
1088
1386
  </div>
1089
1387
 
@@ -1099,12 +1397,12 @@ Makes this client unsticky (does not appear in all views).
1099
1397
 
1100
1398
  <div class="sourcecode">
1101
1399
  <p class="source-link">
1102
- Source: <a href="javascript:toggleSource('M000038_source')" id="l_M000038_source">show</a>
1400
+ Source: <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show</a>
1103
1401
 
1104
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L236" target="_blank" class="github_url">on GitHub</a>
1402
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L236" target="_blank" class="github_url">on GitHub</a>
1105
1403
 
1106
1404
  </p>
1107
- <div id="M000038_source" class="dyn-source">
1405
+ <div id="M000037_source" class="dyn-source">
1108
1406
  <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 236</span>
1109
1407
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unstick</span>
1110
1408
  <span class="ruby-identifier">untag</span> <span class="ruby-constant">CLIENT_STICKY_TAG</span>
@@ -1115,9 +1413,9 @@ Makes this client unsticky (does not appear in all views).
1115
1413
  </div>
1116
1414
 
1117
1415
  <div class="method">
1118
- <div class="title" id="M000047">
1416
+ <div class="title" id="M000053">
1119
1417
 
1120
- <a name="M000047"></a><b>untag</b>(*tags)
1418
+ <a name="M000053"></a><b>untag</b>(*tags)
1121
1419
 
1122
1420
  </div>
1123
1421
 
@@ -1133,13 +1431,13 @@ Removes the given tags from this client.
1133
1431
 
1134
1432
  <div class="sourcecode">
1135
1433
  <p class="source-link">
1136
- Source: <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show</a>
1434
+ Source: <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">show</a>
1137
1435
 
1138
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L308" target="_blank" class="github_url">on GitHub</a>
1436
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L383" target="_blank" class="github_url">on GitHub</a>
1139
1437
 
1140
1438
  </p>
1141
- <div id="M000047_source" class="dyn-source">
1142
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 308</span>
1439
+ <div id="M000053_source" class="dyn-source">
1440
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 383</span>
1143
1441
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">untag</span> <span class="ruby-operator">*</span><span class="ruby-identifier">tags</span>
1144
1442
  <span class="ruby-identifier">with_tags</span> <span class="ruby-keyword kw">do</span>
1145
1443
  <span class="ruby-identifier">tags</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">tag</span><span class="ruby-operator">|</span>
@@ -1153,9 +1451,9 @@ Removes the given tags from this client.
1153
1451
  </div>
1154
1452
 
1155
1453
  <div class="method">
1156
- <div class="title" id="M000041">
1454
+ <div class="title" id="M000048">
1157
1455
 
1158
- <a name="M000041"></a><b>views</b>()
1456
+ <a name="M000048"></a><b>views</b>()
1159
1457
 
1160
1458
  </div>
1161
1459
 
@@ -1171,13 +1469,13 @@ Returns the views that contain this client.
1171
1469
 
1172
1470
  <div class="sourcecode">
1173
1471
  <p class="source-link">
1174
- Source: <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show</a>
1472
+ Source: <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show</a>
1175
1473
 
1176
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L263" target="_blank" class="github_url">on GitHub</a>
1474
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L303" target="_blank" class="github_url">on GitHub</a>
1177
1475
 
1178
1476
  </p>
1179
- <div id="M000041_source" class="dyn-source">
1180
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 263</span>
1477
+ <div id="M000048_source" class="dyn-source">
1478
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 303</span>
1181
1479
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">views</span>
1182
1480
  <span class="ruby-identifier">tags</span>.<span class="ruby-identifier">map!</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span> <span class="ruby-constant">View</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">t</span> }
1183
1481
  <span class="ruby-keyword kw">end</span></pre>
@@ -1187,9 +1485,9 @@ Returns the views that contain this client.
1187
1485
  </div>
1188
1486
 
1189
1487
  <div class="method">
1190
- <div class="title" id="M000044">
1488
+ <div class="title" id="M000051">
1191
1489
 
1192
- <a name="M000044"></a><b>with_tags</b>(&amp;block)
1490
+ <a name="M000051"></a><b>with_tags</b>(&amp;block)
1193
1491
 
1194
1492
  </div>
1195
1493
 
@@ -1206,13 +1504,13 @@ tags.
1206
1504
 
1207
1505
  <div class="sourcecode">
1208
1506
  <p class="source-link">
1209
- Source: <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show</a>
1507
+ Source: <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">show</a>
1210
1508
 
1211
- | <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L290" target="_blank" class="github_url">on GitHub</a>
1509
+ | <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L365" target="_blank" class="github_url">on GitHub</a>
1212
1510
 
1213
1511
  </p>
1214
- <div id="M000044_source" class="dyn-source">
1215
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 290</span>
1512
+ <div id="M000051_source" class="dyn-source">
1513
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 365</span>
1216
1514
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with_tags</span> <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>
1217
1515
  <span class="ruby-identifier">arr</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">tags</span>
1218
1516
  <span class="ruby-identifier">arr</span>.<span class="ruby-identifier">instance_eval</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)