summaryrefslogtreecommitdiffstats
path: root/arg.h
diff options
context:
space:
mode:
authormikau <mikau@aaathats3as.com>2020-05-12 17:09:01 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2020-05-30 21:28:25 +0200
commitdabf6a25ab01107fc1e0464ee6a3e369d1626f97 (patch)
tree9564367efc2443469349953ae7499c0b6c892ca7 /arg.h
parentb5f9ec647aae2d9a1d3bd586eb7523a4e0a329a3 (diff)
downloadtabbed-dabf6a25ab01107fc1e0464ee6a3e369d1626f97.tar.gz
Fixed crash when window height was less or equal to bar height
When resizing, the embedded client is being resized to (height = wh - bh), which is (<= 0) if (wh <= bh). This generates a BadValue Error leading to a crash. This patch fixes that by hiding the tab bar if the window height is too small, and also sets a min_height WM hint to prevent that situation from happening in the first place.
Diffstat (limited to 'arg.h')
0 files changed, 0 insertions, 0 deletions