summaryrefslogtreecommitdiff
path: root/src/macterm.c
diff options
context:
space:
mode:
authorAndrew Choi <akochoi@shaw.ca>2002-06-17 01:45:48 +0000
committerAndrew Choi <akochoi@shaw.ca>2002-06-17 01:45:48 +0000
commitb6cce0b720b44fcf8a8aa6e20ff1a1be2c605b94 (patch)
tree41ecfe25d1595d7fa4c901ca591adb749a89039e /src/macterm.c
parente04464bb32af4bde001ff45a6aa1f43d69192e08 (diff)
downloademacs-b6cce0b720b44fcf8a8aa6e20ff1a1be2c605b94.tar.gz
emacs-b6cce0b720b44fcf8a8aa6e20ff1a1be2c605b94.tar.bz2
emacs-b6cce0b720b44fcf8a8aa6e20ff1a1be2c605b94.zip
2002-06-16 Andrew Choi <akochoi@shaw.ca>
* macterm.c (XTread_socket): Call FrontNonFloatingWindow instead of FrontWindow for cases keyDown and autoKey.
Diffstat (limited to 'src/macterm.c')
-rw-r--r--src/macterm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/macterm.c b/src/macterm.c
index d98f24bc4fc..f3258cbb7fe 100644
--- a/src/macterm.c
+++ b/src/macterm.c
@@ -12624,7 +12624,8 @@ XTread_socket (int sd, struct input_event *bufp, int numchars, int expected)
bufp->modifiers = the_modifiers;
{
- mac_output *mwp = (mac_output *) GetWRefCon (FrontWindow ());
+ mac_output *mwp
+ = (mac_output *) GetWRefCon (FrontNonFloatingWindow ());
XSETFRAME (bufp->frame_or_window, mwp->mFP);
}