From: Scott Moynes Date: Mon, 26 Aug 2002 23:52:37 +0000 (+0000) Subject: Draw close button with line_width of 2. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=bb9a37ec3d10d529f4043ba76e149f0bd510c111;p=chaz%2Fopenbox Draw close button with line_width of 2. --- diff --git a/src/Window.cc b/src/Window.cc index c260818c..a1567156 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -2635,7 +2635,7 @@ void BlackboxWindow::redrawCloseButton(bool pressed) const { XClearWindow(blackbox->getXDisplay(), frame.close_button); BPen pen((flags.focused) ? screen->getWindowStyle()->b_pic_focus : - screen->getWindowStyle()->b_pic_unfocus); + screen->getWindowStyle()->b_pic_unfocus, 0, 2); XDrawLine(blackbox->getXDisplay(), frame.close_button, pen.gc(), 2, 2, (frame.button_w - 3), (frame.button_w - 3)); XDrawLine(blackbox->getXDisplay(), frame.close_button, pen.gc(),