diff options
Diffstat (limited to 'x11-wm/icewm/files/icewm-1.2.17.ybutton.cc.patch')
-rw-r--r-- | x11-wm/icewm/files/icewm-1.2.17.ybutton.cc.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-wm/icewm/files/icewm-1.2.17.ybutton.cc.patch b/x11-wm/icewm/files/icewm-1.2.17.ybutton.cc.patch new file mode 100644 index 000000000000..2eeb379ecb41 --- /dev/null +++ b/x11-wm/icewm/files/icewm-1.2.17.ybutton.cc.patch @@ -0,0 +1,20 @@ +--- ybutton.cc.orig 2004-11-07 13:49:19.926827944 -0600 ++++ ybutton.cc 2004-11-07 13:49:30.113279368 -0600 +@@ -103,8 +103,7 @@ + g.setColor(surface.color); + + if (wmLook == lookMetal) { +- g.drawBorderM(x, y, w - 1, h - 1, !d); +- d = 0; x += 2; y += 2; w -= 4; h -= 4; ++ d=0; + } else if (wmLook == lookGtk) { + g.drawBorderG(x, y, w - 1, h - 1, !d); + x += 1 + d; y += 1 + d; w -= 3; h -= 3; +@@ -114,7 +113,6 @@ + } + + paint(g, d, YRect(x, y, w, h)); +- paintFocus(g, YRect(x, y, w, h)); + } + } + |