Commit Graph

65 Commits (533d57da60d053aec99b018ef9f2e752ab1f373f)

Author SHA1 Message Date
Martin Gräßlin 533d57da60 Mark most ctors as explicit as reported by Krazy2 checker 2013-01-02 18:35:46 +01:00
Pavel Heimlich 44d7167c69 fix build, properly initialize QString
svn path=/trunk/KDE/kdebase/workspace/; revision=1187633
2010-10-19 22:43:42 +00:00
Jussi Kekkonen 7b4d5abb47 Adding option to turn on/off the automove of titlebar tab, automove doesn't work with composite anyway
svn path=/trunk/KDE/kdebase/workspace/; revision=1050951
2009-11-18 12:48:48 +00:00
Luboš Luňák fc23037d3a Add missing license headers. Some files mentioned only copyright
but not explicitly the license, there I assumed they're licensed
under the same license as the rest of KWin, which is GPLv2+ as of now.
CC-ing all people mentioned as copyright holders just in case
somebody wants some other license, e.g. the X11 license KWin used
to be licensed under until KDE3.2. Please check with other relevant
contributors and change accordingly in such case.
CCMAIL: Karol Szwed <gallium@kde.org>
CCMAIL: Luciano Montanaro <mikelima@cirulla.net>
CCMAIL: Sandro Giessl <sandro@giessl.com>
CCMAIL: Daniel M. Duley <mosfet@kde.org>
CCMAIL: Chris Lee <clee@kde.org>


