Update main.cc
This commit is contained in:
@@ -255,9 +255,6 @@ RTWindow *create_rt_window()
|
|||||||
Gtk::Settings::get_for_screen(screen)->property_gtk_application_prefer_dark_theme() = true;
|
Gtk::Settings::get_for_screen(screen)->property_gtk_application_prefer_dark_theme() = true;
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
double resolution = screen->get_resolution ();
|
|
||||||
printf("Screen resolution is %.1f", (float)resolution);
|
|
||||||
|
|
||||||
// This will force screen resolution regarding font, but I don't think it's compliant with Gtk guidelines...
|
// This will force screen resolution regarding font, but I don't think it's compliant with Gtk guidelines...
|
||||||
// Do not confuse with screen scaling, where everything is scaled up !
|
// Do not confuse with screen scaling, where everything is scaled up !
|
||||||
screen->set_resolution (96.);
|
screen->set_resolution (96.);
|
||||||
|
Reference in New Issue
Block a user