Commit graph

47 commits

Author SHA1 Message Date
André Wöbbeking
841b7887a1 --warnings: unused variable
svn path=/trunk/kdebase/kwin/; revision=406133
2005-04-17 18:05:08 +00:00
Sandro Giessl
314e5d6f0a port KDE2 to KCommonDecoration
svn path=/trunk/kdebase/kwin/; revision=401260
2005-03-28 13:43:49 +00:00
Luboš Luňák
9a5a1c5d95 Fix shading: isShade() returns the actual state of the window, and isSetShade()
returns the state set by the user - these two may differ e.g. while hover-unshaded.
Therefore titlebar buttons should use isSetShade(), otherwise they become
a bit useless with hover-unshading.
Also fix updating the button state - the styles duplicate way too much code,
and if one of them has a bug, most of them definitely have it as well. Some
of the code should probably move to the decoration lib :-/ .

svn path=/trunk/kdebase/kwin/; revision=366147
2004-11-25 16:08:46 +00:00
Dirk Mueller
5b5ab45fbf fix export's
svn path=/trunk/kdebase/kwin/; revision=364795
2004-11-21 16:19:09 +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
1cba403dc1 Fix maximized borders.
svn path=/trunk/kdebase/kwin/; revision=333562
2004-07-28 16:55:38 +00:00
Luboš Luňák
3bc4193b8a Simplify maximization.
svn path=/trunk/kdebase/kwin/; revision=331777
2004-07-22 15:17:54 +00:00
Luboš Luňák
5f2d4c57de Add support for above, below and shade titlebar buttons. If somebody
doesn't like the buttons bitmaps, they can indeed try to do better.

svn path=/trunk/kdebase/kwin/; revision=331723
2004-07-22 11:22:44 +00:00
Stephan Binner
c0c7fe46d6 CVS_SILENT i18n style guide fixes
svn path=/trunk/kdebase/kwin/; revision=324065
2004-06-27 16:18:56 +00:00
Luciano Montanaro
ba446edb4b Use new showWindowMenu() method
svn path=/trunk/kdebase/kwin/; revision=317024
2004-06-02 10:12:26 +00:00
Luboš Luňák
be8387b70e sticky -> on all desktops
svn path=/trunk/kdebase/kwin/; revision=293605
2004-03-04 16:52:37 +00:00
Frans Englich
4b522c51cb Remove all CVS Id tags from kdebase, if I haven't missed one.
Of course, this will multifold break compile as well as a dozen of people
will now object that they actually wanted the Id tags.

svn path=/trunk/kdebase/ksysguard/; revision=290873
2004-02-24 11:30:21 +00:00
Sandro Giessl
9268d2acdb Set the current window state when initializing OnAllDesktop buttons. (#71531)
svn path=/trunk/kdebase/kwin/; revision=278218
2004-01-09 18:20:29 +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
Luboš Luňák
abdfd596b2 And one more case of flickering ... how comes nobody complained?
svn path=/trunk/kdebase/kwin/; revision=263250
2003-10-30 18:01:43 +00:00
Luboš Luňák
43c71a8c72 No delayed deleting of decorations. They'll have to check themselves
instead, using KDecorationFactory::exists(). Fixes #66205, and it wasn't
really that good idea anyway.

svn path=/trunk/kdebase/kwin/; revision=260988
2003-10-22 08:26:09 +00:00
Gunnar Schmidt
bb54822810 Added the wide-borders feature to the KDE2 decoration
svn path=/trunk/kdebase/kwin/; revision=254590
2003-09-28 14:06:52 +00:00
Luciano Montanaro
866fc75200 'static' and 'const' added to local variables and pixmap data.
svn path=/trunk/kdebase/kwin/; revision=253599
2003-09-24 14:35:18 +00:00
Luboš Luňák
9fac9d2a43 Fixes for mousePosition().
Since Qt propagates mouse events up the widget hierarchy, it's better
to filter out Qt events rather than X events for the decoration.

svn path=/trunk/kdebase/kwin/; revision=252346
2003-09-19 11:11:07 +00:00
Luboš Luňák
48af013ee1 Fix reseting.
svn path=/trunk/kdebase/kwin/; revision=251826
2003-09-17 11:44:33 +00:00
Luboš Luňák
8c0404ee31 Improve reseting of the decoration.
svn path=/trunk/kdebase/kwin/; revision=251774
2003-09-17 08:37:56 +00:00
Frerich Raabe
6c74979d72 - --warnings
svn path=/trunk/kdebase/kwin/; revision=251634
2003-09-16 19:57:44 +00:00
Luboš Luňák
aa986329ac Merging back the KDE2 default decoration from kwin_iii to HEAD.
The config/ subdir is not updated, is kept from HEAD.

svn path=/trunk/kdebase/kwin/; revision=251624
2003-09-16 19:40:44 +00:00
Luciano Montanaro
165188c4f5 Draw resize handle for resizable tool windows.
svn path=/trunk/kdebase/kwin/; revision=249995
2003-09-10 13:48:57 +00:00
Luciano Montanaro
e46772fe73 Hide resize handles for unresizable windows
svn path=/trunk/kdebase/kwin/; revision=249446
2003-09-08 15:54:55 +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
Aaron J. Seigo
ddec9444f7 lather, rinse, repeat fred's fix: close on button release not press
svn path=/trunk/kdebase/kwin/; revision=237267
2003-07-15 18:18:26 +00:00
Aaron J. Seigo
8dc1858ae3 since KDE2 does double-click-on-menu-is-close emulate this behaviour
as we do with other emulation styles. i AM closing BR#56922

svn path=/trunk/kdebase/kwin/; revision=236180
2003-07-08 21:06:03 +00:00
Luboš Luňák
3b57952b03 Take care of #46042. [...resisted to say here something about Motif >;> ]
svn path=/trunk/kdebase/kwin/; revision=174310
2002-08-28 15:17:31 +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
Diego Iastrubni
27998b71ac dded a new checkbox to kcontrol-> wm -> decorations ->general. By defaut this checkbox is on.
if it's on, kwin clients will reverse thire display when the desktop is reversed (arabic, hebrew etc).

Clinets updated to use this options, and options.h has a few more lines :)
see clients for the changes.

