Skip to content

Commit

Permalink
Merge pull request #647 from gazebosim/blast545/backport_446
Browse files Browse the repository at this point in the history
Force scaling factor to be 1.0
  • Loading branch information
Blast545 authored Jun 10, 2022
1 parent 2091963 commit 9804284
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ float screenScalingFactor()
{
// todo(anyone) set device pixel ratio for high dpi displays on Windows
float ratio = 1.0;
#ifdef __linux__
// the scaling factor seems to cause issues with mouse picking.
// see https://github.com/ignitionrobotics/ign-gazebo/issues/147
#if 0
Display *disp = XOpenDisplay(nullptr);
char *resourceString = XResourceManagerString(disp);

Expand Down

0 comments on commit 9804284

Please sign in to comment.