comparison src/xterm.c @ 103690:6cf0c4de552b

* gtkutil.c (xg_frame_set_char_size): Do set width/height if the frame isn't visible. (xg_frame_resized): If width/height is -1, get size of window from X server. * xterm.c (handle_one_xevent): Call xg_frame_resized for USE_GTK for MapNotify.
author Jan Djärv <jan.h.d@swipnet.se>
date Thu, 02 Jul 2009 12:27:23 +0000
parents fbdd52a2e830
children 6a4e411bd83b
comparison
equal deleted inserted replaced
103689:3666f62113ed 103690:6cf0c4de552b
6204 in case this is the second frame. */ 6204 in case this is the second frame. */
6205 record_asynch_buffer_change (); 6205 record_asynch_buffer_change ();
6206 6206
6207 /* Check if fullscreen was specified before we where mapped. */ 6207 /* Check if fullscreen was specified before we where mapped. */
6208 x_check_fullscreen (f); 6208 x_check_fullscreen (f);
6209 #ifdef USE_GTK
6210 xg_frame_resized (f, -1, -1);
6211 #endif
6209 } 6212 }
6210 goto OTHER; 6213 goto OTHER;
6211 6214
6212 case KeyPress: 6215 case KeyPress:
6213 6216