зеркало из https://github.com/mozilla/pjs.git
Bug 512529 - Listen for changes in GDK_WINDOW_STATE_FULLSCREEN; r=karlt
This commit is contained in:
Родитель
a284cb37e1
Коммит
e407eb6ec1
|
@ -3389,10 +3389,12 @@ nsWindow::OnWindowStateEvent(GtkWidget *aWidget, GdkEventWindowState *aEvent)
|
|||
|
||||
nsSizeModeEvent event(true, NS_SIZEMODE, this);
|
||||
|
||||
// We don't care about anything but changes in the maximized/icon
|
||||
// We don't care about anything but changes in the maximized/icon/fullscreen
|
||||
// states
|
||||
if ((aEvent->changed_mask
|
||||
& (GDK_WINDOW_STATE_ICONIFIED|GDK_WINDOW_STATE_MAXIMIZED)) == 0) {
|
||||
& (GDK_WINDOW_STATE_ICONIFIED |
|
||||
GDK_WINDOW_STATE_MAXIMIZED |
|
||||
GDK_WINDOW_STATE_FULLSCREEN)) == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче