diff --git a/source/interposer/interposer-jack-x11.cpp b/source/interposer/interposer-jack-x11.cpp index 0b64b1b85..00db5f1de 100644 --- a/source/interposer/interposer-jack-x11.cpp +++ b/source/interposer/interposer-jack-x11.cpp @@ -203,7 +203,7 @@ static int carlaWindowMap(Display* const display, const Window window, const int break; carla_stdout("NOTICE: XMapWindow now showing previous window"); - switch (fallbackFnType) + switch (gCurrentWindowType) { case 1: real_XMapWindow(gCurrentlyMappedDisplay, gCurrentlyMappedWindow);