Commit Graph

260 Commits (9930044581f5bf5924b559f7fb6974fffffd0c54)

Author SHA1 Message Date
Laurent Montel 01f2a3a9f2 Necessary to change KDE4_AUTOMOC macro to support
enable-final argument

(there was not a dependancy between <name>_final.cpp file and
moc generated files => moc files were never created)

Not necessary to rebuild all kdelibs just cp kdelibs/cmake/modules/KDE4Macros.cmake <path_kde4>/share/apps/cmake/modules

I ported and tested all kde module (without enable-final argument, it compiles fines (test and program))
Don't try to use enable-final argument for the moment it doesn't compile (but dependancy works)

Regards

svn path=/trunk/KDE/kdebase/workspace/; revision=595039
2006-10-13 07:55:37 +00:00
Laurent Montel 4f5267e8f8 Clean up
Use cmake macro
Remove not necessary files

svn path=/trunk/KDE/kdebase/workspace/; revision=578784
2006-08-30 08:33:11 +00:00
Allen Winter 6e204b3cf7 use library variables, where possible.
svn path=/trunk/KDE/kdebase/workspace/; revision=565833
2006-07-24 16:02:07 +00:00
Dirk Mueller e12b8f755a merge bleeding edge. bleeding edge is now again dead
svn path=/trunk/KDE/kdebase/workspace/; revision=558082

The following changes were in SVN, but were removed from git:

M	wallpapers/CMakeLists.txt
2006-07-04 17:09:53 +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
Alexander Neundorf a9fc0d54c7 kde4_header and kde4_footer() are gone now
svn path=/trunk/KDE/kdebase/workspace/; revision=540215

The following changes were in SVN, but were removed from git:

M	wallpapers/CMakeLists.txt
2006-05-12 18:12:37 +00:00
Alexander Neundorf e4e2266d9c -add FONTCONFIG_INCLUDE_DIR where required
-cleanup the toplevel CMakeLists.txt a bit
-remove include_directories( CMAKE_CURRENT_SOURCE_DIR CMAKE_CURRENT_BINARY_DIR)
in the subdirs, since this is done now automatically by cmake (the CMAKE_INCLUDE_CURRENT_DIR option
-include_directories(KDE4_INCLUDES) in the toplevel CMakeLists.txt, so it
doesn't have to be done in every subdir

Alex


svn path=/trunk/KDE/kdebase/workspace/; revision=539914

The following changes were in SVN, but were removed from git:

M	wallpapers/CMakeLists.txt
2006-05-12 00:08:30 +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
Laurent Montel 9c5a5fd6ea KPixmap was removed
svn path=/trunk/KDE/kdebase/workspace/; revision=538507
2006-05-08 08:14:01 +00:00
Stephan Kulow dee1917849 revert broken commit
svn path=/trunk/KDE/kdebase/workspace/; revision=536543
2006-05-02 12:40:25 +00:00
Bernhard Rosenkraenzer 1fd35c1cf9 Compile fixes (KPixmap)
svn path=/trunk/KDE/kdebase/workspace/; revision=536502
2006-05-02 10:35:34 +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
Frank Osterfeld 86d79b7414 replace LIB_INSTALL_DIR/kde4 with PLUGIN_INSTALL_DIR
svn path=/trunk/KDE/kdebase/workspace/; revision=531059
2006-04-18 14:21:54 +00:00
Tobias Koenig 848bc14335 deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=529106
2006-04-12 15:13:31 +00:00
Thorsten Roeder e3362f8e64 deprecated--
affected:
QRegExp::setWildcard()
QRegExp::setCaseSensitive()
iterator QMap::remove()
QComboBox::currentItem()
QWidget::caption()

svn path=/trunk/KDE/kdebase/workspace/; revision=528770
2006-04-11 18:59:35 +00:00
Luboš Luňák e1b40efb22 & -> &&
svn path=/trunk/KDE/kdebase/workspace/; revision=527756
2006-04-09 09:47:09 +00:00
Alexander Neundorf d3fe666661 -use KDE4_INCLUDES instead of KDE4_INCLUDE_DIR and QT_INCLUDES
Alex

svn path=/trunk/KDE/kdebase/workspace/; revision=522728

The following changes were in SVN, but were removed from git:

M	wallpapers/CMakeLists.txt
2006-03-26 14:52:52 +00:00
Laurent Montel f96f1e4493 Fix cmake variable
svn path=/trunk/KDE/kdebase/workspace/; revision=522126
2006-03-24 14:59:45 +00:00
David Faure 090f6dcbfa Use set(CMAKE_INCLUDE_CURRENT_DIR ON) in the toplevel CMakeLists.txt, and we don't need to include
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} in each and every file anymore [only when subdirs might depend on that].

