summaryrefslogtreecommitdiffstats
path: root/src/newt/native/NewtCommon.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-01-31 04:54:13 +0100
committerSven Gothel <[email protected]>2023-01-31 04:54:13 +0100
commit43dc472c4797f34e4079028a5eb04bc420c11c2a (patch)
treef75641829908d5988e696b4bea05c79bd488c572 /src/newt/native/NewtCommon.c
parentcfc35549810d3a0fb5eeb866c9450417e48cd8a1 (diff)
NEWT Soft-PixelScale (p2): MonitorDevice: Add getOrientationTo(..) to determine the orientation of this monitor to the other incl. the 'move_diff'
move_diff int[2] to store the move delta for each axis from this-monitor to the other This will be utilized when a NEWT window moved across monitors to signal the move_diff, which helps to properly adjust the new position. Tested: All 4 monitor crossings right_of, left_of, above and below. TODO: Test and support a 'diagonal' move, i.e. move_diff on both axis.
Diffstat (limited to 'src/newt/native/NewtCommon.c')
0 files changed, 0 insertions, 0 deletions