Make restricted interactive move handle subdivided screen areas better
If outputs are arranged as follows
+--------+
+------------+ |
| | |
| | |
| | |
+------------+ |
+------------+ |
| |
| |
+--------+
where the output on the left has a panel, the computed available area may look as follow
+--------+
+------------+ |
| | |
| | |
| | |
+------------+--------+
| |
| |
| |
+--------+
the current titlebar visibility test doesn't take into account the case where the second screen is subdivided in several smaller rects.
The second screen rect can be subdivided because that's how QRegion subtraction works.
This change attempts to fix that by making the visibility test use precomputed work areas, which are not subdivided.
Edited by Vlad Zahorodnii