[hackers] [wmii] Fix another pygmi Xinerama bug. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Thu, 22 Oct 2009 11:07:58 +0000 (UTC)

changeset: 2562:fd10596f58c9
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Thu Oct 22 07:07:39 2009 -0400
files: alternative_wmiircs/python/pygmi/fs.py
description:
Fix another pygmi Xinerama bug.

diff -r 895eeae5f462 -r fd10596f58c9 alternative_wmiircs/python/pygmi/fs.py
--- a/alternative_wmiircs/python/pygmi/fs.py Thu Oct 22 07:07:10 2009 -0400
+++ b/alternative_wmiircs/python/pygmi/fs.py Thu Oct 22 07:07:39 2009 -0400
@@ -238,6 +238,8 @@
 class Area(object):
     def __init__(self, tag, ord, screen='sel', offset=None, width=None, height=None, frames=None):
         self.tag = tag
+ if ':' in str(ord):
+ screen, ord = ord.split(':', 2)
         self.ord = str(ord)
         self.screen = str(screen)
         self.offset = offset
Received on Thu Oct 22 2009 - 11:07:58 UTC

This archive was generated by hypermail 2.2.0 : Thu Oct 22 2009 - 11:12:07 UTC