svn path=/trunk/KDE/kdebase/workspace/; revision=742990
2007-11-29 15:32:50 +00:00
Luboš Luňák f55b1056a2 Make KDecorationFactory::supports() const, and also pure virtual to force
changing this signature in reimplementations, as -Woverloaded-virtual is
not in default flags :(.


svn path=/trunk/KDE/kdebase/workspace/; revision=731695
2007-11-01 16:07:38 +00:00
Arto Hytönen f3fbc3665b explicit ctors
svn path=/trunk/KDE/kdebase/workspace/; revision=707717
2007-09-02 19:11:09 +00:00
Luciano Montanaro 785b9188f4 - Added the titlebar wheel event handling from the 3.5 branch
- Fixed titlebar gradient
- Fixed Pin and Help buttons masking issues

svn path=/trunk/KDE/kdebase/workspace/; revision=679076
2007-06-22 22:54:23 +00:00
Thorsten Roeder 0666147473 some krazy fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=664331
2007-05-13 17:47:20 +00:00
Luboš Luňák 52ba1d2e69 Merging from old trunk:
r645971 | montanaro | 2007-03-24 02:51:55 +0100 (Sat, 24 Mar 2007) | 2 lines

Ported to QAbstractButton


svn path=/trunk/KDE/kdebase/workspace/; revision=659569
2007-04-30 12:26:01 +00:00
Luboš Luňák ee040a6681 Merging from old trunk:
r644597 | mueller | 2007-03-20 15:21:56 +0100 (Tue, 20 Mar 2007) | 2 lines

pedantic--


svn path=/trunk/KDE/kdebase/workspace/; revision=659566
2007-04-30 12:23:20 +00:00
Luboš Luňák 3d50459834 No QVariant for KConfig.
svn path=/trunk/KDE/kdebase/workspace/; revision=659537
2007-04-30 11:50:48 +00:00
Luboš Luňák f52b8e48cd branches/work/kwin_composite becomes new trunk kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
2007-04-29 17:35:43 +00:00
Luboš Luňák 2b7e1f4993 Remove kwin, kwin_composite will become new trunk kwin, missing merges
from trunk will be merged in.


svn path=/trunk/KDE/kdebase/workspace/; revision=659200
2007-04-29 17:34:49 +00:00
Luciano Montanaro 9da3b593ad Ported to QAbstractButton
svn path=/trunk/KDE/kdebase/workspace/; revision=645971
2007-03-24 01:51:55 +00:00
Dirk Mueller 85677f205f pedantic--
svn path=/trunk/KDE/kdebase/workspace/; revision=644597
2007-03-20 14:21:56 +00:00
Laurent Montel 5725624c8b #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/workspace/; revision=540496
2006-05-13 16:33:18 +00:00
Laurent Montel 7f7ce52d78 #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/workspace/; revision=539617
2006-05-11 08:04:23 +00:00
Stephan Kulow 072a101a10 removed quite some deprecated functions around pixmaps
(crossing fingers I didn't overlook some use of ::resize that
need the old pixmap data copied)

svn path=/trunk/KDE/kdebase/workspace/; revision=534212
2006-04-26 16:05:58 +00:00
Sandro Giessl fdb1b61473 Make kwin decorations API free of Qt3 support members
svn path=/trunk/KDE/kdebase/workspace/; revision=515804
2006-03-04 22:27:27 +00:00
Laurent Montel c31ca87244 deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=512355
2006-02-22 10:47:36 +00:00
Stephan Kulow b464518b3c svn merge svn+ssh://coolo@svn.kde.org/home/kde/trunk/KDE/kdebase@438057
svn+ssh://coolo@svn.kde.org/home/kde/branches/work/kde4/kdebase
          .

I couldn't resolve one kicker conflict that results from different
development directions, so I rely on Aaron to sort it out - the file
is commited with conflicts

svn path=/trunk/KDE/kdebase/kwin/; revision=439627
2005-07-28 14:59:42 +00:00
Luciano Montanaro 7f5bb05567 Fix the preview rendering bug, some cleanup.
svn path=/trunk/kdebase/kwin/; revision=400989
2005-03-27 14:01:20 +00:00
Sandro Giessl e0bd1cf554 now all clients kdebase announce their supported buttons.
CCBUG: 83499

svn path=/trunk/kdebase/kwin/; revision=360736
2004-11-05 15:33:09 +00:00
Luciano Montanaro 4ae63db942 Worked around the isResizable() problem: check if the window is resizable
only when initializing the decoration for a given window.
CCMAIL: kwin@kde.org

svn path=/trunk/kdebase/kwin/; revision=357517
2004-10-25 10:17:59 +00:00
Luciano Montanaro 136f98c24e Fixed glitch on first uresizable window opening.
svn path=/trunk/kdebase/kwin/; revision=349364
2004-09-26 10:29:23 +00:00
Luciano Montanaro 06fa4c69bd Fixed maximized border handling.
svn path=/trunk/kdebase/kwin/; revision=333557
2004-07-28 16:44:42 +00:00
Luciano Montanaro e94ef322f8 Resize should work on button press, not on click.
svn path=/trunk/kdebase/kwin/; revision=332574
2004-07-25 13:49:19 +00:00
Luciano Montanaro 0311c26276 Simplify client by using the new maximize() method.
svn path=/trunk/kdebase/kwin/; revision=331795
2004-07-22 16:30:07 +00:00
Luciano Montanaro 22f4d1dced Added an option to disable the grab handle (The checkmark actually asks if the
handle has to be drawn, and it's on by default).
Added support for a new titlebar button "R" for Resize.
I have a patch pending for the kwin kcm to add that too.

svn path=/trunk/kdebase/kwin/; revision=322119
2004-06-20 10:03:04 +00:00
Luciano Montanaro 49b2179ed4 Implemented 'hover' effect for titlebar buttons.
svn path=/trunk/kdebase/kwin/; revision=313969
2004-05-23 22:59:13 +00:00
Luciano Montanaro 51894257c9 Added support for a custom action associated with the menu button.
svn path=/trunk/kdebase/kwin/; revision=313377
2004-05-22 00:31:07 +00:00
Luciano Montanaro ef20b9749d Updated my mail address
svn path=/trunk/kdebase/kwin/; revision=313177
2004-05-21 10:37:36 +00:00
Luciano Montanaro 3330d7c0f6 Added support for the new shade button. I'd implement the foreground/background
buttons too, but I can't figure yet what kind of graphics could be used to
represent the action.
Removed some old commented out code too.

svn path=/trunk/kdebase/kwin/; revision=311718
2004-05-15 23:15:01 +00:00
Luboš Luňák 569224d117 Replace the temporary MousePosition enum naming with something that
doesn't look so silly and doesn't conflict with Qt.

svn path=/trunk/kdebase/kwin/; revision=273144
2003-12-15 15:10:17 +00:00
Sandro Giessl 69f858427e Make titlebar buttons only react on left-click, if they have one function
only.

CCMAIL: 58220-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=263874
2003-11-02 11:03:41 +00:00
Luciano Montanaro eaeb27fd13 Enabled titlebar dragging by shift-clicking it.
Still missing is the automatic titlebar unhiding.

svn path=/trunk/kdebase/kwin/; revision=260075
2003-10-19 09:16:11 +00:00
Luciano Montanaro 40b7e4a8ad Implemented Titlebar resizing based on the font height.
svn path=/trunk/kdebase/kwin/; revision=259214
2003-10-15 16:50:29 +00:00
Luciano Montanaro e07db73f38 Removed superfluous Q_OBJECT
svn path=/trunk/kdebase/kwin/; revision=256725
2003-10-06 13:02:49 +00:00
Luciano Montanaro 9ccad80cc4 Added support for variable border sizes.
Currently only BorderTiny, BorderNormal, BorderLarge and BorderVeryLarge are
supported.  I'll add the other sizes after making the titlebar height
adjustable too.

svn path=/trunk/kdebase/kwin/; revision=256260
2003-10-04 18:53:44 +00:00
Luciano Montanaro 5e32acc176 CCMAIL: l.lunak@kde.org
Make middle and right click on window buttons work again.
The solution looks a bit like a workaround for some kwin problem, though.
Why do I have to always fake a LeftButton press?

svn path=/trunk/kdebase/kwin/; revision=255894
2003-10-03 12:03:16 +00:00
Luciano Montanaro adf7e8bad8 Override default drawbounds().
Now when "Display contents of moving/resizing" windows is disabled, a polygon
approximating the window shape is shown instead of the normal rectangle.

svn path=/trunk/kdebase/kwin/; revision=252937
2003-09-21 20:43:44 +00:00
Luciano Montanaro bfd4eccd49 CCMAIL: kwin@kde.org
Ported b2 to the new api.  Well, some stuff does not yet work, but I'll work on
that later, and I'll need some assistance for the Automatic titlebar movement.

There is also a bug when shading the window, but on the bright side,
the client more or less works.

svn path=/trunk/kdebase/kwin/; revision=252655
2003-09-20 17:44:49 +00:00
Dirk Mueller 6bbbe69c0e unbreak compilation (gcc 3.4+)
svn path=/trunk/kdebase/kcontrol/; revision=239225
2003-07-26 10:41:28 +00:00
Luboš Luňák 32217c89bf No resize handle for non-resizable windows.
CCMAIL: 57765-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=227030
2003-05-21 09:12:44 +00:00
Karol Szwed 36aebe0323 Namespace cleanup to prevent crashes due to symbol clashes with RTLD_GLOBAL
svn path=/trunk/kdebase/kwin/; revision=174118
2002-08-27 18:08:20 +00:00
Karol Szwed a33f4313ab - Removing patch by Diego Iastrubini that attempted to fix the bidi issues in
clients by adding an unnecessary 'enable-bidi' checkbox which was never agreed
  upon on the kwin mailing list.

  The use of --reverse is sufficient without needing this checkbox.
  Please discuss largish patches like these first, especially during a feature
  freeze!

  (Everyone also seems to forget the kwin-styles in kdeartwork)

- Make clients look the same with --reverse instead of the broken state they
  were in previously. If the button ordering is not to your liking in reverse
  mode, just change the button positions. (Or send patches for those clients
  that have not got these features yet).

- Clean up popupMenu handling somewhat.

- Remove a global static object in keramik.

svn path=/trunk/kdebase/kwin/; revision=174079
2002-08-27 15:12:14 +00:00
Karol Szwed 37ca2626bd - Removes all ugly flicker
- Adds a config option allowing frames to be drawn using the titlebar
  colors just like in Quartz (feature request)

svn path=/trunk/kdebase/kwin/; revision=113673
2001-09-08 10:12:23 +00:00
Karol Szwed bebd8a5f08 - Fixing the inactive minimize button color not following the inactive button
colors.
- Adding custom button position code
- Small code cleanups

svn path=/trunk/kdebase/kwin/; revision=111330
2001-08-22 10:11:06 +00:00
Simon Hausmann 5ee6942907 - die Bool, die. once and forever :)
svn path=/trunk/kdebase/kwin/; revision=110969
2001-08-18 23:44:37 +00:00
Ralf Nolden 278c511d4f this is the actual bugfix from Gallium for the window decorations. This is
his part of the patch, works fine but there's just the re-check needed to
be added so when the effect for tooltips changes, the deco's tooltips take
this as well. There are no new strings except the Un-Sticky tooltip, all
others are translated. thd@kde.org agreed on the strings.

svn path=/trunk/kdebase/kwin/; revision=104585
2001-07-01 10:10:17 +00:00