Laurent Montel
f327b7f032
Deprecated--
...
svn path=/trunk/KDE/kdebase/workspace/; revision=512331
2006-02-22 09:52:11 +00:00
Nicolas Goutte
2fddb53bf8
Convert the "messages" targets of kdebase into Messages.sh scripts
...
svn path=/trunk/KDE/kdebase/workspace/; revision=512183
2006-02-22 01:47:34 +00:00
Allen Winter
441523a689
Replace obsolete QMAX() and QMIN() with qMax() and qMin().
...
svn path=/trunk/KDE/kdebase/workspace/; revision=510739
2006-02-17 21:54:55 +00:00
Laurent Montel
fde9470fdc
Fix QToolTip
...
svn path=/trunk/KDE/kdebase/workspace/; revision=508032
2006-02-10 15:33:40 +00:00
Laurent Montel
0fa10f318d
Deprecated--
...
svn path=/trunk/KDE/kdebase/workspace/; revision=506323
2006-02-06 14:47:18 +00:00
Tim Beaulen
43c3d871d0
Less warnings.
...
Convert read*Entry to readEntry
svn path=/trunk/KDE/kdebase/workspace/; revision=497023
2006-01-11 18:48:53 +00:00
Laurent Montel
b0a95318bc
readBoolEntry->readEntry
...
svn path=/trunk/KDE/kdebase/workspace/; revision=493850
2006-01-03 14:01:15 +00:00
Urs Wolfer
05ca19960c
fix compile with new snapshot
...
svn path=/trunk/KDE/kdebase/workspace/; revision=493669
2006-01-02 21:32:34 +00:00
Gregory S. Hayes
fae6e5d5cd
KConfig fixes for kwin
...
svn path=/trunk/KDE/kdebase/workspace/; revision=493662
2006-01-02 21:14:58 +00:00
Laurent Montel
a3be46dc25
Qt3support--
...
svn path=/trunk/KDE/kdebase/workspace/; revision=479663
2005-11-11 10:57:40 +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
f6df1151f9
s/saver/group as asked by David
...
svn path=/trunk/KDE/kdebase/workspace/; revision=476072
2005-10-31 13:06:25 +00:00
Laurent Montel
71b041d1ec
Compile/link
...
svn path=/trunk/KDE/kdebase/workspace/; revision=476066
2005-10-31 12:52:11 +00:00
Stephan Kulow
6c821aba01
some more compiling
...
svn path=/trunk/KDE/kdebase/workspace/; revision=473006
2005-10-22 11:35:06 +00:00
Sandro Giessl
a4d91bd3ab
forward port
...
Fix the decoration specific part of the bug: Shedule a repaint for every
maximizeChange
svn path=/trunk/KDE/kdebase/workspace/; revision=468271
2005-10-07 14:43:56 +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
788b983bc5
Remove "KDE_IS_VERSION"
...
svn path=/trunk/KDE/kdebase/workspace/; revision=459377
2005-09-10 17:09:47 +00:00
Benjamin Meyer
9595a50003
Move kwin into workspace (got maintainer permission first)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=455859
2005-09-01 15:07:49 +00:00
Matt Broadstone
5da7024486
rid ourselves of the Q3Buttons
...
svn path=/trunk/KDE/kdebase/kwin/; revision=449967
2005-08-17 09:15:59 +00:00
Luboš Luňák
c6b24fdb13
Make it simpler to also edit special window setting affecting
...
the whole application.
svn path=/trunk/KDE/kdebase/kwin/; revision=449779
2005-08-16 17:46:42 +00:00
Laurent Montel
a3ea896a57
Warning--
...
KStyle::defaultStyle() doesn't exist now
svn path=/trunk/KDE/kdebase/kcontrol/; revision=449253
2005-08-14 20:58:48 +00:00
Luboš Luňák
326e9b2b41
Sync with maximizeChange(). If a decoration has only two button states
...
for the four maximize states, it should show the maximized one only
for the fully maximized state.
svn path=/trunk/KDE/kdebase/kwin/; revision=442352
2005-08-02 12:46:18 +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
Adriaan de Groot
630af25d7b
Dox fixes: remember to name parameters the same as in superclasses; escape html special chars; add more cross-refs.
...
svn path=/trunk/KDE/kdebase/kwin/; revision=427022
2005-06-19 08:19:36 +00:00
Luboš Luňák
ced5ab580a
Die, window type override, die! Since nobody really knows what this window
...
type means anyway, let's simply consider it to be a legacy way of saying "noborder"
and nothing more.
svn path=/trunk/KDE/kdebase/kwin/; revision=412372
2005-05-11 14:20:54 +00:00
Luboš Luňák
fc90a04635
Make it possible to do all kinds of strange things when mousewheeling
...
the titlebar or Alt+mousewheeling the window.
FEATURE:44318
FEATURE:66519
FEATURE:76188
svn path=/trunk/KDE/kdebase/kwin/; revision=410058
2005-05-06 15:20:49 +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
Stephan Kulow
f299853a93
there is no such file
...
svn path=/trunk/KDE/kdebase/kwin/; revision=409317
2005-05-04 16:02:19 +00:00
Aaron J. Seigo
86594e3fe8
make moving of maximized windows off by default. have had this patch for a
...
while and talked about it with Seli on March 9th but never got around to
committing it. after being asked about it _again_ i decided to do `cvs ci`
this allows well designed window decorations to allow the user to jam the
mouse into the corner of the screen and close the window.
svn path=/trunk/kdebase/kwin/; revision=405269
2005-04-13 10:59:58 +00:00
Sandro Giessl
bd9c556471
better minimumSize()
...
svn path=/trunk/kdebase/kwin/; revision=400788
2005-03-26 16:43:48 +00:00
Sandro Giessl
46482b1d0e
improved calcHiddenButtons()
...
svn path=/trunk/kdebase/kwin/; revision=400782
2005-03-26 16:26:31 +00:00
Sandro Giessl
286696268e
- add LM_ButtonMarginTop for more control on how to position buttons.
...
- don't make layoutMetric() abstract, instead implement it with sane defaults
and let decorations fall back to it in case they can't handle a LayoutMetric
case...
svn path=/trunk/kdebase/kwin/; revision=400745
2005-03-26 13:09:52 +00:00
Sandro Giessl
9ecf800caf
do not cover the menu button with the menu
...
svn path=/trunk/kdebase/kwin/; revision=400739
2005-03-26 12:40:56 +00:00
Stephan Binner
ca22bd2f4e
compile (with builddir!=srcdir)
...
svn path=/trunk/kdebase/kwin/; revision=399977
2005-03-23 12:42:34 +00:00
Sandro Giessl
8ee563139d
um... fix titleRect()
...
svn path=/trunk/kdebase/kwin/; revision=399602
2005-03-22 00:15:29 +00:00
Sandro Giessl
1b1d7df406
more const-correctness and titleRect() convenience method...
...
svn path=/trunk/kdebase/kwin/; revision=399599
2005-03-21 23:45:54 +00:00
Sandro Giessl
079ac8c9f9
take the button width into account for the calculation of minBtnHideWidth
...
svn path=/trunk/kdebase/kwin/; revision=399466
2005-03-21 16:33:59 +00:00
Sandro Giessl
f1ad43864f
- Add KCommonDecoration::isLeft() for Quartz.
...
- Hide buttons one by another when the window size shrinks below a certain
width. Implemented so that Quartz doesn't use any functionality, but it's
quite useful in other decos, too -> enabled by default.
Minimum size calculation still needs some tweaking...
svn path=/trunk/kdebase/kwin/; revision=399463
2005-03-21 15:47:39 +00:00
Sandro Giessl
c77a4202fb
inform buttons of state change
...
svn path=/trunk/kdebase/kwin/; revision=398989
2005-03-19 15:44:10 +00:00
Sandro Giessl
352beb9070
make reset abstract, add forgotten virtual...
...
svn path=/trunk/kdebase/kwin/; revision=397517
2005-03-14 11:54:49 +00:00
Sandro Giessl
af8ea39ba9
insert catalogue kwin_lib. it seems to me this is the best place for it...
...
svn path=/trunk/kdebase/kwin/; revision=397488
2005-03-14 09:50:19 +00:00
Sandro Giessl
7f9e658fb3
save reset calls in setSize() etc., inform buttons about what has changed in reset() so they can better optimize for performance
...
svn path=/trunk/kdebase/kwin/; revision=397485
2005-03-14 09:33:29 +00:00
Sandro Giessl
66ee8c3b4d
add KWIN_EXPORT, thanks willem boschman
...
svn path=/trunk/kdebase/kwin/; revision=397197
2005-03-13 11:54:17 +00:00
Sandro Giessl
cc148f1762
Add message extraction for KCommonDecoration. Could someone who knows Automake/i18n check if this is correct, please?
...
svn path=/trunk/kdebase/kwin/; revision=396775
2005-03-11 20:20:00 +00:00
Sandro Giessl
37992c3cb1
Import KCommonDecoration/KCommonDecorationButton. They ease development of decorations
...
by implementing parts of KDecoration which are error prone and common for most decorations.
Plastik will be ported to it. It should be possible to port at least Web, System++, RISC OS,
Quartz, Laptop, KStep, KDE 2, CDE easily - I will have a look at this some time. Perhaps also
Redmond, Modern System, Keramik, IceWM, Glow. I'm sure they will gain maintainability...
I'm open to discussions on the API...
CCMAIL: kwin@kde.org
svn path=/trunk/kdebase/kwin/; revision=396767
2005-03-11 20:10:46 +00:00
Luboš Luňák
65c3b55e05
Revert last revert, dynamic keybidings are back in.
...
svn path=/trunk/kdebase/kwin/; revision=377118
2005-01-10 09:56:21 +00:00
Luboš Luňák
c7d0776f01
Revert last changes because of temporary freeze.
...
svn path=/trunk/kdebase/kwin/; revision=375467
2005-01-04 14:57:42 +00:00
Luboš Luňák
d04ce83410
Custom shortcuts for windows ( #44268 ). It still needs some testing, window
...
rules for them to be assigned automatically, and some way to indicate
every window's shortcut, but it more or less works.
svn path=/trunk/kdebase/kwin/; revision=375458
2005-01-04 14:24:55 +00:00
Luboš Luňák
aa28465df5
I think I got persuaded that having a direct access to the decorated
...
window might be useful in very very very rare cases.
svn path=/trunk/kdebase/kwin/; revision=368911
2004-12-06 15:46:27 +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
42c0e144c1
fix export's
...
svn path=/trunk/kdebase/ksysguard/; revision=363751
2004-11-17 17:56:22 +00:00
Sandro Giessl
5ffb107a01
Let decorations announce which buttons are supported via KDecorationFactory::supports().
...
CCBUG: 83499
svn path=/trunk/kdebase/kwin/; revision=360718
2004-11-05 14:57:32 +00:00
Sandro Giessl
9ff5419637
doxygen update: there is also a resize button
...
svn path=/trunk/kdebase/kwin/; revision=360105
2004-11-03 14:48:41 +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
Luboš Luňák
43f9553004
Adding yet another option, this time for what happens when clicking
...
the maximize button.
svn path=/trunk/kdebase/kwin/; revision=342186
2004-08-28 15:27:22 +00:00
Luboš Luňák
a8b7cc3f24
Fix example.
...
svn path=/trunk/kdebase/kwin/; revision=333563
2004-07-28 16:55:42 +00:00
Nicolas Goutte
e8332d6f24
The clients in kdeartwork have all mini-pot files, so the previous commit
...
needs to be partially reverted.
svn path=/trunk/kdebase/kwin/; revision=332110
2004-07-23 18:34:15 +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
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
Luboš Luňák
a35e5cad28
Inform decoration about keepabove/below changes.
...
CCMAIL: 84841-done@bugs.kde.org
svn path=/trunk/kdebase/kwin/; revision=331722
2004-07-22 11:19:08 +00:00
Luboš Luňák
f5668e9dff
Explain in docs how to do maximize + convenience function.
...
svn path=/trunk/kdebase/kwin/; revision=331721
2004-07-22 11:17:16 +00:00
Luboš Luňák
de1ddb988a
Add some docs.
...
svn path=/trunk/kdebase/kwin/; revision=331720
2004-07-22 11:16:12 +00:00
Luciano Montanaro
7240bff8f1
Added a new variant of showWindowMenu() that takes an originating rect instead
...
of a point. This method should be preferred to bring up the actions menu from
the menu button, since it makes it a bit harder to select a menu item
involuntaryily in some corner case.
svn path=/trunk/kdebase/kwin/; revision=317016
2004-06-02 09:47:36 +00:00
Luboš Luňák
8e09a9bc22
I guess I could finally find some time to work on things for 3.3.
...
Initial work on kwin rules, i.e. #36377 , per window specific settings.
So far only desktop/above/below work, no GUI, and settings from the old
'Save window settings' are ignored for now.
svn path=/trunk/kdebase/kwin/; revision=315446
2004-05-28 13:51:11 +00:00
Andrew Coles
75db450e8b
Finished correcting typos in kdebase, phew!
...
Andrew
svn path=/trunk/kdebase/ksysguard/; revision=312639
2004-05-19 14:32:18 +00:00
Sandro Giessl
8d0eda13db
Add support for three additional titlebar buttons ( #60369 ):
...
Shade, Keep Above Others, Keep Below Others.
CCMAIL: kwin@kde.org
Slowly but surely, button indexes are going out. :) In case anyone has
objections with the following ones for the API, just tell. Now.
F (Above others ~ foreground)
B (Below others ~ background)
L (Shade ~ less/lock??)
svn path=/trunk/kdebase/kwin/; revision=311518
2004-05-14 22:23:29 +00:00
Luboš Luňák
dd81cc4c6e
Use the actual border sizes instead of hardcoded 4 for mousePosition(),
...
so that this is more flexible and decorations don't have to reimplement
it completely.
svn path=/trunk/kdebase/kwin/; revision=296910
2004-03-18 16:56:11 +00:00
Luboš Luňák
d445cb905e
Avoid warning.
...
svn path=/trunk/kdebase/kwin/; revision=279594
2004-01-14 12:01:09 +00:00
Luboš Luňák
ffc2d039c5
Fix docs.
...
svn path=/trunk/kdebase/kwin/; revision=277236
2004-01-06 12:37:46 +00:00
Benjamin Meyer
2635bda927
Added ifdef around the x11 includes when building --without-x
...
svn path=/trunk/kdebase/kwin/; revision=273871
2003-12-19 14:01:43 +00:00
Luboš Luňák
2197c646eb
Reserve one virtual function in the interface that I plan to use after 3.2.
...
svn path=/trunk/kdebase/kwin/; revision=273149
2003-12-15 15:18:10 +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
c26c55787f
Remove some obsolete comments.
...
svn path=/trunk/kdebase/kwin/; revision=273143
2003-12-15 14:44:17 +00:00
Luboš Luňák
0ba12a0837
Perform whole new window managing with X server grab, in order to prevent
...
"smart" apps from doing stupid things before they get MapNotify.
This avoids the recent Java+OracleInstaller strange problem too.
The patch may look huge, but it's only adding two KWin wrappers
for X(Un)GrabServer() and uncommenting the calls in Client::manage().
svn path=/trunk/kdebase/kwin/; revision=271152
2003-12-04 13:54:10 +00:00
Luboš Luňák
4ee178b277
Fix #69005 - make it possible to differentiate between a window really
...
being shaded and being set to be shaded (which may differ with hover unshade).
svn path=/trunk/kdebase/kwin/; revision=269526
2003-11-25 15:26:50 +00:00
Luboš Luňák
87f8a85083
Added KDecorationFactory::checkRequirements(), which allows the decoration
...
plugin to check what the core supports, i.e. the opposite of supports().
Not used yet, but apparently will be needed e.g. for the new tranparency.
svn path=/trunk/kdebase/kwin/; revision=269291
2003-11-24 14:22:04 +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
Daniel Molkentin
fffdc0d01a
Required for the exploit-new-kwin-colors patch
...
svn path=/trunk/kdebase/kwin/; revision=261201
2003-10-23 05:26:53 +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
Luboš Luňák
fa2f71549f
Patch from Frerich to use KGlobalSetting instead of hardcoding helvetica.
...
Looks like he's too shy to commit it himself ;).
svn path=/trunk/kdebase/kwin/; revision=258819
2003-10-14 12:49:24 +00:00
Luboš Luňák
81e475c523
Make it possible to find out window type also in createDecoration().
...
svn path=/trunk/kdebase/kwin/; revision=254816
2003-09-29 11:21:46 +00:00
Luboš Luňák
cefae8f1e4
Allows the decorations to specify which border sizes they support.
...
Also added GUI for the border size, not perfect, but it's there.
svn path=/trunk/kdebase/kwin/; revision=253572
2003-09-24 12:41:56 +00:00
Gunnar Schmidt
2e416ecfd5
Added two extra huge border sizes (BorderVeryHuge and BorderOversized) that are needed for accessibility reasons.
...
Together with these two sizes it is possible to provide both average sized borders (e.g., 4, 8 or 12 pixels) and wide borders (e.g., 18, 27, 40 pixels) without gaps in between.
svn path=/trunk/kdebase/kwin/; revision=253347
2003-09-23 14:31:11 +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
Stephan Kulow
0391b7bfaf
need this to compile the clients
...
svn path=/trunk/kdebase/kwin/; revision=252298
2003-09-19 05:25:18 +00:00
Luboš Luňák
87fa54326f
As kdelibs/NAMING says, using lib<appname>.la as name for a library is bad.
...
Library name changed to libkdecorations.la .
svn path=/trunk/kdebase/kwin/; revision=251859
2003-09-17 14:23:53 +00:00
Luboš Luňák
586b2c8fd2
Fix --enable-final.
...
svn path=/trunk/kdebase/kwin/; revision=251775
2003-09-17 08:38:14 +00:00
Luboš Luňák
613d583174
Merging decoration library from kwin_iii back to HEAD.
...
svn path=/trunk/kdebase/kwin/; revision=251611
2003-09-16 19:29:21 +00:00