From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruce Stephens Newsgroups: gmane.emacs.devel Subject: Re: gtk toolbar bug Date: Mon, 29 Jun 2009 22:37:49 +0100 Message-ID: <80ljna67rm.fsf@tiny.isode.net> References: <7b501d5c0906060758n3113b6cdr37a5635b389428b8@mail.gmail.com> <8763f6g61q.fsf@uwakimon.sk.tsukuba.ac.jp> <7b501d5c0906080759wba474b4re93ecbfdf94c9629@mail.gmail.com> <873aaag1wf.fsf@cyd.mit.edu> <871vpug0np.fsf@uwakimon.sk.tsukuba.ac.jp> <87prdebsvd.fsf@cyd.mit.edu> <7b501d5c0906080928jde3c545o67a1731680f1dace@mail.gmail.com> <7b501d5c0906100217w62516bd8o4f5905665135a2a9@mail.gmail.com> <87prdcccha.fsf@cyd.mit.edu> <80eit38dse.fsf_-_@tiny.isode.net> <7b501d5c0906291049g4365d83cg931e42e8d18f7968@mail.gmail.com> <803a9i7s7k.fsf@tiny.isode.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1246311491 639 80.91.229.12 (29 Jun 2009 21:38:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jun 2009 21:38:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 29 23:38:04 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MLOY7-0005ID-FB for ged-emacs-devel@m.gmane.org; Mon, 29 Jun 2009 23:38:04 +0200 Original-Received: from localhost ([127.0.0.1]:44552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLOY6-0001vX-SF for ged-emacs-devel@m.gmane.org; Mon, 29 Jun 2009 17:38:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLOY1-0001ti-Qi for emacs-devel@gnu.org; Mon, 29 Jun 2009 17:37:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLOXx-0001np-23 for emacs-devel@gnu.org; Mon, 29 Jun 2009 17:37:57 -0400 Original-Received: from [199.232.76.173] (port=55196 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLOXw-0001nc-PT for emacs-devel@gnu.org; Mon, 29 Jun 2009 17:37:52 -0400 Original-Received: from rufus.isode.com ([62.3.217.251]:46435) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MLOXv-0003PB-I9 for emacs-devel@gnu.org; Mon, 29 Jun 2009 17:37:52 -0400 Original-Received: from tiny.isode.net (shiny.isode.com [62.3.217.250]) by rufus.isode.com (smtp internal) via TCP with SMTP id for ; Mon, 29 Jun 2009 22:37:49 +0100 Original-Received: by tiny.isode.net (sSMTP sendmail emulation); Mon, 29 Jun 2009 22:37:49 +0100 X-Hashcash: 1:20:090629:emacs-devel@gnu.org::/A5tghdgNgMsA0zT:0000000000000000000000000000000000000000003C6c User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111817 Archived-At: Bruce Stephens writes: [...] > Anyway, I hope the information that it occurs with gtk but not with > lucid might suggest what's happening. This seems to fix it for me. (I offer this more as further information that might suggest a proper resolution than as a proposed patch; presumably the function call is there for a good reason.) --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -733,7 +733,7 @@ xg_frame_set_char_size (f, cols, rows) Turn wm hints (min/max size and size increments) of temporarly. It interferes too much, when for example adding or removing the menu/tool bar. */ - x_wm_size_hint_off (f); + /* x_wm_size_hint_off (f);*/ gtk_window_resize (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), pixelwidth, pixelheight);