Skip to content

Commit

Permalink
fix: proper test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazer committed May 21, 2024
1 parent 52f7856 commit 4c877bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/platform/linux/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ namespace platf {
#endif
}

inline util::point_t
util::point_t
get_mouse_loc(input_t &input) {
#ifdef SUNSHINE_BUILD_X11
Display *xdisplay = ((input_raw_t *) input.get())->display;
Expand Down
2 changes: 1 addition & 1 deletion src/platform/windows/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -547,12 +547,12 @@ namespace platf {
INPUT i {};

i.type = INPUT_MOUSE;
auto &mi = i.mi;
mi.dwFlags =
MOUSEEVENTF_ABSOLUTE |

// MOUSEEVENTF_VIRTUALDESK maps to the entirety of the desktop rather than the primary desktop
MOUSEEVENTF_VIRTUALDESK;
auto &mi = i.mi;
return util::point_t {
mi.dx,
mi.dy
Expand Down

0 comments on commit 4c877bd

Please sign in to comment.