Comment 9 for bug 684019

Revision history for this message
chca (chca) wrote : Re: [Compiz] [Bug 684019] Re: 0.9.2«put» plugin moves any window only to second viewport

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.