From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?windows-1252?Q?=D3scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: X resource leak? Date: Mon, 19 Jan 2009 16:57:26 +0100 Message-ID: References: <878wpbz39r.fsf@cyd.mit.edu> <87d4ek3s9j.fsf@cyd.mit.edu> <3275CE3B-F9AF-4710-A41C-1EB6BD69A813@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232380863 17789 80.91.229.12 (19 Jan 2009 16:01:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2009 16:01:03 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: "Jan D." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 19 17:02:14 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 1LOwZb-00017X-N7 for ged-emacs-devel@m.gmane.org; Mon, 19 Jan 2009 17:01:59 +0100 Original-Received: from localhost ([127.0.0.1]:42097 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOwYK-0007qz-RL for ged-emacs-devel@m.gmane.org; Mon, 19 Jan 2009 11:00:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOwVM-0006tL-DS for emacs-devel@gnu.org; Mon, 19 Jan 2009 10:57:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOwVG-0006qz-Pp for emacs-devel@gnu.org; Mon, 19 Jan 2009 10:57:34 -0500 Original-Received: from [199.232.76.173] (port=51993 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOwVG-0006qq-B5 for emacs-devel@gnu.org; Mon, 19 Jan 2009 10:57:30 -0500 Original-Received: from outmailhost.telefonica.net ([213.4.149.242]:6498 helo=ctsmtpout3.frontal.correo) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LOwVF-0001EL-E5 for emacs-devel@gnu.org; Mon, 19 Jan 2009 10:57:30 -0500 Original-Received: from K7 (83.38.73.86) by ctsmtpout3.frontal.correo (7.2.056.6) (authenticated as 981711563$telefonica.net) id 4969DEE100289936; Mon, 19 Jan 2009 16:57:28 +0100 In-Reply-To: <3275CE3B-F9AF-4710-A41C-1EB6BD69A813@swipnet.se> (Jan D.'s message of "Mon, 19 Jan 2009 13:03:53 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:107993 Archived-At: "Jan D." writes: > Can you tell us if you run KDE with gtk-engine? I use KDE 4.1.3 (on Kubuntu x86_64) and Emacs is configured for using the gtk widgets. It has #define USE_GTK 1 and #define USE_TOOLKIT_SCROLL_BARS 1 > Is the toolbar enabled and if so does disabling it make any > difference? Ditto for the scrollbar and menuar. Bingo! After disabling the scroll bar with M-x scroll-bar-mode emacs stops allocating X resources. Switching on/off the menu bar and the tool bar shows no change on the X resource allocation problem, so it is the scroll bar the only culprit. -- Oscar