Re: [wmii] Xinerama ??

From: Kris Maglione <bsdaemon_AT_comcast.net>
Date: Wed, 5 Jul 2006 22:36:36 -0400

On Thu, Jul 06, 2006 at 04:26:20AM +0200, Wael Nasreddine wrote:
>> Wmii currently has no Xinerama support. Work has just begun to add it, but
>> it will only be added to wmii-4. In wmii-3, you can create 2 columns and
>> manually size them to not cross the screen. Currently, in wmii-4, you can
>> define a set of colrules to automatically create columns of the correct
>> size. Xinerama support in wmii-4 will involve showing a single tag on each
>> screen.
>>
>Oh ok thx for the tip, I can live with it like this for now, but is there any
>tip for the bar ? coz i see only the right half of it :(
Yes, you'll need to patch the code, for the time being (see diff).

-- 
Kris Maglione
Thank You for Logging Out!
diff -r e74862ed4b76 cmd/wm/bar.c
--- a/cmd/wm/bar.c	Thu Jun 29 22:59:20 2006 -0400
+++ b/cmd/wm/bar.c	Wed Jul 05 22:36:16 2006 -0400
@@ -65,6 +65,8 @@ resize_bar()
 {
 	unsigned int i, j;
 	brect = rect;
+	brect.x = 1024;
+	brect.width -= brect.x;
 	brect.height = height_of_bar();
 	brect.y = rect.height - brect.height;
 	XMoveResizeWindow(dpy, barwin, brect.x, brect.y, brect.width, brect.height);
diff -r e74862ed4b76 cmd/wm/wm.c
--- a/cmd/wm/wm.c	Thu Jun 29 22:59:20 2006 -0400
+++ b/cmd/wm/wm.c	Wed Jul 05 22:36:16 2006 -0400
@@ -333,6 +333,8 @@ main(int argc, char *argv[])
 
 	brect = rect;
 	brect.height = height_of_bar();
+	brect.x = 1024;
+	brect.width -= brect.x;
 	brect.y = rect.height - brect.height;
 	barwin = XCreateWindow(dpy, RootWindow(dpy, screen), brect.x, brect.y,
 			brect.width, brect.height, 0, DefaultDepth(dpy, screen),
Received on Thu Jul 06 2006 - 04:37:09 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:10:50 UTC