Mercurial > dotfiles
view .hgrc @ 266:93a8f55a4e30
xmonad: add takeTopFocus logHook
This is required to make IntelliJ (and supposedly all other Swing
applications) properly notice that they've recieved the
focus. According to [0], the problem is that "xmonad does not follow
ICCCM and ignores WM_TAKE_FOCUS protocol", but the patches on that
ticket haven't yet been accepted, so the function was added to
xmonad-contrib as a workaround until something happens in xmonad
proper.
[0]: http://code.google.com/p/xmonad/issues/detail?id=177
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Wed, 02 Nov 2011 09:53:57 -0500 |
parents | 09c0d4ed07f3 |
children | 393535e99b8a |
line wrap: on
line source
[extensions] hgext.bookmarks= hgext.color= hgext.convert= hgext.graphlog= hgext.highlight= hgext.hgk= hgext.mq= hgext.parentrevspec= hgext.patchbomb= hgext.purge= hgext.rebase= hgext.record= hgext.transplant= hgext.schemes= hgext.progress= hggit= hgsubversion= hg_histedit= hg_remotebranches= [alias] ll=log --graph --style compact --limit 6 -r 'sort((::. or bookmark() or heads(upstream())), "-rev")' upstream-bookmarks = log -r 'bookmark() and upstream()' --template '{bookmarks}\n' utip = log -r 'limit(heads(upstream()), 1)' egrep = !$HG locate -0 '$2' $3 $4 $5 $6 $7 $8 $9 | xargs -0 egrep -H '$1' wc-out = log -r 'ancestors(.) and not upstream()' wc-email = email -r 'ancestors(.) and not upstream()' [ui] username = Augie Fackler <durin42@gmail.com> ignore = ~/.hgglobalignore usehttp2=true [defaults] qimport = --git qrefresh = --git annotate = -nu heads = --style default serve = -v outgoing = --graph # --graph is breaking incoming, need to investigate # incoming = --graph diff = -p [diff] git=1 [bookmarks] track.current = 1 [web] port=7000 allow_archive = bz2 zip [color] status.ignored = magenta bold qseries.unapplied = magenta bold [paths] hgcrew = http://hg.intevation.org/mercurial/crew hgsubv = ssh://hg@bitbucket.org/durin42/hgsubversion/ hggit = ssh://hg@bitbucket.org/durin42/hg-git/ histedit = ssh://hg@bitbucket.org/durin42/histedit/ [hooks] # Prevent "hg pull" if MQ patches are applied. #prechangegroup.mq-no-pull = ! hg qtop > /dev/null 2>&1 # Prevent "hg push" if MQ patches are applied. #preoutgoing.mq-no-push = ! hg qtop > /dev/null 2>&1