aboutsummaryrefslogtreecommitdiffstats
path: root/xmonad-contrib.cabal
diff options
context:
space:
mode:
authorAnton Vorontsov <anton@enomsg.org>2014-09-01 09:21:58 +0200
committerAnton Vorontsov <anton@enomsg.org>2014-09-01 09:21:58 +0200
commit30c1202c3b6e9c45deaabfbaf2fb43d8c78ed5c6 (patch)
tree71698210c3150965bd094bfa22ce9a8575b462d4 /xmonad-contrib.cabal
parent925a7ecf632eddb21ff92e6b6f73850d6d2d1ee0 (diff)
downloadXMonadContrib-30c1202c3b6e9c45deaabfbaf2fb43d8c78ed5c6.tar.gz
XMonadContrib-30c1202c3b6e9c45deaabfbaf2fb43d8c78ed5c6.tar.xz
XMonadContrib-30c1202c3b6e9c45deaabfbaf2fb43d8c78ed5c6.zip
Implement proper handling of dynamically changing hostname
Ignore-this: 2aeac6d2161e666d40cda6a09f78b208 The module implements a proper way of finding out whether the window is remote or local. Just checking for a hostname and WM_CLIENT_MACHINE being equal is often not enough because the hostname is a changing subject (without any established notification mechanisms), and thus WM_CLIENT_MACHINE and the hostname can diverge even for a local window. This module solves the problem. As soon as there is a new window created, we check the hostname and WM_CLIENT_MACHINE, and then we cache the result into the XMONAD_REMOTE property. Notice that XMonad itself does not know anything about hostnames, nor does it have any dependency on Network.* modules. For this module it is not a problem: you can provide a mean to get the hostname through your config file (see usage). Or, if you don't like the hassle of handling dynamic hostnames (suppose your hostname never changes), it is also fine: this module will fallback to using environment variables. darcs-hash:20140901072158-1836e-fa2b05c79ec3217d5024b7e050b2239dcf7de4b4.gz
Diffstat (limited to 'xmonad-contrib.cabal')
-rw-r--r--xmonad-contrib.cabal1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmonad-contrib.cabal b/xmonad-contrib.cabal
index 166d217..cc605b5 100644
--- a/xmonad-contrib.cabal
+++ b/xmonad-contrib.cabal
@@ -307,6 +307,7 @@ library
XMonad.Util.NamedWindows
XMonad.Util.Paste
XMonad.Util.PositionStore
+ XMonad.Util.RemoteWindows
XMonad.Util.Replace
XMonad.Util.Run
XMonad.Util.Scratchpad