annotate unixSoft/bin/opendiff-w @ 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 26f9c18b588c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
146
9fdb82e108de I really always need opendiff-w.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
1 #!/bin/sh
260
26f9c18b588c opendiff-w: safer sanity check for opendiff
Augie Fackler <durin42@gmail.com>
parents: 197
diff changeset
2 which opendiff || exit 1
26f9c18b588c opendiff-w: safer sanity check for opendiff
Augie Fackler <durin42@gmail.com>
parents: 197
diff changeset
3 opendiff "$@" | cat