gtk3: gdk_x11_display_set_window_scale needs 3.10.0
Change-Id: I4c86082eca0e7618de30841e6fe7040be7326098
This commit is contained in:
parent
60fdfda3d0
commit
8bac7e410a
1 changed files with 2 additions and 0 deletions
|
@ -82,6 +82,7 @@ GtkSalDisplay::GtkSalDisplay( GdkDisplay* pDisplay ) :
|
|||
|
||||
m_bX11Display = GDK_IS_X11_DISPLAY( m_pGdkDisplay );
|
||||
|
||||
#if GTK_CHECK_VERSION(3,10,0)
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
if (m_bX11Display)
|
||||
{
|
||||
|
@ -90,6 +91,7 @@ GtkSalDisplay::GtkSalDisplay( GdkDisplay* pDisplay ) :
|
|||
gdk_x11_display_set_window_scale(m_pGdkDisplay, 1);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
gtk_widget_set_default_direction(AllSettings::GetLayoutRTL() ? GTK_TEXT_DIR_RTL : GTK_TEXT_DIR_LTR);
|
||||
|
|
Loading…
Reference in a new issue