Re: Issue 175 in xmonad: Click on unfocused window eaten

Comment #5 on issue 175 by scuz.there: Click on unfocused window eaten http://code.google.com/p/xmonad/issues/detail?id=175 Anybody know if this is possible? I'm gona try looking around but my Haskell knowledge is quite basic so I'm not expecting much. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Comment #6 on issue 175 by scuz.there: Click on unfocused window eaten http://code.google.com/p/xmonad/issues/detail?id=175 Well done a lot of fiddling and learning about how this all works. handle e@(ButtonEvent {ev_window = w,ev_event_type = t,ev_button = b }) gets called every time you click on an unfocused window or click while holding down modifiers for a mouse binding. I found grabButtons which explains the mouse binding calls, but I can't figure out why specifically clicking on an unfocused window calls it. I assume thats just built in to xlib though. Going to try sending an button press event to the hovered window to see if that'll work. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Comment #7 on issue 175 by scuz.there: Click on unfocused window eaten http://code.google.com/p/xmonad/issues/detail?id=175 Actually I guess that won't work as XSendEvent will send a synthetic event which will probably get ignored. Maybe XPutBackEvent but if I can't figure out why only clicks on unfocused windows get grabbed then when the event is ran again xmonad would just eat it again. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Updates: Status: Duplicate Mergedinto: 225 Comment #8 on issue 175 by wirtwo...@gmail.com: Click on unfocused window eaten http://code.google.com/p/xmonad/issues/detail?id=175 Continue discussion in Issue 225 which includes code that enables one click focus.
participants (1)
-
codesite-noreply@google.com