Issue 99 in xmonad: common command line flags (version, replace, display)

Issue 99: common command line flags (version, replace, display) http://code.google.com/p/xmonad/issues/detail?id=99 Comment #1 by thomas.adam22: --display and --version are trivial. Would be nice also to have a --screen flag for xinerama, too. The point of this reply is to discuss how --replace might work, since it's not as trivial as people might think. When xmonad loads it should "register" itself as the running window manager. How it would do this is by interning a series of XAtoms which setup meta information about itself, such as: _IC_WM_MANAGER _IC_WM_VERSION _IC_WM_TIMESTAMP Then, using the XClientMessageEvent structure, fill it in. The XAtoms defined above would need changing via XChangeProperty(). Then just send the event of StructureNotifyMask along with the XClientMessageEvent structure. There's more to it than that, but that's the basic outline. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
participants (1)
-
codesite-noreply@google.com