Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #4 from ArtisR/master

Fixed group spawning by keyboard.
  • Loading branch information...
commit f347f0f34f1aa25c34e68767b364e68bd7b002b5 2 parents eaf6674 + c158720
@JesusLeon authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 split_screen_resizer.py
View
4 split_screen_resizer.py
@@ -80,6 +80,10 @@ def run(self, side, ignore_focus_on_resize=False):
num = win.num_groups()
act = win.active_group()
+ #If theres only one group in current window. Do nothing.
+ if num == 1:
+ return 0
+
if side == "left":
ratio = self.settings.get('ratio_left')
act = act - 1
Please sign in to comment.
Something went wrong with that request. Please try again.