diff --git a/src/x11/settings.cpp b/src/x11/settings.cpp index 3dd8d91cb3..ef5de6e208 100644 --- a/src/x11/settings.cpp +++ b/src/x11/settings.cpp @@ -124,7 +124,7 @@ int wxSystemSettingsNative::GetMetric(wxSystemMetric index) // TODO return 0; case wxSYS_SCREEN_X: - return DisplayHeight( wxGlobalDisplay(), 0 ); + return DisplayWidth( wxGlobalDisplay(), 0 ); case wxSYS_SCREEN_Y: return DisplayHeight( wxGlobalDisplay(), 0 );