svn path=/trunk/kdebase/kwin/; revision=173581
2002-08-24 12:02:26 +00:00
Luboš Luňák
220206e6dd Make sure the window operations popup works for the active window.
Plugin developers should use only Workspace::showWindowMenu() instead
of calling Workspace::clientPopup() and playing with the popup.

svn path=/trunk/kdebase/kwin/; revision=173296
2002-08-22 17:16:47 +00:00
Aaron J. Seigo
147a11b20f if i can convince Matthias Ettrich that this is a good thing, i can
probably convince anyone ;-)

bye-bye non-standard menu showing, hello usability

svn path=/trunk/kdebase/kwin/; revision=168271
2002-07-22 23:02:38 +00:00
Simon Hausmann
d9107f8efc - put those global variables into an anonymous namespace
svn path=/trunk/kdebase/kwin/; revision=154962
2002-05-11 18:21:14 +00:00
Luboš Luňák
5976109bbc It was actually more a KImageEffect, so after fixing it this hack isn't needed.
svn path=/trunk/kdebase/kwin/; revision=119987
2001-10-30 18:31:52 +00:00
Luboš Luňák
7e8a0fc428 Workaround for a Qt bug.
svn path=/trunk/kdebase/kwin/; revision=119819
2001-10-29 15:29:14 +00:00
David Faure
7962136939 CVS_SILENT fixheaders
svn path=/trunk/kdebase/kwin/; revision=117488
2001-10-12 12:29:15 +00:00
Fredrik Höglund
df1676cdfe Make the default client compile with QT_NO_COMPAT defined.
svn path=/trunk/kdebase/kwin/; revision=115626
2001-09-27 04:27:42 +00:00
Karol Szwed
bbdfd0193a - Shade/Un-Shade titlebar flicker fix.
svn path=/trunk/kdebase/kwin/; revision=114652
2001-09-18 11:12:21 +00:00
Rik Hemsley
f466f726ba My patch, with a nice bugfix from gallium.
svn path=/trunk/kdebase/kwin/; revision=108119
2001-07-28 11:43:50 +00:00
John Firebaugh
8939fcff13 Don't crash when mousing over certain icons.
svn path=/trunk/kdebase/kwin/; revision=107192
2001-07-22 16:34:30 +00:00
Karol Szwed
ad4b252724 Fixing a few little cosmetic problems.
svn path=/trunk/kdebase/kwin/; revision=104911
2001-07-04 06:52:50 +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
Karol Szwed
ba45a39fa5 Make the titlebar gradient colors follow Options::TitleBlend as well.
This one is for Kand-ALF :)

svn path=/trunk/kdebase/kwin/; revision=101318
2001-06-10 13:06:05 +00:00
Karol Szwed
97b0ee49e1 Default style update:
- Modifying the default style to use the new kwin plugin interface for proper
  resource management.
- The new default style looks nearly the same, but adds several nice features
  such as titlebar height and button position customisation among others,
  and adds a config module for configuration.
- kwin plugin loader modified to reflect the new default plugin change. The
  old default will be removed shortly.
- oh, and never ever flicker :)

svn path=/trunk/kdebase/kwin/; revision=100839
2001-06-07 11:35:06 +00:00