aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorJim Blandy1992-06-24 05:09:26 +0000
committerJim Blandy1992-06-24 05:09:26 +0000
commitdaa3760289bd389e8c174c8d24b375cd875cd911 (patch)
tree0abe3e6108e0e5a7c98f4c4aa68a495b0ecef09a /src/xterm.c
parenta4275ad1c8f60239b0bad43cef97ca86d35a51a3 (diff)
downloademacs-daa3760289bd389e8c174c8d24b375cd875cd911.tar.gz
emacs-daa3760289bd389e8c174c8d24b375cd875cd911.zip
*** empty log message ***
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 7bf039a1cf1..194f8d6177a 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -1995,7 +1995,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
1995 { 1995 {
1996 bufp->kind = non_ascii_keystroke; 1996 bufp->kind = non_ascii_keystroke;
1997 XSET (bufp->code, Lisp_Int, (unsigned) keysym - 0xff50); 1997 XSET (bufp->code, Lisp_Int, (unsigned) keysym - 0xff50);
1998 bufp->screen = XSCREEN (SCREEN_FOCUS_SCREEN (s)); 1998 bufp->screen = s;
1999 bufp->modifiers = x_convert_modifiers (modifiers); 1999 bufp->modifiers = x_convert_modifiers (modifiers);
2000 bufp->timestamp = event.xkey.time; 2000 bufp->timestamp = event.xkey.time;
2001 bufp++; 2001 bufp++;
@@ -2012,7 +2012,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
2012 *copy_buffer |= METABIT; 2012 *copy_buffer |= METABIT;
2013 bufp->kind = ascii_keystroke; 2013 bufp->kind = ascii_keystroke;
2014 XSET (bufp->code, Lisp_Int, *copy_buffer); 2014 XSET (bufp->code, Lisp_Int, *copy_buffer);
2015 bufp->screen = XSCREEN (SCREEN_FOCUS_SCREEN (s)); 2015 bufp->screen = s;
2016 bufp->timestamp = event.xkey.time; 2016 bufp->timestamp = event.xkey.time;
2017 bufp++; 2017 bufp++;
2018 } 2018 }
@@ -2021,7 +2021,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
2021 { 2021 {
2022 bufp->kind = ascii_keystroke; 2022 bufp->kind = ascii_keystroke;
2023 XSET (bufp->code, Lisp_Int, copy_buffer[i]); 2023 XSET (bufp->code, Lisp_Int, copy_buffer[i]);
2024 bufp->screen = XSCREEN (SCREEN_FOCUS_SCREEN (s)); 2024 bufp->screen = s;
2025 bufp->timestamp = event.xkey.time; 2025 bufp->timestamp = event.xkey.time;
2026 bufp++; 2026 bufp++;
2027 } 2027 }
@@ -2071,7 +2071,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
2071 bufp->kind = ascii_keystroke; 2071 bufp->kind = ascii_keystroke;
2072 XSET (bufp->code, Lisp_Int, where_mapping[i]); 2072 XSET (bufp->code, Lisp_Int, where_mapping[i]);
2073 XSET (bufp->time, Lisp_Int, event.xkey.time); 2073 XSET (bufp->time, Lisp_Int, event.xkey.time);
2074 bufp->screen = XSCREEN (SCREEN_FOCUS_SCREEN (s)); 2074 bufp->screen = s;
2075 bufp++; 2075 bufp++;
2076 } 2076 }
2077 count += nbytes; 2077 count += nbytes;
@@ -2308,13 +2308,13 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
2308 { 2308 {
2309 bufp->kind = ascii_keystroke; 2309 bufp->kind = ascii_keystroke;
2310 bufp->code = (char) 'X' & 037; /* C-x */ 2310 bufp->code = (char) 'X' & 037; /* C-x */
2311 bufp->screen = XSCREEN (SCREEN_FOCUS_SCREEN (s)); 2311 bufp->screen = s;
2312 XSET (bufp->time, Lisp_Int, event.xkey.time); 2312 XSET (bufp->time, Lisp_Int, event.xkey.time);
2313 bufp++; 2313 bufp++;
2314 2314
2315 bufp->kind = ascii_keystroke; 2315 bufp->kind = ascii_keystroke;
2316 bufp->code = (char) 0; /* C-@ */ 2316 bufp->code = (char) 0; /* C-@ */
2317 bufp->screen = XSCREEN (SCREEN_FOCUS_SCREEN (s)); 2317 bufp->screen = s;
2318 XSET (bufp->time, Lisp_Int, event.xkey.time); 2318 XSET (bufp->time, Lisp_Int, event.xkey.time);
2319 bufp++; 2319 bufp++;
2320 2320
@@ -3606,6 +3606,9 @@ x_wm_set_size_hint (s, prompting)
3606 Window window = s->display.x->window_desc; 3606 Window window = s->display.x->window_desc;
3607 3607
3608 size_hints.flags = PResizeInc | PMinSize | PMaxSize; 3608 size_hints.flags = PResizeInc | PMinSize | PMaxSize;
3609#ifdef PBaseSize
3610 size_hints.flags |= PBaseSize;
3611#endif
3609 3612
3610 flexlines = s->height; 3613 flexlines = s->height;
3611 3614