Re: [compiz] Patch to wobbly snap for outputs

2006-12-18 Thread David Reveman
On Sat, 2006-12-16 at 10:36 -0700, Mike Cook wrote: On Tue, Dec 13, 2006 at 11:00 AM, Mike Cook wrote: Whoa! There are definitely some issues to address here... Kicker actually does set the struts right on those inner edges, which really throws things off in compiz. I'll see if I can't

Re: [compiz] Patch to wobbly snap for outputs

2006-12-18 Thread Mike Cook
On Mon, Dec 18, 2006 at 9:50 AM, David Reveman wrote: -if (y1 pBox- y2 y2 pBox- y1) + /* consider strut if start/end overlaps box, size ends in box, + and edge is outside box or both edge size in same output + (in order to handle struts

Re: [compiz] Patch to wobbly snap for outputs

2006-12-18 Thread David Reveman
On Mon, 2006-12-18 at 11:03 -0700, Mike Cook wrote: On Mon, Dec 18, 2006 at 9:50 AM, David Reveman wrote: -if (y1 pBox- y2 y2 pBox- y1) + /* consider strut if start/end overlaps box, size ends in box, + and edge is outside box or both edge size in

[compiz] kde window decorator compie error

2006-12-18 Thread Mike Dransfield
There seems to be a bug in the makefile for kde-window-decorator. decorator.cpp:950:25: decorator.moc: No such file or directory The moc files do not appear to be generated, I have tried removing and regenerating configure but it does not fix it. ___

[compiz] KDE window decorator

2006-12-18 Thread David Reveman
I've added a working KDE window decorator (kwd) to head. It's pretty much written from scratch however it borrows some trivial code from aquamarine which I didn't feel re-implementing. So why did I write a new one from scratch instead of improving aquamarine? I started out by trying to improve

Re: [compiz] kde window decorator compie error

2006-12-18 Thread David Reveman
On Mon, 2006-12-18 at 19:05 +, Mike Dransfield wrote: There seems to be a bug in the makefile for kde-window-decorator. decorator.cpp:950:25: decorator.moc: No such file or directory The moc files do not appear to be generated, I have tried removing and regenerating configure but it

[compiz] kwd license header fix

2006-12-18 Thread David Reveman
I cut-n-pasted a LGPL license header into the kde window decorator files by mistake. All kwd code is GPL2. I've updated so that all source code files include correct headers. Sorry. -David ___ compiz mailing list compiz@lists.freedesktop.org

Re: [compiz] Patch to wobbly snap for outputs

2006-12-18 Thread Mike Cook
On Mon, Dec 18, 2006 at 18:18, David Reveman wrote: I have now pushed out some code to handle this properly. Here's what I think is the correct way to include each strut: (a window strut edge is valid if it's within the destination box) 1. left_strut = 0. 2. right_strut = box_max_x. 3.