Thomas Lübking
31278d570e
add rule/property based composite blocking
2011-04-04 01:59:52 +02:00
Martin Gräßlin
0a7e48f7aa
KWin uses kdelibs coding style.
2011-01-31 20:07:03 +01:00
Kevin Ottens
ff61f40d8d
Don't rely on the kdgstream typedef which is deprecated. Use QDebug
...
directly.
svn path=/trunk/KDE/kdebase/workspace/; revision=1190379
2010-10-27 14:16:56 +00:00
Martin Gräßlin
fa7f160cb3
Window specific setting to skip window switchers (tabbox, present windows, desktop grid).
...
FEATURE: 171192
CCBUG: 179723
svn path=/trunk/KDE/kdebase/workspace/; revision=1122404
2010-05-03 20:04:44 +00:00
Nikhil Marathe
5fc7e93d69
Tiling is here!
...
This commit merges the kwin-tiling branch. Ideally it shouldn't break anything and add a few features ;-)
It was applied as a patch. Do not attempt to merge the branch directly, it has a few issues.
This feature is currently experimental, although it hasn't crashed in quite a long time. It lacks some features and probably leaks some memory. Fixes will be on the way.
Season Of KDE 2009 project by Nikhil Marathe
svn path=/trunk/KDE/kdebase/workspace/; revision=1118677
2010-04-25 16:43:14 +00:00
Lucas Murray
d7b1e5fc53
Added window rule version of opening window tabs in the background.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1050444
2009-11-17 10:41:32 +00:00
Lucas Murray
e4ab19a936
Allow automatic grouping of unrelated windows by matching them with a
...
window rule ID.
svn path=/trunk/KDE/kdebase/workspace/; revision=1050040
2009-11-16 13:31:02 +00:00
Lucas Murray
e096c60502
Allow the autogrouping option to be enabled/disabled on a
...
per-application level by using window rules.
svn path=/trunk/KDE/kdebase/workspace/; revision=1050000
2009-11-16 11:26:37 +00:00
Lucas Murray
3dc41fb062
Fix double->int conversions to prevent incorrect rounding of window
...
opacity at KWin start and window focus change.
BUG: 209274
svn path=/trunk/KDE/kdebase/workspace/; revision=1030828
2009-10-03 09:11:05 +00:00
Thomas Lübking
46def0304e
BUG: 167138
...
make opacity rules actually functional
svn path=/trunk/KDE/kdebase/workspace/; revision=1002997
2009-07-27 13:30:08 +00:00
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
Luboš Luňák
82072f9ec3
Don't remember fullscreened or maximized geometry.
...
CCMAIL: 84604-done@bugs.kde.org
svn path=/trunk/kdebase/kwin/; revision=336031
2004-08-04 14:57:06 +00:00
Luboš Luňák
00bdcc2e0d
#84605 - make the Alt+F3/Advanced/Special window settings option find
...
automatically a match entry and create a new one if none is found.
CCMAIL: 84605-done@bugs.kde.org
svn path=/trunk/kdebase/kwin/; revision=333894
2004-07-29 17:08:25 +00:00
Luboš Luňák
044fec7186
Remove some debug output.
...
svn path=/trunk/kdebase/kwin/; revision=333441
2004-07-28 06:59:16 +00:00
Luboš Luňák
3b51402792
Don't try to remember settings for a window that's not yet fully setup.
...
svn path=/trunk/kdebase/kwin/; revision=331189
2004-07-20 14:35:33 +00:00
Luboš Luňák
810465c09c
Make unset min/max size default to 1,1 and 32767,32767.
...
svn path=/trunk/kdebase/kwin/; revision=324252
2004-06-28 13:47:33 +00:00
Luboš Luňák
e0ebeb3c26
Make it possible to do a substring match, and possibly others in the future.
...
svn path=/trunk/kdebase/kwin/; revision=323530
2004-06-25 11:28:17 +00:00
Luboš Luňák
29415f170e
Fix applying initial position.
...
svn path=/trunk/kdebase/kwin/; revision=323152
2004-06-23 17:34:36 +00:00
Luboš Luňák
36b64e3897
GUI for rules (=window specific settings). Have fun figuring out how it
...
works, because I haven't written any kind of docs for it yet, and
the most important button doesn't work yet either (yes, that one that
has it written on it). I just hope the GUI doesn't suck too much, because
I'm really bad at such things.
svn path=/trunk/kdebase/kwin/; revision=322524
2004-06-21 16:25:24 +00:00
Luboš Luňák
c6a91d80ba
KWin rules - obey/disobey given position.
...
svn path=/trunk/kdebase/kwin/; revision=322443
2004-06-21 12:38:40 +00:00
Frerich Raabe
9f6d0202f0
- gcc 2.95.4 chokes if you static_cast something to an enum :-(
...
svn path=/trunk/kdebase/kwin/; revision=321803
2004-06-18 22:06:04 +00:00
Luboš Luňák
094befa1de
Make it possible to have several rules matching one window.
...
svn path=/trunk/kdebase/kwin/; revision=321637
2004-06-18 08:57:42 +00:00
Luboš Luňák
be739ddfb6
When size/position rule is set to remembering, there's no need to have a default value.
...
svn path=/trunk/kdebase/kwin/; revision=319666
2004-06-11 15:12:43 +00:00
Luboš Luňák
6e44fc30b8
Autosave for window rules.
...
svn path=/trunk/kdebase/kwin/; revision=319665
2004-06-11 15:12:29 +00:00
Luboš Luňák
7e35926c37
Make no focus stealing prevention really do nothing, and change
...
the rule for it to specify new level instead of adjustment.
svn path=/trunk/kdebase/kwin/; revision=319664
2004-06-11 15:12:07 +00:00
Luboš Luňák
0f972d789f
Instead of snatching the window temporarily from kwin simply tell kwin
...
what to do with it. I've never liked this hack much, and this should
also take care of #49375 , and should make sure kstart options will
have higher priority than settings configured in kwin.
svn path=/trunk/kdebase/kwin/; revision=319662
2004-06-11 15:10:09 +00:00
Luboš Luňák
e27084eb80
Reverse order of resource name and resource class in WM_CLASS in order
...
to match what xprop says.
svn path=/trunk/kdebase/kwin/; revision=319366
2004-06-10 12:34:20 +00:00
Luboš Luňák
6e34bc5e8a
KWin rules for making windows noncloseable, and for changing moveresize
...
mode.
svn path=/trunk/kdebase/kwin/; revision=318994
2004-06-09 08:33:53 +00:00
Luboš Luňák
2d336eb6ac
KWin rule for accepting/not accepting input focus.
...
svn path=/trunk/kdebase/kwin/; revision=318992
2004-06-09 08:30:06 +00:00
Luboš Luňák
76f21da02b
KWin rule for adjusting focus stealing prevention level.
...
svn path=/trunk/kdebase/kwin/; revision=318991
2004-06-09 08:29:35 +00:00
Luboš Luňák
03bdeb94b0
KWin rules setting maximizevert, maximizehoriz, minimize, shade, skiptaskbar,
...
skippager, fullscreen, noborder.
svn path=/trunk/kdebase/kwin/; revision=317377
2004-06-03 14:09:45 +00:00
Luboš Luňák
0131463258
Trying to reduce the chance of mistyping something.
...
svn path=/trunk/kdebase/kwin/; revision=316417
2004-05-31 14:31:52 +00:00
Luboš Luňák
7eadd6463f
KWin rules - position and size.
...
Forcing position doesn't work yet, and forcing size needs more testing.
svn path=/trunk/kdebase/kwin/; revision=316414
2004-05-31 14:25:25 +00:00
Luboš Luňák
a114e9acc3
KWin rules - override minsize/maxsize.
...
svn path=/trunk/kdebase/kwin/; revision=316413
2004-05-31 14:15:33 +00:00
Luboš Luňák
2f7d3203aa
KWin rules - override placement.
...
svn path=/trunk/kdebase/kwin/; revision=316411
2004-05-31 14:14:10 +00:00
Luboš Luňák
a0384cdd8a
KWin rules - matching on window type.
...
svn path=/trunk/kdebase/kwin/; revision=316407
2004-05-31 14:04:49 +00:00
Luboš Luňák
ab8ff46877
Forcing of a specific window type.
...
svn path=/trunk/kdebase/kwin/; revision=315469
2004-05-28 15:04:01 +00:00
Luboš Luňák
c2fa4013a2
WM_CLASS can be matched whole (class+name) or only class
...
Added client machine to matched properties.
svn path=/trunk/kdebase/kwin/; revision=315449
2004-05-28 13:54:20 +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