From 6af696901577e98dc5657c3edbcc8c2caae0eb89 Mon Sep 17 00:00:00 2001 From: mfrasca <> Date: Thu, 12 Oct 2006 20:28:52 +0000 Subject: [PATCH] 1575762: initialization of pixmask makes it possible to have application windows wider than 64 pixels. the limit of 128 pixels cannot be crossed. --- wmdocklib/pywmhelpers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wmdocklib/pywmhelpers.py b/wmdocklib/pywmhelpers.py index 80ceb4a..8aac423 100644 --- a/wmdocklib/pywmhelpers.py +++ b/wmdocklib/pywmhelpers.py @@ -219,11 +219,11 @@ def initPixmap(xpm_background=None, '%x\tc %s s %s' % (k, v[0], v[-1]) for k,v in palette.items() ] + [ - '0'*width + item for item in xpm_background[:margin] + '0'*width + item[:128-width] for item in xpm_background[:margin] ] + [ - '0'*margin+bg*(width-margin-margin-2)+'0'*(margin+2) + item for item in xpm_background[margin:-margin-1] + '0'*margin+bg*(width-margin-margin-2)+'0'*(margin+2) + item[:128-width] for item in xpm_background[margin:-margin-1] ] + [ - '0'*width + item for item in xpm_background[-margin-1:] + '0'*width + item[:128-width] for item in xpm_background[-margin-1:] ] + [ line.replace('%', fg).replace(' ', bg) for line in char_map