winecfg: Disable the desktop option when configuring a specific application.
This commit is contained in:
parent
1e1a708e8a
commit
d74a62cfd7
@ -53,7 +53,18 @@ static void update_gui_for_desktop_mode(HWND dialog) {
|
|||||||
|
|
||||||
WINE_TRACE("\n");
|
WINE_TRACE("\n");
|
||||||
updating_ui = TRUE;
|
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? */
|
/* do we have desktop mode enabled? */
|
||||||
if (reg_key_exists(config_key, keypath("X11 Driver"), "Desktop"))
|
if (reg_key_exists(config_key, keypath("X11 Driver"), "Desktop"))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user