Hi,

I just today noticed that the wmnet rx & tx arrows are backwards
and thought I'd fix it. After checking I see it's a known bug, so
I though I'd send a patch along as well. It looks like it was reversed
some time ago during a change.

I looked at putting this through the dbs but I couldn't find how to append
to a know bug without opening a new one. Anyways.

Here it is:

--- wmnet.c.orig        2005-12-04 11:10:51.000000000 -0500
+++ wmnet.c     2005-12-04 11:11:52.000000000 -0500
@@ -594,21 +594,21 @@
                XSetBackground(dpy, graphics_context, black_pixel);
                if(current_tx == True) {
                        XSetForeground(dpy, graphics_context, 
tx_pixel[HIGH_INTENSITY]);
-                       XCopyPlane(dpy, arrow, *visible_window, 
graphics_context, 7, 0, 7, 9, 53, 5, 1);
+                       XCopyPlane(dpy, arrow, *visible_window, 
graphics_context, 0, 0, 7, 9, 46, 5, 1);
                        /* XFillRectangle(dpy, *visible_window, 
graphics_context, 55, 5, 4, 4);  */
                }
                else {
                        XSetForeground(dpy, graphics_context, grey_pixel);
-                       XCopyPlane(dpy, arrow, *visible_window, 
graphics_context, 7, 0, 7, 9, 53, 5, 1);
+                       XCopyPlane(dpy, arrow, *visible_window, 
graphics_context, 0, 0, 7, 9, 46, 5, 1);
                }
                if(current_rx == True) {
                        XSetForeground(dpy, graphics_context, 
rx_pixel[HIGH_INTENSITY]);
-                       XCopyPlane(dpy, arrow, *visible_window, 
graphics_context, 0, 0, 7, 9, 46, 5, 1);
+                       XCopyPlane(dpy, arrow, *visible_window, 
graphics_context, 7, 0, 7, 9, 53, 5, 1);
                        /* XFillRectangle(dpy, *visible_window, 
graphics_context, 55, 12, 4, 4);  */
                }
                else {
                        XSetForeground(dpy, graphics_context, grey_pixel);
-                       XCopyPlane(dpy, arrow, *visible_window, 
graphics_context, 0, 0, 7, 9, 46, 5, 1);
+                       XCopyPlane(dpy, arrow, *visible_window, 
graphics_context, 7, 0, 7, 9, 53, 5, 1);
                }
        } 
                        

Cheers!

-- 
Matthew Ashton <[EMAIL PROTECTED]> +1 416-420-6467


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to