Commit graph

117 commits

Author SHA1 Message Date
Dirk Mueller
8e31c22156 grrrrr...
svn path=/trunk/kdebase/kwin/; revision=376625
2005-01-08 22:25:07 +00:00
Dirk Mueller
1f509ffe24 fix export's
svn path=/trunk/kdebase/kwin/; revision=375962
2005-01-06 22:37:53 +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
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
6dc8a25ebe Cleaned up a bit.
svn path=/trunk/kdebase/kwin/; revision=357339
2004-10-24 14:49:26 +00:00
André Wöbbeking
23b2927e0c make it compile
CCMAIL: mikelima@cirulla.net

svn path=/trunk/kdebase/kwin/; revision=349559
2004-09-26 20:47:47 +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
Luboš Luňák
4e52fbebdc With transparent moving/resizing, make sure the outline is not larger
than the window (#88567).

svn path=/trunk/kdebase/kwin/; revision=348501
2004-09-22 15:09:42 +00:00
Nicolas Goutte
7aba5a0721 Unify the translation of KWin's clients
(The user visible strings inkdebase/kwin/clients are extracted to
kwin_client.pot)
CCMAIL:kde-i18n-doc@kde.org

svn path=/trunk/kdebase/kwin/; revision=347824
2004-09-20 11:20:12 +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
Nicolas Goutte
92949ab569 I18N: untranslatable strings
Add a central user message extraction for all KWin client.
(The config programs have already their own .pot files)
CCMAIL:kde-i18n-doc@kde.org

(Note: there is currently not much of a choice to add a new .pot file,
as KWin has already many of them and we are in message freeze.
But at least this new .pot file can be shared between all clients, which
share most of the user visible strings.)

svn path=/trunk/kdebase/kwin/; revision=332022
2004-07-23 13:09:13 +00:00
Nicolas Goutte
790b9e0de6 Disable message extraction before that Scripty can extract them for the
first time and until this problem can be clearer.

Reason: from my first test, there are mostly the same strings ("Maximize",
"Minimize"...) and therefore such mini-pot files full of duplicates
should not be created. (That the config files are even extra files is bad too.)

svn path=/trunk/kdebase/kwin/; revision=331821
2004-07-22 18:02:59 +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
Luboš Luňák
12f4763033 Oops. KWin decoration plugins had no messages although they contain
few i18n strings.

svn path=/trunk/kdebase/kwin/; revision=331733
2004-07-22 11:48:03 +00:00
Luciano Montanaro
2be6b89379 Added updateGeometry() for the titlebar when initialixing the decoration.
Seems to fix the initial titlebar size calculation.

svn path=/trunk/kdebase/kwin/; revision=325507
2004-07-03 10:35:13 +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
3233fb1ed4 GUI
Fixed the resize handle tooltip (wrong corner);
use the ";" on the other similar tooltip and removed the redundant "instead".

svn path=/trunk/kdebase/kwin/; revision=323019
2004-06-23 10:03:01 +00:00
Stephan Binner
3fb1686c98 CVS_SILENT fixuifiles and i18n style guide fixes
svn path=/trunk/kdebase/kcontrol/; revision=322764
2004-06-22 10:07:48 +00:00
Andrew Coles
3932c8051b CVS_SILENT
Corrected typo.

svn path=/trunk/kdebase/kwin/; revision=322484
2004-06-21 14:26:49 +00:00
Luciano Montanaro
50e4644385 GUI
Removed a redundant "decoration".
Maybe the tooltips should be rewritten altogether.

svn path=/trunk/kdebase/kwin/; revision=322401
2004-06-21 09:44:27 +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
6dde923eff Cleanup whitespace
svn path=/trunk/kdebase/kwin/; revision=317073
2004-06-02 13:46:54 +00:00
Luciano Montanaro
e034d686fd Use the new showWindowMenu() variant.
svn path=/trunk/kdebase/kwin/; revision=317018
2004-06-02 09:53:24 +00:00
Luciano Montanaro
8b9735cfd1 Fix cursor shape over titlebar buttons.
svn path=/trunk/kdebase/kwin/; revision=316901
2004-06-01 23:32:28 +00:00
Script Kiddy
b461777ef1 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=314992
2004-05-27 06:44:41 +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
3665879171 Reindentation urge.
svn path=/trunk/kdebase/kwin/; revision=311876
2004-05-16 18:27:26 +00:00
Luciano Montanaro
5eef563549 Made the "Shade" tooltip dynamic. Now it says "Unshade" when the window is
shaded. Maybe "Roll up" and "Roll down" are better? I'm not sure, since English
is not my mothertongue.
CCMAIL: kwin@kde.org

svn path=/trunk/kdebase/kwin/; revision=311798
2004-05-16 13:21:51 +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
Luciano Montanaro
b20cf8bf18 Fix for bug #78739
cc:kwin@kde.org

svn path=/trunk/kdebase/kwin/; revision=308583
2004-05-04 13:59:48 +00:00
Luciano Montanaro
4b28eb82db Fixed double-click on the window border behaviour.
It incorrectly triggered the titlebar double-click action.

svn path=/trunk/kdebase/kwin/; revision=293942
2004-03-06 15:21:14 +00:00
Luciano Montanaro
c452b659d4 Removed Id line, as per KDE CVS policy.
svn path=/trunk/kdebase/kwin/; revision=289953
2004-02-21 11:49:01 +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
Luboš Luňák
d6721e0b7a No warnings.
svn path=/trunk/kdebase/kwin/; revision=268334
2003-11-20 09:05:00 +00:00
Luciano Montanaro
9582208fca Fixed rendering glitch in the "normalize" icon.
svn path=/trunk/kdebase/kwin/; revision=265667
2003-11-09 00:41:10 +00:00
Luciano Montanaro
6714a92f92 The border size seemed wrong in latest CVS
svn path=/trunk/kdebase/kwin/; revision=263981
2003-11-02 16:35:59 +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
b884178c99 KDecoration::unobscuredRegion(), for B2 titlebar unhiding.
svn path=/trunk/kdebase/kwin/; revision=262494
2003-10-27 16:28:53 +00:00
Luciano Montanaro
e510e8dd73 Forgot to make the variable static
svn path=/trunk/kdebase/kwin/; revision=261057
2003-10-22 13:52:51 +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
Luciano Montanaro
c47d64a4cc I committed too hastily. This patche is the good one!
svn path=/trunk/kdebase/kwin/; revision=260080
2003-10-19 09:26:34 +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
c2eacac63f Oops I didn't notice the typo.
svn path=/trunk/kdebase/kwin/; revision=259993
2003-10-18 21:03:29 +00:00