aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/jalv.c2
-rw-r--r--src/jalv_internal.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/jalv.c b/src/jalv.c
index 5f4e80a..7621e07 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -454,9 +454,9 @@ main(int argc, char** argv)
#ifdef HAVE_LV2_UI_RESIZE
ui_resize.data = &host;
+#endif
host.ui_width = -1;
host.ui_height = -1;
-#endif
sem_init(&exit_sem, 0, 0);
host.done = &exit_sem;
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index 9b2946c..906ca7b 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -75,10 +75,8 @@ typedef struct {
JalvOptions opts; /**< Command-line options */
const char* prog_name; /**< Program name (argv[0]) */
LilvWorld* world; /**< Lilv World */
-#ifdef HAVE_LV2_UI_RESIZE
int ui_width; /**< Requested UI width */
int ui_height; /**< Requested UI height */
-#endif
SerdReader* reader; /**< RDF reader (for persistence) */
SerdWriter* writer; /**< RDF writer (for persistence) */
struct Property* props; /**< Restored state properties */