Skip to content

Commit

Permalink
Now, when you press Alt+Win, the window becomes transparent.
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Aug 5, 2018
1 parent e27c4da commit c6bbc9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xrGame/MainMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ void CMainMenu::IR_OnKeyboardPress(int dik)
{
IWantMyMouseBackScreamed = true;
pInput->GrabInput(false);
SDL_SetWindowOpacity(Device.m_sdlWnd, 0.9f);
}

if (SDL_SCANCODE_F12 == dik)
Expand All @@ -370,6 +371,7 @@ void CMainMenu::IR_OnKeyboardRelease(int dik)
{
IWantMyMouseBackScreamed = false;
pInput->GrabInput(true);
SDL_SetWindowOpacity(Device.m_sdlWnd, 1.f);
}


Expand Down

0 comments on commit c6bbc9c

Please sign in to comment.