darcs patch: EwmhDesktops reacts to messages from pan... (and 5 more)

Hi,
I have updated this patch set to not conflict with current upstream. I’d also like to get
some feedback on this: What is the best way to react on X event once at all (and not once
per workspace)?
Thanks,
Joachim
Fri Oct 12 00:55:58 CEST 2007 mail@joachim-breitner.de
* EwmhDesktops reacts to messages from panel apps
Hi,
this patch makes EwmhDesktops react to ClientMessages send from e.g. the panel switcher.
It currently only supports changing the current desktop (which at least for me is the most
important feature).
Note that you need my patch against X11-extras that adds ClientMessage support. You also need
my messageHook hack against darcs.
I tried to implement this without changes to the core, but trying to do some hack based
on LayoutModifieres weren’t very satisfying. The code is still there, just commented.
I’d very much appreciate any comments on how this functionality can go in, after 0.4, I guess.
Greetins,
Joachim
Thu Dec 27 22:01:05 CET 2007 mail@joachim-breitner.de
* Merge in EWMH interaction code, without my obsolete Hook system
Thu Dec 27 22:34:31 CET 2007 mail@joachim-breitner.de
* create a layout modifier that reacts on EWMH commands (e.g. from a pager)
Fri Dec 28 15:38:41 CET 2007 mail@joachim-breitner.de
* React on _NET_ACTIVE_WINDOW requests
This patch as a problem: The request is handled once per workspace, as the
layout modifier exists once per workspace. If someone has a good idea how to
fix that, that would be great!
Fri Dec 28 16:21:55 CET 2007 mail@joachim-breitner.de
* Use trace instead of io $ putStrLn
Thu Jan 17 00:27:00 CET 2008 Joachim Breitner

On Thu, Jan 17, 2008 at 12:29:36AM +0100, Joachim Breitner wrote:
Hi,
I have updated this patch set to not conflict with current upstream. I???d also like to get some feedback on this: What is the best way to react on X event once at all (and not once per workspace)?
Thanks,
Joachim
I don't think it is possible to react to an X event only once with the layout system. We've considered an "EventHook" before -- I believe that is the best way forward for EwmhDesktops. Let's start work on this after xmonad 0.6 (will be released this weekend). For now, we can brainstorm some potential designs. I think you'll agree that these patches aren't ready for upstream until we tackle this issue. Cheers, Spencer Janssen

Hi, Am Donnerstag, den 17.01.2008, 21:39 -0600 schrieb Spencer Janssen:
On Thu, Jan 17, 2008 at 12:29:36AM +0100, Joachim Breitner wrote:
Hi,
I have updated this patch set to not conflict with current upstream. I???d also like to get some feedback on this: What is the best way to react on X event once at all (and not once per workspace)?
Thanks,
Joachim
I don't think it is possible to react to an X event only once with the layout system. We've considered an "EventHook" before -- I believe that is the best way forward for EwmhDesktops. Let's start work on this after xmonad 0.6 (will be released this weekend). For now, we can brainstorm some potential designs.
I think you'll agree that these patches aren't ready for upstream until we tackle this issue.
I agree on both points there, and I’m looking forward to 0.7 then :-) Greetings, Joachim -- Joachim "nomeata" Breitner mail: mail@joachim-breitner.de | ICQ# 74513189 | GPG-Key: 4743206C JID: nomeata@joachim-breitner.de | http://www.joachim-breitner.de/ Debian Developer: nomeata@debian.org
participants (2)
-
Joachim Breitner
-
Spencer Janssen