Active vs Inactive windows

Hello :slight_smile:



I would like that my unsticked windows are always active (they are

not movable)



Is there an easy way to do this ? (if not I can of course change definition

of css files and say in inactives section the same terms that are in active section)



Thanks in advance for your answer :slight_smile:

The active and not active window differs only by css styles and main window icon.
There is no way to change the active|inactive behavior by API, so you can change the styles in css, or made next code update

dhtmlxwindows.js
this._makeActive = function(win, ignoreFocusEvent) {
โ€ฆ
} else {
// this.wins[a].className = โ€œdhtmlx_window_inactiveโ€; //<= comment those two lines
// this.wins[a].childNodes[1].src = this.wins[a].icons[1];
}

Thanks for your answer :slight_smile: