wm: draw the buttons similarly to gtk