diff options
| author | Paul Eggert | 2025-01-26 22:15:49 -0800 |
|---|---|---|
| committer | Paul Eggert | 2025-01-26 23:05:53 -0800 |
| commit | 2e8ef0910412aef8f9f1beba7c942473ad8602bb (patch) | |
| tree | b3afdeef0bb73cac9c1531a2ef28eb8766448dbe /java/org | |
| parent | ff65cc9944dc0b37986d512ee8b9817c6913db36 (diff) | |
| download | emacs-2e8ef0910412aef8f9f1beba7c942473ad8602bb.tar.gz emacs-2e8ef0910412aef8f9f1beba7c942473ad8602bb.zip | |
Protect against GCing of last_mouse_window
* src/window.c (last_mouse_window): New global var. All static
instances removed, and all their uses replaced with this global
var. This fixes a very unlikely bug where last_mouse_window was
GC’ed and a new window created in its place. It also fixes several
places that assumed NIL_IS_ZERO without static_asserting it.
(init_window_once): Initialize the new var.
Diffstat (limited to 'java/org')
0 files changed, 0 insertions, 0 deletions