mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 1523721 - [Linux/Gtk+] Continue processing window_state_event handler when titlebar is updated, r=dao
Recently we quit nsWindow::OnWindowStateEvent()/window_state_event handler when titlebar needs an update due to focus change. That's incorrect as we need to process other information from the handler - maxminized/normal window state. Differential Revision: https://phabricator.services.mozilla.com/D18681 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
018bd4cbe2
commit
ed7fbd3a13
@ -2935,7 +2935,6 @@ void nsWindow::OnWindowStateEvent(GtkWidget *aWidget,
|
||||
!(aEvent->new_window_state & GDK_WINDOW_STATE_FOCUSED);
|
||||
|
||||
ForceTitlebarRedraw();
|
||||
return;
|
||||
}
|
||||
|
||||
// We don't care about anything but changes in the maximized/icon/fullscreen
|
||||
|
Loading…
Reference in New Issue
Block a user