Commit graph

78 commits

Author SHA1 Message Date
Laurent Montel
5535a9de5e Fix iterator
svn path=/trunk/KDE/kdebase/workspace/; revision=883047
2008-11-11 23:09:11 +00:00
Luboš Luňák
e7c88f309d Reduce the difference between noborder requested by the application
and set by the user - they're now interchangeable. Which means
that Alt+F3/Advanced/No border can put the window decoration
back on the KRunner window regardless of what Plasma or any other
app thinks.


svn path=/trunk/KDE/kdebase/workspace/; revision=788964
2008-03-23 00:12:11 +00:00
Kevin Ottens
dde6b49658 Don't use the global config for the rules config.
kdeglobals is not supposed to store such rules, and this way
we don't empty kdeglobals when KWin quits.

Lubos: Ossi confirmed me it was the right move in the way we
use KConfig here, so I committed directly. In case of problem
just tell me.

CCMAIL: l.lunak@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=769617
2008-02-01 17:50:18 +00:00
Luboš Luňák
01bf6cbb4c License cleanup - add headers where missing, be explicit about GPL
being v2+ (right now it says just GPL, which according to GPL itself
means any GPL). Decoration clients will come later.
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=742302
2007-11-27 19:40:25 +00:00
Luboš Luňák
aba180b466 kdebug no longer relies on NDEBUG
svn path=/trunk/KDE/kdebase/workspace/; revision=741888
2007-11-26 17:17:45 +00:00
Andreas Pakulat
39e322fc83 Merge the KConfig branch. This are the 3 main modules (+kdeadmin), which are
needed now because friday is the last BC day. The rest of the modules will
follow as fast as my laptop allows.

svn path=/trunk/KDE/kdebase/workspace/; revision=721704
2007-10-05 22:21:25 +00:00
Laurent Montel
994c800d79 Adapt to new KWarning/kFatal/kDebug api
svn path=/trunk/KDE/kdebase/workspace/; revision=695877
2007-08-03 06:59:24 +00:00
Luboš Luňák
6b5e03ac7d translate kwin's rules files
svn path=/trunk/KDE/kdebase/workspace/; revision=662888
2007-05-09 13:49:29 +00:00
Luboš Luňák
932444eeef Merging from old trunk:
r645397 | lunakl | 2007-03-22 15:27:04 +0100 (Thu, 22 Mar 2007) | 4 lines

Suspend updating of window-specific settings during shutdown,
so that KWin doesn't have to be killed as the first one during shutdown.


svn path=/trunk/KDE/kdebase/workspace/; revision=659567
2007-04-30 12:24:10 +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
Luboš Luňák
2c928221a4 namespace KWinInternal -> KWin - shorter typing of names in gdb, yay
svn path=/trunk/KDE/kdebase/workspace/; revision=650773
2007-04-05 12:12:10 +00:00
Luboš Luňák
e3b865cd5f namespace KWinInternal -> KWin - shorter typing of names in gdb, yay
svn path=/branches/work/kwin_composite/; revision=650770
2007-04-05 12:07:35 +00:00
Luboš Luňák
082c4e95e3 Suspend updating of window-specific settings during shutdown,
so that KWin doesn't have to be killed as the first one during shutdown.


svn path=/trunk/KDE/kdebase/workspace/; revision=645397
2007-03-22 14:27:04 +00:00
Stephan Kulow
ab1fe691d8 merged kconfiggroup_port branch
svn path=/trunk/KDE/kdebase/workspace/; revision=635490
2007-02-20 07:00:30 +00:00
Dirk Mueller
6c224134db porting simplifications regarding KConfig::readEntry
svn path=/branches/work/kwin_composite/; revision=632199
2007-02-10 09:12:35 +00:00
Jaison Lee
e4d66a5a4d KTempFile->KTemporaryFile
svn path=/trunk/KDE/kdebase/workspace/; revision=591082
2006-10-01 17:24:38 +00:00
Luboš Luňák
f4f07d4fd3 Remove kompmgr-related code except for the generic parts like
the slider in Alt+F3.


svn path=/branches/work/kwin_composite/; revision=558258
2006-07-04 23:30:05 +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
Dirk Mueller
84aa519239 stop crashing all the time
svn path=/trunk/KDE/kdebase/workspace/; revision=534215
2006-04-26 16:13:08 +00:00
Thorsten Roeder
7277c13bf8 unbreak compilation with gcc-3.3. As stated on k-c-d gcc-3.3 should be supported for now.
svn path=/trunk/KDE/kdebase/workspace/; revision=529391
2006-04-13 10:17:08 +00:00
Tobias Koenig
848bc14335 deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=529106
2006-04-12 15:13:31 +00:00
Thorsten Roeder
98fa3320c5 deprecated--
basically:
QRegExp::search() --> QRegExp::indexIn()
QString::find() --> QString::indexOf()
QString::findRev() --> QString::lastIndexOf()
QString::lower() --> QString::toLower()
QString::upper() --> QString::toUpper()
QString::setLength() --> QString::resize()
QByteArray::find() --> QByteArray::indexOf()
QByteArray::findRev() --> QByteArray::lastIndexof()
QTimer::start(ms,sShot) --> {QTimer::setSingleShot() ; QTimer::start()}
QList::remove() --> QList::removeAll()
iterator QList::remove() --> iterator QList::erase()
QComboBox::text() --> QComboBox::itemText()
QByteArray::upper() --> QByteArray::toUpper()
QByteArray::lower() --> QByteArray::toLower()
QString::contains() --> QString::contains()
QEvent::accept(bool) --> QEvent::setAccepted(bool)


