Mir

Code review comment for lp:~mir-team/mir/custom-input-regions-scale-with-surface-size

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It's true you don't interact with a surface mid-resizing, but that's a less important point.

More importantly real apps don't scale their widgets when resized, most of the time. You can see this for yourself on a desktop -- just resize some apps. Most widgets stay still and some (right/bottom aligned) widgets will move, but none of them scale (in the vast majority of cases). And if the widgets are not scaling then the input areas should not scale.

Atomicity I think is unimportant. We still have at least a frame or two lag between the client and server when resizing a window, but not much more. That still means the client is catching up much faster than you can move your mouse to it, so those brief frames of lag during a rapid resize don't need pixel-accurate input regions.

« Back to merge proposal