Skip to content

Commit

Permalink
steamcompmgr: Add env variable to force disable cursor grabbing
Browse files Browse the repository at this point in the history
This is very convenient for playing visual novels in windowed mode.
  • Loading branch information
luk1337 committed Jan 13, 2024
1 parent 52c8cd7 commit f383b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/steamcompmgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1887,7 +1887,7 @@ bool MouseCursor::getTexture()
m_texture = nullptr;

// Assume the cursor is fully translucent unless proven otherwise.
bool bNoCursor = true;
bool bNoCursor = !getenv( "GAMESCOPE_FORCE_CURSOR" );

std::shared_ptr<std::vector<uint32_t>> cursorBuffer = nullptr;

Expand Down

0 comments on commit f383b9e

Please sign in to comment.