summaryrefslogtreecommitdiffstats
path: root/views/widget/widget_win.h
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-26 23:39:44 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-26 23:39:44 +0000
commit00987d375a99d62590ccd160bda19cd8ff892e8b (patch)
treed87ba35af20d6130da784185f4c0d40c77cc6fd7 /views/widget/widget_win.h
parent9ba258bc5d7da5194a8b0ecfb66c22e52fd75bf9 (diff)
downloadchromium_src-00987d375a99d62590ccd160bda19cd8ff892e8b.zip
chromium_src-00987d375a99d62590ccd160bda19cd8ff892e8b.tar.gz
chromium_src-00987d375a99d62590ccd160bda19cd8ff892e8b.tar.bz2
Fix a bug where if user has focus follows mouse, moving out of
the chrome window closes content popups. We need to grab all X mouse events using gdk_pointer_grab. This prevents other windows from getting focus. We no longer need the focus-out-event signal handler because we'll get the mouse down outside the browser window, forward it to the renderer, and it will tell us to close. I verified manually that killing the renderer while the popup is showing results in gdk_display_pointer_ungrab getting called. If the renderer hangs, the user just needs to click outside the popup. Review URL: http://codereview.chromium.org/112052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16946 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/widget_win.h')
0 files changed, 0 insertions, 0 deletions