mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 14:11:15 +02:00
- just for ultifd, alt-enter no longer touches the mouse pointer
This commit is contained in:
@@ -423,14 +423,14 @@ void Window::toggleFullscreen() {
|
|||||||
if(Window::isFullScreen == true) {
|
if(Window::isFullScreen == true) {
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s %d] Window::isFullScreen == true [%d]\n",__FILE__,__FUNCTION__,__LINE__,handle);
|
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s %d] Window::isFullScreen == true [%d]\n",__FILE__,__FUNCTION__,__LINE__,handle);
|
||||||
ShowWindow(handle, SW_MAXIMIZE);
|
ShowWindow(handle, SW_MAXIMIZE);
|
||||||
if(Window::getUseDefaultCursorOnly() == false) {
|
//if(Window::getUseDefaultCursorOnly() == false) {
|
||||||
showCursor(false);
|
// showCursor(false);
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s %d] Window::isFullScreen == false [%d]\n",__FILE__,__FUNCTION__,__LINE__,handle);
|
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s %d] Window::isFullScreen == false [%d]\n",__FILE__,__FUNCTION__,__LINE__,handle);
|
||||||
ShowWindow(handle, SW_RESTORE);
|
ShowWindow(handle, SW_RESTORE);
|
||||||
showCursor(true);
|
//showCursor(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
//SDL_Surface *sf = SDL_GetVideoSurface();
|
//SDL_Surface *sf = SDL_GetVideoSurface();
|
||||||
|
Reference in New Issue
Block a user