gtk: Fix the focus event.

This commit is contained in:
Cheng Zhao 2014-05-23 23:00:04 +08:00
parent fc1bc78fb9
commit fc9fd46308

View file

@ -145,6 +145,8 @@ NativeWindowGtk::NativeWindowGtk(content::WebContents* web_contents,
G_CALLBACK(OnWindowDeleteEventThunk), this);
g_signal_connect(window_, "focus-out-event",
G_CALLBACK(OnFocusOutThunk), this);
g_signal_connect(window_, "focus-in-event",
G_CALLBACK(OnFocusInThunk), this);
g_signal_connect(window_, "window-state-event",
G_CALLBACK(OnWindowStateThunk), this);