Also ran a script which makes sure that ${KDE4_INCLUDE_DIR} and ${QT_INCLUDES} are added -last-,
so that installed headers are not preferred over (possibly more uptodate) local headers.

svn path=/trunk/KDE/kdebase/workspace/; revision=521887

The following changes were in SVN, but were removed from git:

M	wallpapers/CMakeLists.txt
2006-03-23 19:24:10 +00:00
Laurent Montel 2d72d205be Fix typo
svn path=/trunk/KDE/kdebase/workspace/; revision=521451
2006-03-22 16:06:38 +00:00
Hamish Rodda 023fa86718 Port to new kdelibs snapshot. Most major changes are in konqueror due to
its reasonably heavy use of custom actions.

My kdelibs was a day old when i compiled, so if there is non-action
related porting still to do... it's probably still not done... will
check

svn path=/trunk/KDE/kdebase/workspace/; revision=521386
2006-03-22 13:32:49 +00:00
Laurent Montel bb4118404d Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=516305
2006-03-06 16:25:27 +00:00
Laurent Montel e138e585dc deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=516301
2006-03-06 15:51:12 +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 65d7d827a0 Compile++
svn path=/trunk/KDE/kdebase/workspace/; revision=514732
2006-03-01 09:00:52 +00:00
Laurent Montel 03725a7d66 Add module to compile kdebase with kdelibs-cmake.
BE CARREFULL: Don't try to compile it for the moment (in progress)
Don't use kdelibs trunk for compile it (there is not again test to disable
compile when we compile with kdelibs trunk)
For the moment there was a lot of missing test etc.
I commit it just to allow to lose my changes if there is a pb on my HD.
I will sync cmake from kdelibs trunk to kdelibs-snapshot.
I hope to fix compile today or tomorrow.
CCMAIL: neundorf@kde.org

