parent
b25f688499
commit
3908bb588f
|
@ -660,7 +660,8 @@ BackgroundsAccounting(void)
|
|||
|
||||
/* Unviewable desktop - update the virtual root hints */
|
||||
win = desks.desk[j].win;
|
||||
HintsSetRootInfo(win, 0, 0);
|
||||
if (!Conf.hints.set_xroot_info_on_root_window)
|
||||
HintsSetRootInfo(win, 0, 0);
|
||||
XSetWindowBackground(disp, win, 0);
|
||||
XClearWindow(disp, win);
|
||||
}
|
||||
|
|
|
@ -157,6 +157,7 @@
|
|||
#define CONTROL_ST_WARPLIST 1384
|
||||
|
||||
#define CONTROL_MENU_NAVIGATION_KEYS 1390
|
||||
#define CONTROL_HINTS_XROOT_HACK 1391
|
||||
|
||||
#define ICLASS_NAME 350
|
||||
#define ICLASS_NORMAL 351
|
||||
|
|
|
@ -1012,6 +1012,10 @@ Config_Control(FILE * ConfigFile)
|
|||
break;
|
||||
}
|
||||
break;
|
||||
case CONTROL_HINTS_XROOT_HACK:
|
||||
Conf.hints.set_xroot_info_on_root_window = i2;
|
||||
break;
|
||||
|
||||
default:
|
||||
RecoverUserConfig();
|
||||
Alert(_("Warning: unable to determine what to do with\n"
|
||||
|
@ -3958,6 +3962,8 @@ SaveUserControlConfig(FILE * autosavefile)
|
|||
XKeysymToString(Conf.menukeys.escape));
|
||||
fprintf(autosavefile, "1390 5 %s\n",
|
||||
XKeysymToString(Conf.menukeys.ret));
|
||||
fprintf(autosavefile, "1391 %i\n",
|
||||
Conf.hints.set_xroot_info_on_root_window);
|
||||
#ifdef HAS_XINERAMA
|
||||
fprintf(autosavefile, "2013 %i\n", (int)Conf.extra_head);
|
||||
#endif
|
||||
|
|
|
@ -53,8 +53,6 @@ HintsInit(void)
|
|||
XChangeProperty(disp, VRoot.win, atom, XA_STRING, 8, PropModeReplace,
|
||||
(unsigned char *)e_wm_version, strlen(e_wm_version));
|
||||
|
||||
Conf.hints.set_xroot_info_on_root_window = 0;
|
||||
|
||||
EDBUG_RETURN_;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue