diff options
author | Eugene Sandulenko | 2016-04-17 15:03:32 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-04-17 15:03:32 +0200 |
commit | befa0514cdf05e5a595bfd98d5c4f7d07541f24d (patch) | |
tree | 35b585aabba7361c68b93f6be28ea56dea49556c /gui/dialog.cpp | |
parent | dc2726059cc666d5a3a3a9b5080671542cb1b1cc (diff) | |
parent | be1fdf59bb80f963a4f97bfab49f59aca8d73d70 (diff) | |
download | scummvm-rg350-befa0514cdf05e5a595bfd98d5c4f7d07541f24d.tar.gz scummvm-rg350-befa0514cdf05e5a595bfd98d5c4f7d07541f24d.tar.bz2 scummvm-rg350-befa0514cdf05e5a595bfd98d5c4f7d07541f24d.zip |
Merge pull request #744 from salty-horse/dialog_focus_mouse
GUI: When dialogs gain focus, inform them of the current mouse position
Diffstat (limited to 'gui/dialog.cpp')
-rw-r--r-- | gui/dialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/dialog.cpp b/gui/dialog.cpp index 315c24e9bf..075a3bb533 100644 --- a/gui/dialog.cpp +++ b/gui/dialog.cpp @@ -119,6 +119,8 @@ void Dialog::reflowLayout() { } void Dialog::lostFocus() { + _dragWidget = NULL; + if (_tickleWidget) { _tickleWidget->lostFocus(); } |