Re: [dev] dmenu, dwm and two screens

From: Martti Kühne <mysatyre_AT_gmail.com>
Date: Thu, 16 Aug 2012 22:33:09 +0200

On Thu, Aug 16, 2012 at 02:14:53PM +0200, v4hn wrote:
> Hey Martti,
>
> these patches work like a charme, thanks!
> If this is the most simple way of fixing this mess,
> then I vote for adding it to upstream.
>
> Still this looks like patchwork to me..
> dmenu fails to detect the active screen in dwm.
> So either the detection is broken or dwm does not support
> the detection used. Is there a standardized way of doing this?
>
> Could the authors of the respective code lines please have a look at this?
>
>

Urm, afaik I am the author, and I wrote it for lack a better alternative. If
there would be the whole integration would be easier.
If I remember it correctly, X can tell what monitor the mouse is on, but that
state was made invalid when a key combo to switch monitor was introduced.

Don't know, maybe someone else can clarify this more thoroughly or you could
read into Xlib docs or code from other (fully keyboard controllable) wms to see
if/how they do it right...

Also the patch against dwm I provided about ewmh is still not working as it
should, but I wasn't annoyed enough yet to write a patch to dump the whole ewmh
murks. Ironically that one was actually added upstream.

cheers!
mar77i

Received on Thu Aug 16 2012 - 22:33:09 CEST

This archive was generated by hypermail 2.3.0 : Thu Aug 16 2012 - 22:48:04 CEST