Mercurial > emacs
diff src/xterm.c @ 727:540b047ece4d
*** empty log message ***
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Wed, 24 Jun 1992 05:09:26 +0000 |
parents | 030fb4635335 |
children | a8d94735277e |
line wrap: on
line diff
--- a/src/xterm.c Wed Jun 24 05:07:51 1992 +0000 +++ b/src/xterm.c Wed Jun 24 05:09:26 1992 +0000 @@ -1995,7 +1995,7 @@ { bufp->kind = non_ascii_keystroke; XSET (bufp->code, Lisp_Int, (unsigned) keysym - 0xff50); - bufp->screen = XSCREEN (SCREEN_FOCUS_SCREEN (s)); + bufp->screen = s; bufp->modifiers = x_convert_modifiers (modifiers); bufp->timestamp = event.xkey.time; bufp++; @@ -2012,7 +2012,7 @@ *copy_buffer |= METABIT; bufp->kind = ascii_keystroke; XSET (bufp->code, Lisp_Int, *copy_buffer); - bufp->screen = XSCREEN (SCREEN_FOCUS_SCREEN (s)); + bufp->screen = s; bufp->timestamp = event.xkey.time; bufp++; } @@ -2021,7 +2021,7 @@ { bufp->kind = ascii_keystroke; XSET (bufp->code, Lisp_Int, copy_buffer[i]); - bufp->screen = XSCREEN (SCREEN_FOCUS_SCREEN (s)); + bufp->screen = s; bufp->timestamp = event.xkey.time; bufp++; } @@ -2071,7 +2071,7 @@ bufp->kind = ascii_keystroke; XSET (bufp->code, Lisp_Int, where_mapping[i]); XSET (bufp->time, Lisp_Int, event.xkey.time); - bufp->screen = XSCREEN (SCREEN_FOCUS_SCREEN (s)); + bufp->screen = s; bufp++; } count += nbytes; @@ -2308,13 +2308,13 @@ { bufp->kind = ascii_keystroke; bufp->code = (char) 'X' & 037; /* C-x */ - bufp->screen = XSCREEN (SCREEN_FOCUS_SCREEN (s)); + bufp->screen = s; XSET (bufp->time, Lisp_Int, event.xkey.time); bufp++; bufp->kind = ascii_keystroke; bufp->code = (char) 0; /* C-@ */ - bufp->screen = XSCREEN (SCREEN_FOCUS_SCREEN (s)); + bufp->screen = s; XSET (bufp->time, Lisp_Int, event.xkey.time); bufp++; @@ -3606,6 +3606,9 @@ Window window = s->display.x->window_desc; size_hints.flags = PResizeInc | PMinSize | PMaxSize; +#ifdef PBaseSize + size_hints.flags |= PBaseSize; +#endif flexlines = s->height;