svn path=/trunk/KDE/kdebase/workspace/; revision=528719
2006-04-11 17:12:05 +00:00
Laurent Montel
c73394f756 Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=516258
2006-03-06 13:11:58 +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
591b9dae7f deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=508045
2006-02-10 15:55:01 +00:00
Luboš Luňák
3bee4bff66 Make it possible add new default window rules that will
be added to user's rules.
Add default rules that turn off focus stealing prevention
for Mozilla family apps and OOo (since they can't handle opening
a window from second instance with FSP active).
When writing groups to kwinrulesrc delete old unused groups first.


svn path=/trunk/KDE/kdebase/workspace/; revision=506472
2006-02-06 20:44:10 +00:00
Laurent Montel
0fa10f318d Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=506323
2006-02-06 14:47:18 +00:00
Laurent Montel
42937f76a7 read*entry--
svn path=/trunk/KDE/kdebase/workspace/; revision=500998
2006-01-21 19:36:31 +00:00
Tim Beaulen
27cd47844a Fix compile error
svn path=/trunk/KDE/kdebase/workspace/; revision=497010
2006-01-11 18:18:52 +00:00
David Faure
d6fabbf89e compilation fixes with new KConfigBase::writeEntry
svn path=/trunk/KDE/kdebase/workspace/; revision=496327
2006-01-10 11:51:06 +00:00
Laurent Montel
b0a95318bc readBoolEntry->readEntry
svn path=/trunk/KDE/kdebase/workspace/; revision=493850
2006-01-03 14:01:15 +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
Luboš Luňák
67ba695f34 Avoid unnecessary and excessive kconfig syncs.
svn path=/trunk/KDE/kdebase/workspace/; revision=476560
2005-11-01 14:17:11 +00:00
Stephan Kulow
6849ffff33 ran Laurent's (fixed) script
svn path=/trunk/KDE/kdebase/workspace/; revision=472986
2005-10-22 10:44:47 +00:00
Laurent Montel
5de42c4b68 Remove qt3_support into qstring
svn path=/trunk/KDE/kdebase/workspace/; revision=463544
2005-09-24 12:26:22 +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
Luboš Luňák
3fb4801635 Ignore requested position -> geometry.
svn path=/trunk/KDE/kdebase/kwin/; revision=444049
2005-08-08 14:27:03 +00:00
Luboš Luňák
512fb17a95 Forward port of #108961.
svn path=/trunk/KDE/kdebase/kwin/; revision=442363
2005-08-02 13:25:20 +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
Luboš Luňák
30cab17748 Another final attempt at sorting out the shaded geometry problems.
This time at least the code should detect properly all attempts
to use shaded geometry when the normal one is needed.
BUG: 96602


svn path=/trunk/KDE/kdebase/kwin/; revision=425377
2005-06-14 15:35:44 +00:00
Luboš Luňák
da00272012 An attempt to get the crazy shaded windows geometry handling right.
This fixes comment #10 in 96602, I don't know if it fixes as a whole,
but I'm quite sure people will complain again if not.
BUG: 96602


svn path=/trunk/KDE/kdebase/kwin/; revision=423512
2005-06-08 18:07:27 +00:00
Luboš Luňák
20f80af287 Make it possible to use the window-specific settings dialog
to also set some things only temporarily. E.g. in order
to set skiptaskbar flag on a window, it's just
Alt+F3/Advanced/Special Window Settings/Preferences ->
Apply Now for Skip taskbar, and turn on the checkbox.


svn path=/trunk/KDE/kdebase/kwin/; revision=423112
2005-06-07 15:31:15 +00:00
Luboš Luňák
c748f46346 Make sure to write the rules settings to the config file
before launching the kcm that will edit it.


svn path=/trunk/KDE/kdebase/kwin/; revision=423079
2005-06-07 12:08:23 +00:00
Luboš Luňák
07203ba5b6 Window-specific rules for dynamic windows shortcuts, so that it's
possible to always have certain shortcuts assigned to their windows
if such windows are open. Still few TODO items left, but let's consider
it enough for #44268 to be marked as done.
FEATURE: 44268

svn path=/trunk/kdebase/kwin/; revision=379444
2005-01-17 15:53:14 +00:00
Luboš Luňák
ded2f457b8 Workaround for xterm not coping well with being maximized to a geometry
that's not exact multiple of its resize increments. Selecting obeying
strict geometry in window-specific settings makes KWin avoid this.
Maximization then doesn't work very well indeed, but one cannot please
everybody, and the bug is in xterm after all.
BUG: 94183

svn path=/trunk/kdebase/kwin/; revision=379401
2005-01-17 13:35:48 +00:00
Thomas Lübking
8ad47028f6 Added composite (translucency/shadows) support
svn path=/trunk/kdebase/kwin/; revision=378790
2005-01-15 17:07:48 +00:00
Luboš Luňák
f1145f7bd8 Apply values for 'force' rules to existing windows immediately after
they're created (#89849).

svn path=/trunk/kdebase/kwin/; revision=354752
2004-10-15 14:29:47 +00:00
Luboš Luňák
76fcdb01d0 Force discarding of temporary rules at the end of manage().
svn path=/trunk/kdebase/kwin/; revision=350801
2004-10-01 13:34:57 +00:00
Luboš Luňák
d1670b617a Better debug info.
svn path=/trunk/kdebase/kwin/; revision=349039
2004-09-24 13:30:25 +00:00