unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: oitofelix@gmail.com (Bruno Félix Rezende Ribeiro)
To: help-gnu-emacs@gnu.org
Subject: Mode-line draw/refresh problem in a Multi-headed X11 system.
Date: Thu, 16 Feb 2012 13:23:59 -0200	[thread overview]
Message-ID: <874nuq3ipc.fsf@felix-laptop.gnung> (raw)

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!




                 reply	other threads:[~2012-02-16 15:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874nuq3ipc.fsf@felix-laptop.gnung \
    --to=oitofelix@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).