tapplied Troels' patch, thanks Troels! - dmenu - Dmenu fork with xft fonts.
 (HTM) git clone git://r-36.net/dmenu
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 0ba3bae98196ec8a0887f494cb8a2dd5b645f763
 (DIR) parent ebeb4e4752e33e9a87cbe0725f65595cba0037fa
 (HTM) Author: Anselm R Garbe <anselm@garbe.us>
       Date:   Thu,  1 Apr 2010 21:40:11 +0100
       
       applied Troels' patch, thanks Troels!
       Diffstat:
         dmenu.c                             |       6 +++++-
       
       1 file changed, 5 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/dmenu.c b/dmenu.c
       t@@ -658,6 +658,10 @@ run(void) {
                                if(ev.xexpose.count == 0)
                                        drawmenu();
                                break;
       +                case VisibilityNotify:
       +                        if (ev.xvisibility.state != VisibilityUnobscured)
       +                                XRaiseWindow(dpy, win);
       +                        break;
                        }
        }
        
       t@@ -691,7 +695,7 @@ setup(Bool topbar) {
                /* menu window */
                wa.override_redirect = True;
                wa.background_pixmap = ParentRelative;
       -        wa.event_mask = ExposureMask | ButtonPressMask | KeyPressMask;
       +        wa.event_mask = ExposureMask | ButtonPressMask | KeyPressMask | VisibilityChangeMask;
        
                /* menu window geometry */
                mh = dc.font.height + 2;