Re: FVWM: outline move/resize

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Tue, 08 Jan 2002 19:36:14 -0500

Alexander Kotelnikov <sacha_at_nwgsm.ru> writes:
> >>>>> On Tue, 08 Jan 2002 19:09:53 -0500
> >>>>> "Dan" == Dan Espen <dane_at_mk.telcordia.com> wrote:
> Dan>
> Dan> Alexander Kotelnikov <sacha_at_nwgsm.ru> writes:
> >> Hello.
> >>
> >> Why do fvwm calls XGrabServer in the beginning of outline windows
> >> moves and resizes and UnGrab in the end? is this a performance
> >> question?
> Dan>
> Dan> The outlines are xored onto the screen and erased with another
> Dan> xor. If the server wasn't grabbed, other applications could
> Dan> draw on the xor in between and the erase wouldn't work.
>
> Ahh.. I have a problem. Being a debian's fvwm maintainer I got a bug
> report on it. User complains that outline processes makes some
> X-applications stop and even stops xmms playing for him. And so he
> think this is a bug.
>
> BTW, outlines could be erased by updating places they've been, or
> could not?

Xor outlines are used as a speed up, if the user doesn't want
the server grabbed, have them use opaque resizes and moves.

To redraw under the lines, you'd have to save the area under the
lines and redraw it, or create the lines in shaped windows,
it wouldn't be fast anymore.

-- 
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Jan 08 2002 - 18:39:15 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST