浏览代码

Correctly set window height after i_fit_to_img()

master
Bert Münnich 12 年前
父节点
当前提交
a527025314
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      window.c

+ 3
- 0
window.c 查看文件

@@ -287,6 +287,9 @@ bool win_moveresize(win_t *win, int x, int y, unsigned int w, unsigned int h)
if (win == NULL || win->xwin == None)
return false;

/* caller knows nothing about the bar */
h += win->bar.h;

x = MAX(0, x);
y = MAX(0, y);
w = MIN(w, win->env.scrw - 2 * win->bw);


||||||
x
 
000:0
正在加载...
取消
保存