|
From: | Robert Weiner |
Subject: | bug#28620: Interact directly on Emacs bug#28620: mouse drag event records wrong release window |
Date: | Wed, 4 Oct 2017 20:38:38 -0400 |
Yes. You can’t modify emacsframe because it’s an instance variable.
You’ll need to modify whatever is using it to set the frame in the
emacs event.
So, assuming the code you’re modifying is calling EV_TRAILER, for now,
replace the call to EV_TRAILER with it’s contents:
XSETFRAME (emacs_event->frame_or_window, emacsframe);
EV_TRAILER2 (e);
and work from there.
[Prev in Thread] | Current Thread | [Next in Thread] |