mirror of
https://github.com/artizirk/wdisplays.git
synced 2025-12-10 18:05:11 +02:00
Fixed menu scaling issue by disabling the use of GTK popover
This fixes https://github.com/artizirk/wdisplays/issues/9
This commit is contained in:
@@ -1039,6 +1039,7 @@ static void activate(GtkApplication* app, gpointer user_data) {
|
||||
g_menu_append(main_menu, "_Show Screen Contents", "app.capture-screens");
|
||||
g_menu_append(main_menu, "_Overlay Screen Names", "app.show-overlay");
|
||||
gtk_menu_button_set_menu_model(GTK_MENU_BUTTON(state->menu_button), G_MENU_MODEL(main_menu));
|
||||
gtk_menu_button_set_use_popover(GTK_MENU_BUTTON(state->menu_button), false);
|
||||
|
||||
g_signal_connect(state->info_bar, "response", G_CALLBACK(info_response), state);
|
||||
/* first child of GtkInfoBar is always GtkRevealer */
|
||||
|
||||
Reference in New Issue
Block a user