From 914c87ccea6078f47b6f0c67608c8ced670265ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 31 Mar 2005 19:29:57 +0000 Subject: [PATCH] No longer defines ENABLE_INPUT_SERVER_EMULATION if DISPLAYDRIVER is set to HWDRIVER. Added a ToDo comment about the forgotten find_directory(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12201 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/servers/app/ServerConfig.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/headers/private/servers/app/ServerConfig.h b/headers/private/servers/app/ServerConfig.h index fa0de5d9a6..2047e96f49 100644 --- a/headers/private/servers/app/ServerConfig.h +++ b/headers/private/servers/app/ServerConfig.h @@ -51,12 +51,15 @@ // Define this if you want the display driver to emulate the input server. // Comment this out if DISPLAYDRIVER is defined as HWDRIVER. -#define ENABLE_INPUT_SERVER_EMULATION +#if DISPLAYDRIVER != HWDRIVER +# define ENABLE_INPUT_SERVER_EMULATION +#endif // This is the application signature of our app_server when running as a // regular application. When running as the app_server, this is not used. #define SERVER_SIGNATURE "application/x-vnd.haiku-app-server" +// ToDo: use find_directory() instead of absolute path names! // Directory for all app_server-related settings. Must include ending slash. #define SERVER_SETTINGS_DIR "/boot/home/config/settings/app_server/" @@ -102,4 +105,4 @@ // and ServerWindows #define DEFAULT_MONITOR_PORT_SIZE 30 -#endif +#endif /* _APPSERVER_CONFIG_H */