Fix include paths for TabletInput and add empty implementation for inhibitScreensaver on non-Apple platforms

This commit is contained in:
Bruno Herbelin
2025-11-28 16:12:40 +01:00
parent c826d8e418
commit 78e8e3b394
2 changed files with 5 additions and 2 deletions

View File

@@ -19,8 +19,8 @@
#ifdef APPLE
#include "TabletInput.h"
#include "Log.h"
#include "../src/TabletInput.h"
#include "../src/Log.h"
#import <Cocoa/Cocoa.h>
TabletInput::TabletInput()

View File

@@ -163,6 +163,9 @@ void inhibitScreensaver (bool on)
}
}
}
#else
void inhibitScreensaver (bool)
{}
#endif
#ifdef USE_GST_OPENGL_SYNC_HANDLER