|
|
|
@ -31,7 +31,8 @@ View::View()
|
|
|
|
|
View::View(View &&o)
|
|
|
|
|
: Generic(o),
|
|
|
|
|
isActive(o.isActive),
|
|
|
|
|
isScheduledForMove(o.isScheduledForMove),
|
|
|
|
|
isMoveOrigin(o.isMoveOrigin),
|
|
|
|
|
isMoveDestination(o.isMoveDestination),
|
|
|
|
|
onPrimary(o.onPrimary),
|
|
|
|
|
screen(o.screen),
|
|
|
|
|
screenEdgeMargin(o.screenEdgeMargin),
|
|
|
|
@ -49,7 +50,8 @@ View::View(View &&o)
|
|
|
|
|
View::View(const View &o)
|
|
|
|
|
: Generic(o),
|
|
|
|
|
isActive(o.isActive),
|
|
|
|
|
isScheduledForMove(o.isScheduledForMove),
|
|
|
|
|
isMoveOrigin(o.isMoveOrigin),
|
|
|
|
|
isMoveDestination(o.isMoveDestination),
|
|
|
|
|
onPrimary(o.onPrimary),
|
|
|
|
|
screen(o.screen),
|
|
|
|
|
screenEdgeMargin(o.screenEdgeMargin),
|
|
|
|
@ -69,7 +71,8 @@ View &View::operator=(const View &rhs)
|
|
|
|
|
id = rhs.id;
|
|
|
|
|
name = rhs.name;
|
|
|
|
|
isActive = rhs.isActive;
|
|
|
|
|
isScheduledForMove = rhs.isScheduledForMove;
|
|
|
|
|
isMoveOrigin = rhs.isMoveOrigin;
|
|
|
|
|
isMoveDestination = rhs.isMoveDestination;
|
|
|
|
|
onPrimary = rhs.onPrimary;
|
|
|
|
|
screen = rhs.screen;
|
|
|
|
|
screenEdgeMargin = rhs.screenEdgeMargin,
|
|
|
|
@ -90,7 +93,8 @@ View &View::operator=(View &&rhs)
|
|
|
|
|
id = rhs.id;
|
|
|
|
|
name = rhs.name;
|
|
|
|
|
isActive = rhs.isActive;
|
|
|
|
|
isScheduledForMove = rhs.isScheduledForMove;
|
|
|
|
|
isMoveOrigin = rhs.isMoveOrigin;
|
|
|
|
|
isMoveDestination = rhs.isMoveDestination;
|
|
|
|
|
onPrimary = rhs.onPrimary;
|
|
|
|
|
screen = rhs.screen;
|
|
|
|
|
screenEdgeMargin = rhs.screenEdgeMargin,
|
|
|
|
@ -111,7 +115,8 @@ bool View::operator==(const View &rhs) const
|
|
|
|
|
return (id == rhs.id)
|
|
|
|
|
&& (name == rhs.name)
|
|
|
|
|
//&& (isActive == rhs.isActive) /*activeness is a state and is not considered*/
|
|
|
|
|
//&& (isScheduledForMove == rhs.isScheduledForMove) /*changing layouts is a state and is not considered*/
|
|
|
|
|
//&& (isMoveOrigin == rhs.isMoveOrigin) /*changing layouts is a state and is not considered*/
|
|
|
|
|
//&& (isMoveDestination == rhs.isMoveDestination) /*changing layouts is a state and is not considered*/
|
|
|
|
|
&& (onPrimary == rhs.onPrimary)
|
|
|
|
|
&& (screen == rhs.screen)
|
|
|
|
|
&& (screenEdgeMargin == rhs.screenEdgeMargin)
|
|
|
|
|