From: Andy Spencer Date: Wed, 13 Jun 2012 08:54:12 +0000 (+0000) Subject: Allows selecting text in certain GTK+ programs X-Git-Url: http://pileus.org/git/?p=wmpus;a=commitdiff_plain;h=847fa394206ac2a53c726ddddee4471bab0e820c Allows selecting text in certain GTK+ programs I don't know why you cant select text otherwise, it's probably because X11 is insane. This has the down side of not automatically raising a floating window when it is clicked on.. --- diff --git a/wm-wmii.c b/wm-wmii.c index 094f3d1..90e0616 100644 --- a/wm-wmii.c +++ b/wm-wmii.c @@ -902,7 +902,7 @@ void wm_init(win_t *root) wm->tag = tag_new(wm->screens, 1); wm->tags = list_insert(NULL, wm->tag); - event_t ev_e[] = {EV_ENTER, EV_FOCUS, EV_MOUSE1}; + event_t ev_e[] = {EV_ENTER, EV_FOCUS}; event_t ev_s[] = {'h', 'j', 'k', 'l', 'c', 'q', ' ', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'}; event_t ev_m[] = {'h', 'j', 'k', 'l', 'd', 's', 'm', 't', ' ',