This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
sxiv
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Correctly set window height after i_fit_to_img()
master
Bert Münnich
12 years ago
parent
f7301cf4f9
commit
a527025314
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
window.c
+ 3
- 0
window.c
View File
@@ -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);
Write
Preview
Loading…
Cancel
Save