Permalink
Browse files

correct layout name and change the swap focused window keymap. makes

sense
  • Loading branch information...
1 parent e748dc5 commit d0a416bba056ec2e5f1e094a6054c0750a342548 @glucero committed Nov 2, 2012
Showing with 2 additions and 5 deletions.
  1. +1 −4 source/lib/fusuma/keymap.rb
  2. +1 −1 source/lib/fusuma/layouts/full_desktop_all.json
@@ -21,13 +21,10 @@ def swap_focused_window_with_main
# swap the focused window's current position with the main window
focused_window = Application.active.focused_window
if layout.include? focused_window
- main = layout.main
index = layout.index(focused_window)
-
log.debug "Swapping the main window's position with window #{index}."
- layout.shift
- layout.insert(index, main)
+ layout.insert(index, layout.shift)
layout.prepend(focused_window)
apply_layout
@@ -3,7 +3,7 @@
// all windows cover the full desktop (max 5)
{
- "name": "quadrants",
+ "name": "full_desktop_all",
"scale": {
"origin": [ 0, 0 ],
"size": [ 120, 120 ]

0 comments on commit d0a416b

Please sign in to comment.