mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-13 23:40:58 +00:00
Fix mouse release issue after toggling fullscreen
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@163 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
775d00d580
commit
d1c21ccd0e
1 changed files with 5 additions and 0 deletions
|
@ -1426,6 +1426,11 @@ void VID_Toggle (void)
|
|||
{
|
||||
Sbar_Changed (); // Sbar seems to need refreshing
|
||||
windowed = !windowed;
|
||||
if (vid.type == MODE_FULLSCREEN_DEFAULT)
|
||||
vid.type = MODE_WINDOWED;
|
||||
else
|
||||
vid.type = MODE_FULLSCREEN_DEFAULT;
|
||||
|
||||
Cvar_SetValue ("vid_fullscreen", ! (int)vid_fullscreen.value);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue