commit | 86edef664efccbfe685906c854b9cdd04e56f2d5 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Mar 13 18:07:30 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Mar 13 18:07:30 2016 +0100 |
tree | 8c60cfa3d606624d81812b058124a4eac774fab8 | |
parent | a3442cb5056ca62fc71fa03f68a9395e4391caf4 [diff] [blame] |
patch 7.4.1557 Problem: Windows cannot be identified. Solution: Add a unique window number to each window and functions to use it.
diff --git a/src/structs.h b/src/structs.h index 6bf2126..4aa7415 100644 --- a/src/structs.h +++ b/src/structs.h
@@ -2273,6 +2273,8 @@ */ struct window_S { + int w_id; /* unique window ID */ + buf_T *w_buffer; /* buffer we are a window into (used often, keep it the first item!) */