Trim some code by moving the ioctl(TIOCGWINSZ) after SIGWINCH from the client
into the server.

This is another (the second of four) protocol version changes coming this
morning, so again the server should be killed before upgrading.
4 files changed
tree: 67bd9d4f19a42af4dddda24051323e332e56b98f
  1. Makefile
  2. array.h
  3. attributes.c
  4. buffer-poll.c
  5. buffer.c
  6. cfg.c
  7. client-fn.c
  8. client.c
  9. clock.c
  10. cmd-attach-session.c
  11. cmd-bind-key.c
  12. cmd-break-pane.c
  13. cmd-choose-client.c
  14. cmd-choose-session.c
  15. cmd-choose-window.c
  16. cmd-clear-history.c
  17. cmd-clock-mode.c
  18. cmd-command-prompt.c
  19. cmd-confirm-before.c
  20. cmd-copy-buffer.c
  21. cmd-copy-mode.c
  22. cmd-delete-buffer.c
  23. cmd-detach-client.c
  24. cmd-display-message.c
  25. cmd-display-panes.c
  26. cmd-down-pane.c
  27. cmd-find-window.c
  28. cmd-generic.c
  29. cmd-has-session.c
  30. cmd-if-shell.c
  31. cmd-kill-pane.c
  32. cmd-kill-server.c
  33. cmd-kill-session.c
  34. cmd-kill-window.c
  35. cmd-last-window.c
  36. cmd-link-window.c
  37. cmd-list-buffers.c
  38. cmd-list-clients.c
  39. cmd-list-commands.c
  40. cmd-list-keys.c
  41. cmd-list-sessions.c
  42. cmd-list-windows.c
  43. cmd-list.c
  44. cmd-load-buffer.c
  45. cmd-lock-server.c
  46. cmd-move-window.c
  47. cmd-new-session.c
  48. cmd-new-window.c
  49. cmd-next-layout.c
  50. cmd-next-window.c
  51. cmd-paste-buffer.c
  52. cmd-previous-layout.c
  53. cmd-previous-window.c
  54. cmd-refresh-client.c
  55. cmd-rename-session.c
  56. cmd-rename-window.c
  57. cmd-resize-pane.c
  58. cmd-respawn-window.c
  59. cmd-rotate-window.c
  60. cmd-run-shell.c
  61. cmd-save-buffer.c
  62. cmd-scroll-mode.c
  63. cmd-select-layout.c
  64. cmd-select-pane.c
  65. cmd-select-prompt.c
  66. cmd-select-window.c
  67. cmd-send-keys.c
  68. cmd-send-prefix.c
  69. cmd-server-info.c
  70. cmd-set-buffer.c
  71. cmd-set-environment.c
  72. cmd-set-option.c
  73. cmd-set-password.c
  74. cmd-set-window-option.c
  75. cmd-show-buffer.c
  76. cmd-show-environment.c
  77. cmd-show-options.c
  78. cmd-show-window-options.c
  79. cmd-source-file.c
  80. cmd-split-window.c
  81. cmd-start-server.c
  82. cmd-string.c
  83. cmd-suspend-client.c
  84. cmd-swap-pane.c
  85. cmd-swap-window.c
  86. cmd-switch-client.c
  87. cmd-unbind-key.c
  88. cmd-unlink-window.c
  89. cmd-up-pane.c
  90. cmd.c
  91. colour.c
  92. environ.c
  93. grid-view.c
  94. grid.c
  95. imsg-buffer.c
  96. imsg.c
  97. imsg.h
  98. input-keys.c
  99. input.c
  100. key-bindings.c
  101. key-string.c
  102. layout-set.c
  103. layout.c
  104. log.c
  105. mode-key.c
  106. names.c
  107. options-cmd.c
  108. options.c
  109. paste.c
  110. procname.c
  111. resize.c
  112. screen-redraw.c
  113. screen-write.c
  114. screen.c
  115. server-fn.c
  116. server-msg.c
  117. server.c
  118. session.c
  119. status.c
  120. tmux.1
  121. tmux.c
  122. tmux.h
  123. tty-keys.c
  124. tty-term.c
  125. tty.c
  126. utf8.c
  127. window-choose.c
  128. window-clock.c
  129. window-copy.c
  130. window-more.c
  131. window-scroll.c
  132. window.c
  133. xmalloc.c