
17 Sep
2009
17 Sep
'09
11:51 p.m.
* On Thursday, September 17 2009, rupa wrote:
I was able to get this working, and the (noticeable) timeout has gone, after some help in IRC. The problem was that the rawSystem call was blocking. The following did the trick: ... forkIO $ (>> return ()) $ rawSystem "dbus-send" ["--session","--print-reply=string","--dest=org.gnome.SessionManager","/org/gnome/SessionManager","org.gnome.SessionManager.RegisterClient","string:xmonad","string:"++id] return () Nothing -> return ()
I've pushed a contrib patch adding this function as XMonad.Config.Gnome.gnomeRegister