Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
e0e5e838
Commit
e0e5e838
authored
5 years ago
by
LJ Sonic
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Ungrab mouse when watching a record"
This reverts commit
17636ccc
.
parent
3af00ac9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!734
Rebase Keycodes only branch.
,
!617
Let the mouse move freely when a menu is open or game is paused
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sdl/i_video.c
+1
-1
1 addition, 1 deletion
src/sdl/i_video.c
with
1 addition
and
1 deletion
src/sdl/i_video.c
+
1
−
1
View file @
e0e5e838
...
...
@@ -109,7 +109,7 @@ static SDL_bool disable_fullscreen = SDL_FALSE;
#define USE_FULLSCREEN (disable_fullscreen||!allow_fullscreen)?0:cv_fullscreen.value
static
SDL_bool
disable_mouse
=
SDL_FALSE
;
#define USE_MOUSEINPUT (!disable_mouse && cv_usemouse.value && havefocus)
#define IGNORE_MOUSE (menuactive || paused || con_destlines || chat_on ||
demoplayback ||
gamestate != GS_LEVEL)
#define IGNORE_MOUSE (menuactive || paused || con_destlines || chat_on || gamestate != GS_LEVEL)
#define MOUSE_MENU false //(!disable_mouse && cv_usemouse.value && menuactive && !USE_FULLSCREEN)
#define MOUSEBUTTONS_MAX MOUSEBUTTONS
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment