From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: oitofelix@gmail.com (Bruno =?utf-8?Q?F=C3=A9lix?= Rezende Ribeiro) Newsgroups: gmane.emacs.help Subject: Mode-line draw/refresh problem in a Multi-headed X11 system. Date: Thu, 16 Feb 2012 13:23:59 -0200 Message-ID: <874nuq3ipc.fsf@felix-laptop.gnung> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1329405636 4759 80.91.229.3 (16 Feb 2012 15:20:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 16 Feb 2012 15:20:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 16 16:20:32 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ry38K-0003wF-4C for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Feb 2012 16:20:32 +0100 Original-Received: from localhost ([::1]:58014 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ry38J-00047q-Hn for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Feb 2012 10:20:31 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:34137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ry38A-00047a-64 for help-gnu-emacs@gnu.org; Thu, 16 Feb 2012 10:20:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ry384-0000tt-EZ for help-gnu-emacs@gnu.org; Thu, 16 Feb 2012 10:20:22 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:60847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ry383-0000tl-Nh for help-gnu-emacs@gnu.org; Thu, 16 Feb 2012 10:20:16 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ry37x-0003cu-5B for help-gnu-emacs@gnu.org; Thu, 16 Feb 2012 16:20:09 +0100 Original-Received: from 177.51.184.188 ([177.51.184.188]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Feb 2012 16:20:09 +0100 Original-Received: from oitofelix by 177.51.184.188 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Feb 2012 16:20:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 177.51.184.188 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:SeHxALiaj3MHJfZjg50IFpXYQag= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83774 Archived-At: Hello. I set up my netbook's X Window System to work in a multi-headed fashion with 2 monitors, one LVDS (LCD Laptop Panel - 1024x600) and one external VGA (CRT - 1280x1024). Both physical screens are in one logical X screen (localhost:0.0) and LVDS display is at right of VGA display. My window manager is StumpWM and it assign one Frame to each display. I run an Emacs server frame in the larger screen and a client frame in the other. However there is a problem with the mode-line in both Emacs frames. When the last text line in a window should be partially covered by mode-line, the text line is drawn over mode-line. This don't happens if mode-line covers completely last window line. The following Emacs-lisp expressions _don't_ force Emacs to redraw the mode-line in a way that fix the garbage: (redraw-display) (redraw-frame (selected-frame)) (redraw-modeline) Nevertheless, "xrefresh" command and StumpWM's "redisplay" command does the job. One interesting thing is that if I start X11 with the VGA external screen _disconnected_, everything is fine. I wonder if it is a Emacs problem or a StumpWM problem in inform to Emacs the total application dimensions or something like that. Anyone has experienced this? Any idea about problem's origin or a fix solution? Helpful information: In GNU Emacs 23.4.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2012-02-08 on felix-laptop Windowing system distributor `The X.Org Foundation', version 11.0.10707000 configured using `configure '--with-x-toolkit=athena' '--with-crt-dir=/usr/lib/i386-linux-gnu' 'CFLAGS=-O3'' -- ,= ,-_-. =. Bruno FĂ©lix Rezende Ribeiro (oitofelix) ((_/)o o(\_)) Uns o chamam de super-vaca... `-'(. .)`-' Outros de hyper-touro... \_/ Eu o chamo simplesmente: meta-gnu!