Code review comment for lp://qastaging/~dandrader/unity8/cursorConfinement

Revision history for this message
Lukáš Tinkl (lukas-kde) wrote :

+ itemConfiningMouseCursor: ...

I'd prefer this being an inline binding, instead of the returns. How about sth like:

itemConfiningMouseCursor: priv.focusedAppDelegate && priv.focusedAppDelegate.surface &&
                          priv.focusedAppDelegate.surface.confinesMousePointer ?
                          priv.focusedAppDelegate.clientAreaItem : null;

review: Needs Information

« Back to merge proposal