Browse Source

Add a small debug message

tags/v2.1-alpha1-winvst
falkTX 6 years ago
parent
commit
e495c84572
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      source/interposer/interposer-jack-x11.cpp

+ 6
- 0
source/interposer/interposer-jack-x11.cpp View File

@@ -361,7 +361,10 @@ int jack_carla_interposed_action(int action, int value, void* ptr)
{
gCurrentWindowVisible = true;
if (gCurrentlyMappedDisplay == nullptr || gCurrentlyMappedWindow == 0)
{
carla_stdout("NOTICE: Interposer show-gui request ignored");
return 0;
}

gCurrentWindowMapped = true;

@@ -382,7 +385,10 @@ int jack_carla_interposed_action(int action, int value, void* ptr)
{
gCurrentWindowVisible = false;
if (gCurrentlyMappedDisplay == nullptr || gCurrentlyMappedWindow == 0)
{
carla_stdout("NOTICE: Interposer hide-gui request ignored");
return 0;
}

gCurrentWindowMapped = false;
return real_XUnmapWindow(gCurrentlyMappedDisplay, gCurrentlyMappedWindow);


Loading…
Cancel
Save