• Applying patches
    1 replies, posted
I'm configuring urxvt and there are these gaps in my tiling wm. The problem is rooted in the way it counts the window size. There's a fix, but it requires a patch. [QUOTE]Index: src/main.C =================================================================== RCS file: /schmorpforge/rxvt-unicode/src/main.C,v retrieving revision 1.303 diff -u -r1.303 main.C --- src/main.C 27 Jan 2008 22:48:33 -0000 1.303 +++ src/main.C 1 Feb 2008 16:27:59 -0000 @@ -644,6 +644,8 @@ ncol = width / fwidth; nrow = height / fheight; + width = ncol * fwidth; + height = nrow * fheight; } /*----------------------------------------------------------------------*/[/QUOTE] How do I apply a patch?
If you have a git repository for the source code: git apply yourdiff.patch Otherwise patch -p1 yourdiff.patch
Sorry, you need to Log In to post a reply to this thread.