summaryrefslogtreecommitdiffstats
path: root/cmd-resize-window.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cmd-resize-window.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd-resize-window.c b/cmd-resize-window.c
index ad73916..c420451 100644
--- a/cmd-resize-window.c
+++ b/cmd-resize-window.c
@@ -53,8 +53,7 @@ cmd_resize_window_exec(struct cmd *self, struct cmdq_item *item)
struct session *s = target->s;
const char *errstr;
char *cause;
- u_int adjust, sx, sy;
- int xpixel = -1, ypixel = -1;
+ u_int adjust, sx, sy, xpixel = 0, ypixel = 0;
if (args_count(args) == 0)
adjust = 1;