mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 08:10:03 +01:00
randr: Fix initial panning border copy
Thanks to Julien Cristau for finding this.
This commit is contained in:
parent
19a978359d
commit
be21199f55
1 changed files with 4 additions and 1 deletions
|
|
@ -1345,7 +1345,10 @@ xf86InitialPanning (ScrnInfoPtr scrn)
|
|||
&track_width, &track_height, &track_left, &track_top,
|
||||
&brdr[0], &brdr[1], &brdr[2], &brdr[3])) {
|
||||
case 12:
|
||||
memcpy (output->initialBorder, brdr, 4*sizeof(INT16));
|
||||
output->initialBorder[0] = brdr[0];
|
||||
output->initialBorder[1] = brdr[1];
|
||||
output->initialBorder[2] = brdr[2];
|
||||
output->initialBorder[3] = brdr[3];
|
||||
/* fall through */
|
||||
case 8:
|
||||
output->initialTrackingArea.x1 = track_left;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue