On Tue 2003-07-15 at 23:18:04 +0200, [EMAIL PROTECTED] wrote:
[...]
> Anyway, read this
> 
> http://bugzilla.gnome.org/show_bug.cgi?id=106740
> 
> it contains a rather longish discussion of the problem.

Thanks.

So after Havor initially was okay with the ALT-drag idea moving the
titlebar out, he now doesn't like that the easy-slamming-windows-against-top
feature would get lost (which IMHO should be a function of ALT-SHIFT-drag -
the restricted-drag - to begin with). *sigh*

But he said he would accept a patch for oversized windows:

------- Additional Comments From Havoc Pennington 2003-06-12 01:54 -------

I'm long agreed to fix it, the question is how. 

I'm open to any patch that *only removes the constraint if the window
is larger than the screen*

If the patch allows a window that fits onscreen to get its titlebar
lost, then that is a major regression.

I think just modifying onscreen_constraint in window.c is probably
right. Probably you only want the exception in the constraint for 
moving, and not in the constraints for resizing - because 
in the constraint for resizing, if your dy would move the window
offscreen, it would also resize the window to be larger, so 
making an exception for larger windows renders the constraint 
meaningless. You don't want an exception for resizing anyhow
I don't think.

So it should be a patch to constraint_onscreen_move_func. Note 
that you will probably get patch conflicts with Rob's changes 
to handle partial-width panel struts.

----------------------------------------------------------------------

Don't know if you are interested in only addressing this part, but I
thought you might have missed the comment.

> Seeing that the bug report dates back to good old metacity 2.4 times
> and additionally taking into account the message I linked to
> earlier, I think I'll go on patching the thing.

Well, personally, I think ALT-click should let me do whatever I want
to. It's a feature for advanced users already, so let me do advanced
things. ;-)

Thank you for taking the time to look at this.

Bye,

        Benjamin.


Reply via email to