From 19913a5e4880503dd06a73c03584e77d3cf504a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Sun, 25 Jun 2023 03:38:42 +0200 Subject: Only show X11-specific option when it makes sense --- fiv.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fiv.c b/fiv.c index bf23a44..29b0377 100644 --- a/fiv.c +++ b/fiv.c @@ -604,6 +604,10 @@ show_preferences(GtkWidget *parent) int row = 0; gchar **keys = g_settings_schema_list_keys(schema); for (gchar **p = keys; *p; p++) { +#ifndef GDK_WINDOWING_X11 + if (g_str_equal(*p, "native-view-window")) + continue; +#endif GSettingsSchemaKey *key = g_settings_schema_get_key(schema, *p); preferences_make_row(grid, &row, settings, key); g_settings_schema_key_unref(key); -- cgit v1.2.3