Commit d74a62cf authored by Alexandre Julliard's avatar Alexandre Julliard

winecfg: Disable the desktop option when configuring a specific application.

parent 1e1a708e
......@@ -53,7 +53,18 @@ static void update_gui_for_desktop_mode(HWND dialog) {
WINE_TRACE("\n");
updating_ui = TRUE;
if (current_app)
{
disable(IDC_ENABLE_DESKTOP);
disable(IDC_DESKTOP_WIDTH);
disable(IDC_DESKTOP_HEIGHT);
disable(IDC_DESKTOP_SIZE);
disable(IDC_DESKTOP_BY);
return;
}
enable(IDC_ENABLE_DESKTOP);
/* do we have desktop mode enabled? */
if (reg_key_exists(config_key, keypath("X11 Driver"), "Desktop"))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment