all repos — openbox @ bb9a37ec3d10d529f4043ba76e149f0bd510c111

openbox fork - make it a bit more like ryudo

Draw close button with line_width of 2.
Scott Moynes smoynes@nexus.carleton.ca
commit

bb9a37ec3d10d529f4043ba76e149f0bd510c111

parent

217488ee3e1a7246bdfadb6a56f83a4a50a7c180

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/Window.ccsrc/Window.cc

@@ -2635,7 +2635,7 @@ }

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(),