Mercurial > emacs
view lisp/erc/ChangeLog @ 105693:964ff7cbc8a6
Fix resize due to font change on a maximized/xmonad-controlled frame.
* xterm.h (x_wait_for_event): Declare it.
* xterm.c (pending_event_wait): New variable.
(handle_one_xevent): Set pending_event_wait.eventtype to 0 if we
see pending_event_wait.eventtype.
(handle_one_xevent): Don't change gravity when parent changes.
(x_new_font): Call change_frame_size with new rows/columns before we try
to resize the frame.
(x_wait_for_event): New function.
(x_set_window_size_1): Don't change gravity unless change_gravity is set.
Call XResizeWindow with FRAME_OUTER_WINDOW. If we are visible,
don't change frame size, instead wait for the ConfigureNotify.
(x_set_window_size): Call x_set_window_size_1 for USE_X_TOOLKIT also.
(x_wm_set_size_hint): Remove ifdefs for USE_X_TOOLKIT.
(x_initialize): Initialize pending_event_wait.
* xmenu.c (set_frame_menubar): Add internal border width to menu bar
size.
* widget.c (EmacsFrameSetValues): Add comment.
(EmacsFrameSetCharSize): Just call x_set_window_size.
* gtkutil.c (xg_frame_set_char_size): Flush events and call
x_wait_for_event.
(flush_and_sync): Removed again.
(xg_get_font_name): Suggest monospace if no previous font is known.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Wed, 21 Oct 2009 18:29:46 +0000 |
parents | f4bcd333d869 |
children | f8478bbd8ebe |
line wrap: on
line source
2009-09-27 Johan Bockgård <bojohan@gnu.org> * erc-button.el (erc-button-keymap): Bind `follow-link'. 2009-09-26 Johan Bockgård <bojohan@gnu.org> * erc-button.el (erc-button-add-button): Only call `widget-convert-button' in XEmacs. For Emacs (at least), it doesn't seem to have any purpose except creating lots of overlays, slowing everything down. 2009-09-19 Glenn Morris <rgm@gnu.org> * erc-lang.el (line): Define for compiler. 2009-07-22 Kevin Ryde <user42@zip.com.au> * erc/erc.el (erc-cmd-MODE): Hyperlink urls in docstring with URL `...'. 2009-03-13 D. Goel <deego3@gmail.com> * erc-backend.el: In (multiple-value-bind/setq .. ls), ls-> (values-list ls) throughout. * erc.el: Ditto. 2009-01-18 Michael Olson <mwolson@gnu.org> * erc.el (erc-header-line-uses-tabbar-p): Set to nil by default. 2009-01-16 Glenn Morris <rgm@gnu.org> * erc.el (erc-input-message): Conditionalize previous change for XEmacs. * erc-dcc.el (erc-dcc-server): Silence warning about obsolete function behind fboundp test. 2009-01-09 Glenn Morris <rgm@gnu.org> * erc.el (erc-input-message): Replace last-command-char with last-command-event. 2009-01-08 Glenn Morris <rgm@gnu.org> * erc.el (tabbar--local-hlf): Silence compiler. 2009-01-03 Michael Olson <mwolson@gnu.org> * erc.el (erc-user-input): Do not include text properties when returning user input. See ChangeLog.08 for earlier changes. Copyright (C) 2009 Free Software Foundation, Inc. This file is part of GNU Emacs. GNU Emacs is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. GNU Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. ;; Local Variables: ;; coding: utf-8 ;; add-log-time-zone-rule: t ;; End: ;; arch-tag: d4703244-4a8d-49b1-ab34-ad0d56600ef8