Re: [dwm] debugging what X events are reaching dwm (re xine)

From: Anselm R. Garbe <arg_AT_10kloc.org>
Date: Thu, 14 Sep 2006 10:22:31 +0200

On Wed, Sep 13, 2006 at 11:49:35AM +0000, David Tweed wrote:
> Hi, I'm wondering if anyone who knows about X knows so simple way to get info
> about what a given client is requesting. This is in connection with a very minor
> irritation with using xine on dwm.
>
> Situation is that the media app xine has, when using a TV card, a mode where
> you can move up or down a list of channels (using scroll wheel or arrow keys)
> to find a channel before selecting it. It looks like _each_ move of the scroll
> wheel/arrow key causes both all the other clients and their titles to be redrawn (from the
> fact that certain slow redraw clients and all the titles visibly flicker; note that whilst they
> redraw they redraw into exactly the same layout). I'm quite open to
> the possibility that xine is sending some stupid messages that it shouldn't,
> but I'd like to check. (This is on dwm from 1.2 to 1.5 using my multiple clients patch,
> but as far as I can see it only changes where on the screen things are drawn and not the
> triggers causing a redraw.)

Yes, xine sends configurerequests (event.c:configurerequest())
to the window manager, if the window is tiled (I recommend you
to force it floating due to a rule), this will result in an
arrange() call, which causes the redraws, even if nothing
changes from a layout POV, however arrange() resizes and redraws
all clients.

Regards,

-- 
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361
Received on Thu Sep 14 2006 - 10:22:31 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:31:15 UTC