For the futur we must sync kdelibs/cmake/* to kdelibs-snapshot 
to compile all the time with kdelibs-snapshot

svn path=/trunk/KDE/kdebase/workspace/; revision=514380

The following changes were in SVN, but were removed from git:

A	wallpapers/CMakeLists.txt
2006-02-28 08:01:15 +00:00
Laurent Montel c31ca87244 deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=512355
2006-02-22 10:47:36 +00:00
Laurent Montel f327b7f032 Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=512331
2006-02-22 09:52:11 +00:00
Laurent Montel fde9470fdc Fix QToolTip
svn path=/trunk/KDE/kdebase/workspace/; revision=508032
2006-02-10 15:33:40 +00:00
Script Kiddy 30cb1f9f43 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=495177

The following changes were in SVN, but were removed from git:

M	wallpapers/All-Good-People-1.jpg.desktop
M	wallpapers/Chicken-Songs-2.jpg.desktop
M	wallpapers/KDE34.png.desktop
M	wallpapers/No-Ones-Laughing-3.jpg.desktop
M	wallpapers/Time-For-Lunch-2.jpg.desktop
M	wallpapers/Totally-New-Product-1.jpg.desktop
M	wallpapers/Won-Ton-Soup-3.jpg.desktop
M	wallpapers/alta-badia.jpg.desktop
M	wallpapers/andes-venezolanos.svgz.desktop
M	wallpapers/aurora.svgz.desktop
M	wallpapers/blue-bend.jpg.desktop
M	wallpapers/celtic.svgz.desktop
M	wallpapers/default_blue.jpg.desktop
M	wallpapers/default_gears.jpg.desktop
M	wallpapers/floating-leaves.jpg.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
M	wallpapers/kde_box.png.desktop
M	wallpapers/konqui.svgz.desktop
M	wallpapers/lineart.svgz.desktop
M	wallpapers/moon.svgz.desktop
M	wallpapers/seaofconero.jpg.desktop
M	wallpapers/soft-green.jpg.desktop
M	wallpapers/stelvio.jpg.desktop
M	wallpapers/sunshine-after-the-rain.jpg.desktop
M	wallpapers/triplegears.jpg.desktop
2006-01-07 12:16:49 +00:00
Laurent Montel b0a95318bc readBoolEntry->readEntry
svn path=/trunk/KDE/kdebase/workspace/; revision=493850
2006-01-03 14:01:15 +00:00
Laurent Montel 8f20889b49 Q3ValueList--
svn path=/trunk/KDE/kdebase/workspace/; revision=489618
2005-12-19 10:26:44 +00:00
Laurent Montel f5c680a6e0 Q3support--
svn path=/trunk/KDE/kdebase/workspace/; revision=480575
2005-11-15 15:59:11 +00:00
Laurent Montel 1c3e66488b Adapt to new kde4 api
Remove some qt3support

svn path=/trunk/KDE/kdebase/workspace/; revision=478902
2005-11-08 10:20:07 +00:00
Laurent Montel 10e453f73e warning--
svn path=/trunk/KDE/kdebase/workspace/; revision=478354
2005-11-06 15:46:57 +00:00
Laurent Montel 0370410f0f qt3support--
svn path=/trunk/KDE/kdebase/workspace/; revision=474743
2005-10-27 09:07:06 +00:00
Stephan Kulow 7a441e1b7a the easy cases
svn path=/trunk/KDE/kdebase/workspace/; revision=466852
2005-10-03 15:13:54 +00:00
Laurent Montel a166c8e3d4 QToolTip::add -> setToolTip
svn path=/trunk/KDE/kdebase/workspace/; revision=462520
2005-09-21 09:14:36 +00:00
Laurent Montel fef1c0b279 Byebye qvhbox
svn path=/trunk/KDE/kdebase/workspace/; revision=461727
2005-09-18 14:52:14 +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 96e70b86f8 Simplified drawB2Rect()
svn path=/trunk/KDE/kdebase/kwin/; revision=417752
2005-05-24 13:54:37 +00:00
Luboš Luňák cc7ab636af Make the titlebar double-click operation react only the LMB.
BUG: 96079


svn path=/trunk/KDE/kdebase/kwin/; revision=409714
2005-05-05 12:43:19 +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
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
Luciano Montanaro 9ebccb978e Scale up maximize and close button if there is enough room.
Beginning to add code to try to not reset decoraton if configuration changes
are small enough.

svn path=/trunk/kdebase/kwin/; revision=259978
2003-10-18 20:37:49 +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 4f0bc08749 Cleaned up spaces, reordered classes
svn path=/trunk/kdebase/kwin/; revision=257969
2003-10-11 12:24:51 +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 4dca82efb1 A little eyecandy:
support titlebar color gradients

svn path=/trunk/kdebase/kwin/; revision=256082
2003-10-04 02:02:07 +00:00
Luciano Montanaro 78f1c3ab0e CCMAIL: rcliff@panix.com
Fixed maximization. Thanks to Robert Clifford for noticing the bug.

svn path=/trunk/kdebase/kwin/; revision=256063
2003-10-04 00:15:34 +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 2e42c39a74 CVS_SILENT
Fixed typo in a comment, reworded one of my notes

svn path=/trunk/kdebase/kwin/; revision=255712
2003-10-02 16:52:20 +00:00
Luciano Montanaro 017a08e98b CCMAIL: kwin@kde.org
The fix wasn't complete. A doShape() is also needed.

svn path=/trunk/kdebase/kwin/; revision=255366
2003-10-01 13:01:50 +00:00
Luciano Montanaro 4f8f89cf46 CCMAIL: kwin@kde.org
Fixed the misrendered shaded border.
For me, the problem was fixed by redoing the layout in the shapeChange()
function. Maybe the other styles have to modified in a similar way.

I'd like to reduce the width of the window border to the titlebar width only,
instead of the full window border. In the BeeToo, I obtain a similar effect by
painting the titlebar only, but the trick is revealed by the window snap zones,
and the transparent border. Is there a way to do this cleanly with current kwin?

svn path=/trunk/kdebase/kwin/; revision=255364
2003-10-01 12:55:55 +00:00
Luciano Montanaro ba06d6afbf Fixed bug #46966 using the first of the suggested methods.
The second part of the bug report does not seem to apply to any other
decoration in CVS.

Removed redundant copies of MouseEvents, since I were at it.

svn path=/trunk/kdebase/kwin/; revision=255165
2003-09-30 18:13:18 +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 ef476127f8 Found the correct method to send mousepresses to kwin. I still miss the
mouserelease, though.

svn path=/trunk/kdebase/kwin/; revision=252930
2003-09-21 20:14:26 +00:00
Kevin Puetz 3b502ae558 b2 needs to check in the right include path also
svn path=/trunk/kdebase/kwin/; revision=252759
2003-09-21 03:42:11 +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
Aaron J. Seigo ad483c520d dude up the config pages of these puppies. now that they appear on the
first tab of the kcm it became wildly obvious how much TLC they needed.

svn path=/trunk/kdebase/kwin/; revision=234652
2003-06-30 08:16:28 +00:00
Luboš Luňák 5596abd78e Don't link against kdeinit modules.
svn path=/trunk/kdebase/kwin/; revision=233861
2003-06-26 08:52:13 +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
Luboš Luňák dbc0817e28 Actually, the patch from #57690 is right too, there was no support for spacers.
svn path=/trunk/kdebase/kwin/; revision=222733
2003-04-29 11:45:08 +00:00
Luboš Luňák c1fc368392 Fix #57690 - don't let the dragable area of titlebar vanish completely.
svn path=/trunk/kdebase/kwin/; revision=222730
2003-04-29 11:40:39 +00:00
Hans Petter Bieker 3bc5e13c20 i18n() returns QString.
svn path=/trunk/kdebase/kwin/; revision=197076
2003-01-02 23:41:27 +00:00
Script Kiddy b32ed8c275 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=181890
2002-10-03 11:24:08 +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 d3210cbb64 remove warning
svn path=/trunk/kdebase/kwin/; revision=174081
2002-08-27 15:18:17 +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
Stephan Kulow c7f9abd849 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=143855
2002-03-19 16:37:47 +00:00
Lukáš Tinkl e0f15bb438 a double mistake :)
+       KGlobal::locale()->insertCatalogue("kwin_b2_config");
-       KGlobal::locale()->insertCatalogue("kwinquartz_config");

svn path=/trunk/kdebase/kwin/; revision=140942
2002-03-04 14:13:28 +00:00
Stephan Kulow e3e09f533d use kwin_ instead of libkwin
svn path=/trunk/kdebase/kwin/; revision=137446
2002-02-19 16:56:16 +00:00
Waldo Bastian 6ebc89dac6 CVS_SILENT
Added Encoding header for compliance with Desktop Entry Standard

svn path=/trunk/kdebase/kcontrol/; revision=134824
2002-01-31 18:51:15 +00:00
Michael Matz 25d1c5368d Default arguments in definitions are invalid C++.
svn path=/trunk/kdebase/kwin/; revision=120526
2001-11-03 01:21:40 +00:00
Karol Szwed 354bd37bdb - Hopefully all remaining titlebar flicker is gone for good
svn path=/trunk/kdebase/kwin/; revision=113889
2001-09-10 11:38:08 +00:00
Karol Szwed 23eeb11064 - Fix unpainted areas when shaded
svn path=/trunk/kdebase/kwin/; revision=113873
2001-09-10 05:57:43 +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
David Faure c782732ce9 There it goes again. This time for good.
This code is opensource, we have every right to distribute it as part of KDE.

svn path=/trunk/kdebase/kwin/; revision=103029
2001-06-19 14:32:08 +00:00
Daniel M. Duley 11e5ed61c2 See my earlier mail.
svn path=/trunk/kdebase/kwin/; revision=102970
2001-06-19 06:02:53 +00:00
Daniel M. Duley 4232fe0ae2 Nope
svn path=/trunk/kdebase/kwin/; revision=102955
2001-06-19 02:40:24 +00:00
Michael Matz 10af9bc3a2 Putting the pixmaps into an array, which was TODO from the beginning ;-)
svn path=/trunk/kdebase/kwin/; revision=102784
2001-06-18 02:15:36 +00:00
Michael Matz 7c239c69ba No sir. This one stays.
svn path=/trunk/kdebase/kwin/; revision=102782
2001-06-18 01:59:02 +00:00
Daniel M. Duley 29af54215b Removing the styles I wrote except the default one, and will be maintaining
them outside of CVS.

svn path=/trunk/kdebase/kwin/; revision=102431
2001-06-16 00:48:49 +00:00
Waldo Bastian 57f4808d0f Make resource management in clients easier with these three functions:
init() called after client got loaded
deinit() called when client is about to get unloaded
reset() called once before Options::resetClients() is emitted

svn path=/trunk/kdebase/kwin/; revision=93372
2001-04-22 05:39:17 +00:00
Waldo Bastian 2f90225543 Put stuff in KWinInternal namespace.
Export client.h, workspace.h and options.h so that people can write plugins.

svn path=/trunk/kdebase/kwin/; revision=83707
2001-02-20 01:20:38 +00:00
Waldo Bastian 6ab086647b Implement iconChange()
svn path=/trunk/kdebase/kwin/; revision=83016
2001-02-15 20:53:22 +00:00
Script Kiddy d226e0de98 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=74367
2000-12-11 10:56:22 +00:00
David Faure 44a694a004 CVS_SILENT lib_ -> kde_module_
svn path=/trunk/kdebase/kwin/; revision=73405
2000-12-04 18:47:47 +00:00
Waldo Bastian 8f36a1cb5c WABA: Fixed "maximize" with MMB and RMB.
Based on a patch Boudewijn Rempt <boud2@rempt.xs4all.nl>

svn path=/trunk/kdebase/kwin/; revision=69005
2000-10-26 21:56:18 +00:00
Antonio Larrosa Jimenez 759848b7d3 Removed the minimum width limit imposed by the b2 style by
making the buttons hide when neccesary.
Approved by Mosfet by lack of objection :)

svn path=/trunk/kdebase/kwin/; revision=66109
2000-10-02 01:14:03 +00:00
Matthias Ettrich 6dacbd0112 tool window handling for the default style
visible dialogs for stays-on-top fullscreen windows (helps with Konqueror's dialogs)
Fixed lock with Alt-Tab box plus accelerator

svn path=/trunk/kdebase/kwin/; revision=65241
2000-09-25 15:30:51 +00:00
Script Kiddy 22f65e14f9 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=63821
2000-09-14 04:50:01 +00:00