debian/0000775000000000000000000000000012145222057007170 5ustar debian/compat0000664000000000000000000000000211374264336010377 0ustar 7 debian/rules0000775000000000000000000000005011377004726010252 0ustar #!/usr/bin/make -f %: dh --with kde $@ debian/patches/0000775000000000000000000000000012145221220010606 5ustar debian/patches/kubuntu_fix_double_click.patch0000664000000000000000000000414612145220473016707 0ustar From f7c1677c1ff533ddba6663f65aea52839f398afe Mon Sep 17 00:00:00 2001 From: Eike Hein Date: Thu, 16 May 2013 19:28:58 +0200 Subject: [PATCH] Fix option to close on double-clicking the menu button. --- client/deKoratorclient.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/deKoratorclient.cc b/client/deKoratorclient.cc index 93190e9..9f18ba1 100644 --- a/client/deKoratorclient.cc +++ b/client/deKoratorclient.cc @@ -1210,7 +1210,7 @@ void DeKoratorButton::animate() // --------------- // Constructor DeKoratorClient::DeKoratorClient( KDecorationBridge * b, KDecorationFactory * f ) - : KDecoration( b, f ), mainLayout_( NULL ), titleLayout_( NULL ), midLayout_( NULL ) , leftTitleBarSpacer_( NULL ), titleBarSpacer_( NULL ), rightTitleBarSpacer_( NULL ), leftSpacer_( NULL ), rightSpacer_( NULL ), bottomSpacer_( NULL ), captionBufferDirty_( true ) + : KDecoration( b, f ), mainLayout_( NULL ), titleLayout_( NULL ), midLayout_( NULL ) , leftTitleBarSpacer_( NULL ), titleBarSpacer_( NULL ), rightTitleBarSpacer_( NULL ), leftSpacer_( NULL ), rightSpacer_( NULL ), bottomSpacer_( NULL ), captionBufferDirty_( true ), closing_( false ) { //captionBufferDirty_ = true; //maskDirty_ = true; @@ -2178,10 +2178,10 @@ void DeKoratorClient::menuButtonPressed() static DeKoratorClient* lastClient = NULL; if ( t == NULL ) t = new QTime; - bool dbl = ( lastClient == this && t->elapsed() <= QApplication::doubleClickInterval() ); + bool dbl = ( t->isValid() && DBLCLKCLOSE && lastClient == this && t->elapsed() <= QApplication::doubleClickInterval() ); lastClient = this; t->start(); - if ( !dbl || !DBLCLKCLOSE ) + if ( !dbl && !DBLCLKCLOSE ) { QPoint p( button[ ButtonMenu ] ->rect().bottomLeft().x(), button[ ButtonMenu ] ->rect().bottomLeft().y() ); @@ -2191,7 +2191,7 @@ void DeKoratorClient::menuButtonPressed() return ; // decoration was destroyed button[ ButtonMenu ] ->setDown( false ); } - else + else if ( dbl ) closing_ = true; } -- 1.8.1.6 debian/patches/series0000664000000000000000000000003712145221220012023 0ustar kubuntu_fix_double_click.patch debian/docs0000664000000000000000000000004411374276433010053 0ustar README README.original AUTHORS TODO debian/changelog0000664000000000000000000000743212145222057011050 0ustar kwin-style-dekorator (0.5.1-1ubuntu3) saucy; urgency=low * Add kubuntu_fix_double_click.patch to close on double-clicking the menu button -- Rohan Garg Thu, 16 May 2013 19:19:34 +0100 kwin-style-dekorator (0.5.1-1ubuntu2) quantal; urgency=low * No-change rebuild against libkdecorations4abi1. -- Felix Geyer Sun, 10 Jun 2012 00:40:50 +0200 kwin-style-dekorator (0.5.1-1ubuntu1) maverick; urgency=low * Use kde debhelper addon provided by pkg-kde-tools. -- Felix Geyer Tue, 25 May 2010 19:33:21 +0200 kwin-style-dekorator (0.5.1-1) unstable; urgency=low * New 0.5.1 upstream release * Use source format 3.0 (quilt). * debian/control: fix double-word typo * Package with tiny dh instead of cdbs: adapt B-D accordingly. * Set DMUA. * Bump Standards to 3.8.4 - no changes needed. -- Didier Raboud Tue, 18 May 2010 13:45:24 +0200 kwin-style-dekorator (0.4.0.2-2ubuntu1) karmic; urgency=low * Merge from Debian unstable, remaining changes: - Use kde.mk from pkg-kde-tools rather than cmake.mk - Don't define DCMAKE_INSTALL_PREFIX, kde4.mk does that for us - Don't include .svn directory -- Jonathan Thomas Wed, 24 Jun 2009 09:20:51 -0400 kwin-style-dekorator (0.4.0.2-2) unstable; urgency=low * Bump Standards to 3.8.2. No changes needed. * debian/copyright - Make it a little clearer to calm some lintian information tags. - Add myself to Debian packaging copyright holders. - Point to specific version of the GPL. * debian/control - Make the description clearer (LP: #102897). -- Didier Raboud Sat, 11 Apr 2009 11:07:19 +0200 kwin-style-dekorator (0.4.0.2-1ubuntu1) karmic; urgency=low * Merge from Debian unstable, remaining changes: - Use kde4.mk rather than cmake.mk - Don't define DCMAKE_INSTALL_PREFIX, kde4.mk does that for us - Don't include .svn directory * Fix grammar in the package description (LP: #102897) * Remove build-depend on quilt, we aren't using it -- Jonathan Thomas Tue, 28 Apr 2009 14:51:33 -0400 kwin-style-dekorator (0.4.0.2-1) unstable; urgency=low * New upstream release, ported to KDE 4 * Update to Standards 3.8.0 and debhelper 7. * debian/control - Add Homepage and Vcs-* fields. - Update the Build-Depends to KDE 4. - Fix "[kwin-style-dekorator] "KDE" lowercase is short description" (Closes: #504216) - Place the package under collaborative maintainship pkg-kde-extras. * debian/rules - Change the DEB_INSTALL_EXAMPLES_kwin-style-dekorator line to get rid of the .svn directory. * debian/copyright - Update to add copyright holders. -- Didier Raboud Tue, 17 Feb 2009 16:17:18 +0100 kwin-style-dekorator (0.4.0.2-0ubuntu1) jaunty; urgency=low * New upstream release -- Steve Stalcup Mon, 09 Feb 2009 21:21:34 -0500 kwin-style-dekorator (0.4.0.1-0ubuntu1) jaunty; urgency=low * New upstream release * Archive rebuild -- Steve Stalcup Sat, 27 Dec 2008 11:10:04 -0500 kwin-style-dekorator (0.4-0ubuntu1) intrepid; urgency=low * New upstream release * debian/control - Updated maintainer to Kubuntu Developers - Add cmake, quilt, cdbs, kdebase-workspace-dev, libqt4-dev, and libqimageblitz-dev to build deps - Add Homepage field - Bumped standards version to 3.8.0 - Updated Short and Long description * debian/rules - updated rules to use cdbs kde4.mk * removed debian/docs -- Steve Stalcup Sat, 20 Dec 2008 22:16:31 -0500 kwin-style-dekorator (0.3-1) unstable; urgency=low * Initial release (Closes: #374869) -- Sune Vuorela Wed, 21 Jun 2006 20:04:02 +0200 debian/copyright0000664000000000000000000000273211374264336011140 0ustar This package was debianized by Sune Vuorela on Wed, 21 Jun 2006 20:04:02 +0200. It was downloaded from http://www.kde-look.org/content/show.php/deKorator?content=87921 Copyright 2000, Antonio Larrosa Copyright 2003-2005, Sandro Giessl Copyright 2003-2004, David Johnson Copyright 2005-2006, moty rahamim Copyright 2008, Christoph Feck License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. The Debian packaging is Copyright (C) 2006, Sune Vuorela Copyright (C) 2008, Didier Raboud and is licensed under the GPL, see above. debian/examples0000664000000000000000000000001411374274421010731 0ustar themesStuff debian/control0000664000000000000000000000236711377005177010613 0ustar Source: kwin-style-dekorator Section: kde Priority: optional Maintainer: Kubuntu Developers XSBC-Original-Maintainer: Debian KDE Extras Team Uploaders: Didier Raboud DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50), pkg-kde-tools (>= 0.5.0), cmake, libqimageblitz-dev, kdebase-workspace-dev Standards-Version: 3.8.4 Homepage: http://www.kde-look.org/content/show.php/deKorator?content=87921 Vcs-Svn: svn://svn.debian.org/pkg-kde/kde-extras/kwin-style-dekorator/trunk/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-kde/kde-extras/kwin-style-dekorator/?op=log Package: kwin-style-dekorator Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Windows decoration engine for KDE 4 using user-supplied PNG files With deKorator, easily create your own window decoration for KDE 4! deKorator uses your own made images for buttons, borders and so on. Go ahead and be creative! An example called uglyTheme is provided to show its possibilities. . Themes can be created by the user with the help of a drawing program or can be downloaded from http://www.kde-look.org/index.php?xcontentmode=21 . This is a windows decoration engine, not a style. debian/source/0000775000000000000000000000000011374276455010506 5ustar debian/source/format0000664000000000000000000000001411377004463011703 0ustar 3.0 (quilt)