all repos — fluxbox @ fe6a0795ac8b3e0783e6590ae73a3b6dc383df3c

custom fork of the fluxbox windowmanager

make sure at least one pixel is visible in autohide mode
fluxgen fluxgen
commit

fe6a0795ac8b3e0783e6590ae73a3b6dc383df3c

parent

8890bfe94688fdcc7c22f99a6725f6030a98a71f

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

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

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Slit.cc,v 1.69 2003/06/27 15:05:19 rathnor Exp $ +// $Id: Slit.cc,v 1.70 2003/07/03 13:01:58 fluxgen Exp $ #include "Slit.hh"

@@ -825,7 +825,9 @@ }

int border_width = theme().borderWidth(); int bevel_width = theme().bevelWidth(); - + // make sure at leaste one pixel is visible + if (border_width >= bevel_width) + bevel_width = border_width + 1; // place the slit in the appropriate place switch (placement()) { case TOPLEFT: