mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlCore: GTK: TopWindow::IsFullScreen and ::FullScreen methods fixed
git-svn-id: svn://ultimatepp.org/upp/trunk@11022 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f27c9fc7f2
commit
6020f04c32
2 changed files with 18 additions and 19 deletions
|
|
@ -186,6 +186,7 @@ void TopWindow::SetMode(int mode)
|
|||
gtk_window_fullscreen(w);
|
||||
break;
|
||||
}
|
||||
fullscreen = state == FULLSCREEN;
|
||||
}
|
||||
|
||||
void TopWindow::Minimize(bool effect)
|
||||
|
|
@ -195,7 +196,7 @@ void TopWindow::Minimize(bool effect)
|
|||
|
||||
TopWindow& TopWindow::FullScreen(bool b)
|
||||
{
|
||||
SetMode(FULLSCREEN);
|
||||
SetMode(b ? FULLSCREEN : OVERLAPPED);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue