- This had the rubber duck messing up the tiling/cascading of windows in the IDE
property bool isActiveClient
{
property_category $"Behavior"
- set { style.isActiveClient = value; }
+ set
+ {
+ if(parent && style.isActiveClient != value && !style.hidden)
+ {
+ if(value)
+ {
+ if(state == minimized) parent.numIcons++;
+ parent.numPositions++;
+ }
+ else
+ {
+ if(state == minimized) parent.numIcons--;
+ parent.numPositions--;
+ }
+ }
+ style.isActiveClient = value;
+ }
get { return style.isActiveClient; }
};