[haiku-development] Re: [PATCH] Snap tabs to top of screen

  • From: "Stephen Deken" <stephen.deken@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 8 Oct 2008 16:06:55 -0500

On Wed, Oct 8, 2008 at 11:01 AM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
> I haven't tried it yet, but just to note that we have a coding style,
> and this patch manages to violate several things:

Oops, sorry about that.

Here's a revised version that snaps to all four edges.  I've split it
out into its own function and removed the tab-height magic number
(instead relying on the footprint of the region of the decorator).
This function could go in the decorator, I suppose, but I've kept it
in the window code for now.

It still doesn't do the 'right' thing when the tracker covers an
entire portion of the screen, and there's still no way to tell it to
stop.

-- 
Stephen Deken
stephen.deken@xxxxxxxxx

Other related posts: