On Wed, Dec 31, 2008 at 7:02 AM, Danny Baumann <span dir="ltr">&lt;<a href="mailto:dannybaumann@web.de">dannybaumann@web.de</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

- There&#39;s one reported regression: URL I will try to see what&#39;s<br>
happening there (and if I can reproduce it at all), but if you have any<br>
pointers, let me know.</blockquote><div><br>I&#39;ll look at this next, but I wanted to get back to you on your revision below first...<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
- What the current compiz code does (which is similar to what kwin and<br>
metacity do) is that the fullscreen rectangle is calculated as the<br>
boundary box of all the specified monitors, no matter at which point<br>
they were specified. Re-reading the spec I think this is not exactly<br>
correct. The spec clearly states that the specified monitors specify<br>
edges, not an arbitrary set. Attached is my take on fixing that and<br>
bringing compiz&#39; behaviour in accordance to the spec.<br>
For an example, imagine a scenario with 2 monitors: a 1280x800 laptop<br>
panel and a 1280x1024 external monitor. The resulting window sizes for<br>
some specified monitor sets are as follows:<br>
(monitor set: left/right/top/bottom - old code - new code)&nbsp;</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
0000 - 1280x800+0+0 &nbsp; &nbsp; - 1280x800+0+0<br>
1111 - 1280x1024+1280+0 - 1280x1024+1280+0<br>
0001 - 2560x1024+0+0 &nbsp; &nbsp;- 1280x1024+0+0<br>
0100 - 2560x1024+0+0 &nbsp; &nbsp;- 2560x800+0+0<br>
0101 - 2560x1024+0+0 &nbsp; &nbsp;- 2560x1024+0+0</blockquote><div><br>You confused me... The spec goes top/bottom/left/right... Let me redo this that way...<br><br>(monitor set: top/bottom/left/right - old code - new code) <br>monitor #0 being 1280x800<br>
monitor #1 being 1280x1024<br><br>A) 0000 - 1280x800+0+0 &nbsp; &nbsp; - 1280x800+0+0<br>
B) 1111 - 1280x1024+1280+0 - 1280x1024+1280+0<br>
C) 0100 - 2560x1024+0+0 &nbsp; &nbsp;- 1280x1024+0+0<br>
D) 0001 - 2560x1024+0+0 &nbsp; &nbsp;- 2560x800+0+0<br>
E) 0101 - 2560x1024+0+0 &nbsp; &nbsp;- 2560x1024+0+0<br><br>So, A, B, and E are not changed. <br><br>You&#39;re right that C would be a change, but I would think it would be a weird thing for an app to ask for, since it would be saying &quot;make me exist on only the first head, but make me as tall as the second head.&quot; I would hope a sane app wouldn&#39;t ask for that? If an app did ask for it, my guess would be that it was really asking for the &quot;old&quot; behavior shown above (why list 2 different monitors in your top/bottom/left/right indices if you don&#39;t want to span 2 monitors?).<br>
<br>E is different too, you&#39;re right, but I think that it&#39;s another weird request. The app (at least with your proposed change) would be saying &quot;make me span 2 heads, fullscreen, but don&#39;t cover the full screen of the second head--just take up 800 pixels of the 1024&quot;. That doesn&#39;t seem quite right to me. I&#39;m not sure how WM&#39;s deal with apps that ask to be fullscreen, but don&#39;t actually cover the full screen? That sounds kinda buggy to me...<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You can also see the difference when trying the test tool with two<br>
differently sized monitors. I think the new version makes much more<br>
sense because it allows greater flexibility (e.g. a video player doesn&#39;t<br>
want parts of its window offscreen) and it matches the spec much better.<br>
I wanted to know about your opinion, though.</blockquote><div><br>I definitely agree that your proposed change would fit the letter of the spec more, but given the 2 cases I mentioned above, I&#39;m not sure you&#39;d actually want the behaviour that your change would produce.<br>
&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; Also, I&#39;m not quite familiar with the Compiz release schedule yet...<br><div class="Ih2E3d">

&gt; does anyone know what released Compiz version will have<br>
&gt; _NET_WM_FULLSCREEN_MONITORS in it and when that will happen? Is there<br>
&gt; any chance it can make it into the next released stable version?<br>
<br>
</div>If we can solve the regression above, I see no reason not to pick this<br>
change into the 0.8 branch. I even think we _should_ pick it, because<br>
some distros are likely to stay with 0.8 (once it&#39;s released) for a<br>
while.</blockquote><div><br>Yeah, I definitely agree, and that&#39;s what I&#39;m hoping for too. Right now, we have a bunch of folks internally who just can&#39;t use Compiz with Workstation/Player and this would bring Compiz back to being a first class WM for VMware users. =:) Do you know when 0.8 is being tentatively planned for release?<br>
<br>Thanks Danny!<br></div></div><br>-- <br> -[ Jason &#39;vanRijn&#39; Kasper &nbsp; &nbsp;// &nbsp;<a href="http://movingparts.net">http://movingparts.net</a> ]-<br> -[ KDE PIM Developer &nbsp; &nbsp; &nbsp; &nbsp; // &nbsp;<a href="http://www.kde.org">http://www.kde.org</a> &nbsp;]-<br>
 -[ bash fun -&gt; :(){ :|:&amp;};: &nbsp;// &nbsp;Numbers 6:22-26 ]-<br>