From 678a95dad2ec399d4adfdd4de5fd0411f3987fd3 Mon Sep 17 00:00:00 2001 From: Rik Hemsley Date: Sat, 19 May 2001 02:05:58 +0000 Subject: [PATCH] Reverting resize-at-top by malte. Sorry, but this is how I want the style to be. I don't like styles that let you resize by the top edge. I want to be able to throw the mouse to the screen top or corners and hit the buttons or the titlebar so I can iconify, close or move the window. svn path=/trunk/kdebase/kwin/; revision=97774 --- clients/web/Web.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clients/web/Web.cpp b/clients/web/Web.cpp index db8e2793e7..09edec2fef 100644 --- a/clients/web/Web.cpp +++ b/clients/web/Web.cpp @@ -260,6 +260,9 @@ Web::mousePosition(const QPoint & p) const if (y < titleSpacer_->geometry().height()) { + // rikkus: this style is not designed to be resizable at the top edge. + +#if 0 if ((y < 4 && x < 20) || x < 4) return Client::TopLeft; else if ((y < 4 && x > width() - 20) || x > width() - 4) @@ -267,6 +270,7 @@ Web::mousePosition(const QPoint & p) const else if (y < 4) return Client::Top; else +#endif return Client::Center; } else if (y < height() - 20)