Kaynağa Gözat

Correctly set window height after i_fit_to_img()

master
Bert Münnich 11 yıl önce
ebeveyn
işleme
a527025314
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. +3
    -0
      window.c

+ 3
- 0
window.c Dosyayı Görüntüle

@@ -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);


Yükleniyor…
İptal
Kaydet