diff options
Diffstat (limited to 'softhddevice.cpp')
| -rw-r--r-- | softhddevice.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/softhddevice.cpp b/softhddevice.cpp index ebaaa0f..1f7dadb 100644 --- a/softhddevice.cpp +++ b/softhddevice.cpp @@ -3186,6 +3186,9 @@ static const char *SVDRPHelpText[] = { "3DOF\n" "\040 3D OSD off.\n", "3DTB\n" "\040 3D OSD Top and Bottom.\n", "3DSB\n" "\040 3D OSD Side by Side.\n", + "RAIS\n" "\040 Raise softhddevice window\n\n" + " If Xserver is not started by softhddevice, the window which\n" + " contains the softhddevice frontend will be raised to the front.\n", NULL }; @@ -3366,6 +3369,15 @@ cString cPluginSoftHdDevice::SVDRPCommand(const char *command, return "3d tb"; } + if (!strcasecmp(command, "RAIS")) { + if (!ConfigStartX11Server) { + VideoRaiseWindow(); + } else { + return "Raise not possible"; + } + return "Window raised"; + } + return NULL; } |
