Mercurial > vim
comparison src/gui_gtk_x11.c @ 31287:fa309d9af73c v9.0.0977
patch 9.0.0977: it is not easy to see what client-server commands are doing
Commit: https://github.com/vim/vim/commit/4c5678ff0c376661d4a8183a5a074a1203413b9d
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 30 18:12:19 2022 +0000
patch 9.0.0977: it is not easy to see what client-server commands are doing
Problem: It is not easy to see what client-server commands are doing.
Solution: Add channel log messages if ch_log() is available. Move the
channel logging and make it available with the +eval feature.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 30 Nov 2022 19:15:10 +0100 |
parents | 360f286b5869 |
children | eeb4d72e523d |
comparison
equal
deleted
inserted
replaced
31286:33c4af586833 | 31287:fa309d9af73c |
---|---|
405 * When a gtk_window_resize() request is sent to gtk, the width/height of | 405 * When a gtk_window_resize() request is sent to gtk, the width/height of |
406 * the request is saved. Recent stale requests are kept around in a list. | 406 * the request is saved. Recent stale requests are kept around in a list. |
407 * See https://github.com/vim/vim/issues/10123 | 407 * See https://github.com/vim/vim/issues/10123 |
408 */ | 408 */ |
409 # if 0 // Change to 1 to enable ch_log() calls for debugging. | 409 # if 0 // Change to 1 to enable ch_log() calls for debugging. |
410 # ifdef FEAT_JOB_CHANNEL | 410 # ifdef FEAT_EVAL |
411 # define ENABLE_RESIZE_HISTORY_LOG | 411 # define ENABLE_RESIZE_HISTORY_LOG |
412 # endif | 412 # endif |
413 # endif | 413 # endif |
414 | 414 |
415 /* | 415 /* |