diff options
Diffstat (limited to 'src/main-x11.c')
-rw-r--r-- | src/main-x11.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main-x11.c b/src/main-x11.c index c6bf55e7..c91c837b 100644 --- a/src/main-x11.c +++ b/src/main-x11.c @@ -2285,7 +2285,7 @@ static errr CheckEvent(bool_ wait) /* Move and/or Resize */ case ConfigureNotify: { - int cols, rows, wid, hgt; + int cols, rows; int ox = Infowin->ox; int oy = Infowin->oy; @@ -2317,10 +2317,6 @@ static errr CheckEvent(bool_ wait) if (cols > 255) cols = 255; if (rows > 255) rows = 255; - /* Desired size of window */ - wid = cols * td->fnt->wid + (ox + ox); - hgt = rows * td->fnt->hgt + (oy + oy); - /* Resize the Term (if needed) */ Term_resize(cols, rows); break; |