Am 02.07.2011 19:57, schrieb Sam Spilsbury:
> Thanks for the patch, but I don't quite understand it. Are you saying
> that the "viewport" option is being appended to "options" every single
> time and this "options" vector is persistent among calls to
> ::toViewport ? Since that's definitely wrong and is a bug in core if
> that's happening.
Yes, that's what happens. To check that, I have added some debug code
and moved a window to viewport 2, 3, 4, 4 (see attachment). As you can
see, the option parameter indeed seems to be persistent, which is also
supported by the fact that its memory address does not change.
Am 02.07.2011 19:57, schrieb Sam Spilsbury:
> Thanks for the patch, but I don't quite understand it. Are you saying
> that the "viewport" option is being appended to "options" every single
> time and this "options" vector is persistent among calls to
> ::toViewport ? Since that's definitely wrong and is a bug in core if
> that's happening.
Yes, that's what happens. To check that, I have added some debug code
and moved a window to viewport 2, 3, 4, 4 (see attachment). As you can
see, the option parameter indeed seems to be persistent, which is also
supported by the fact that its memory address does not change.