Skip to content

Commit 5260f1e

Browse files
RyeMuttakleshchev
authored andcommitted
Fix alt cam mouse motion stuttering in variance to framerate under wayland
Signed-off-by: Rye <[email protected]>
1 parent fc9805f commit 5260f1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

indra/llwindow/llsdl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ void init_sdl(const std::string& app_name)
9999
{SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR,"0"},
100100
{SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH,"1"},
101101
{SDL_HINT_MOUSE_EMULATE_WARP_WITH_RELATIVE,"0"},
102+
{SDL_HINT_MOUSE_RELATIVE_WARP_MOTION,"1"},
102103
{SDL_HINT_KEYCODE_OPTIONS,"french_numbers,latin_letters"}
103104
};
104105

0 commit comments

Comments
 (0)