Dirk Mueller
e218e7e01d
move the "To Desktop" menu to the right place again
...
instead of just appending it
svn path=/trunk/KDE/kdebase/workspace/; revision=657251
2007-04-23 16:49:41 +00:00
Luboš Luňák
3f5213101d
Actually use the old position.
...
svn path=/branches/work/kwin_composite/; revision=656780
2007-04-22 11:18:51 +00:00
Luboš Luňák
f43b53ef7d
Trigger TrackMouseEffect using Ctrl+Meta rather than mouse buttons.
...
svn path=/branches/work/kwin_composite/; revision=656455
2007-04-21 12:50:02 +00:00
Luboš Luňák
9d7f64013b
Trigger full repaint when changing virtual desktop.
...
svn path=/branches/work/kwin_composite/; revision=654639
2007-04-16 17:14:55 +00:00
Luboš Luňák
e1406c3e42
Utility function for XGrabKeyboard().
...
svn path=/branches/work/kwin_composite/; revision=654227
2007-04-15 14:39:10 +00:00
Luboš Luňák
672c95e435
Work properly even with idle paint passes (react on mouse events).
...
svn path=/branches/work/kwin_composite/; revision=653927
2007-04-14 16:10:58 +00:00
Luboš Luňák
15c8a4220e
Fix and re-enable optimized cursorPos().
...
svn path=/branches/work/kwin_composite/; revision=653895
2007-04-14 14:15:43 +00:00
Rivo Laks
02032f8587
Move most (all?) internal methods from EffectsHandler to EffectsHandlerImpl.
...
The ugly side effect of this is that there are tons of static_casts in the code now... maybe it
would be better to add effectImpl() convenience method and use that?
svn path=/branches/work/kwin_composite/; revision=652348
2007-04-10 18:47:13 +00:00
Luboš Luňák
aee0ae9760
With compositing there's no need for tricks with obscuring windows.
...
svn path=/branches/work/kwin_composite/; revision=652256
2007-04-10 14:49:30 +00:00
Laurent Montel
4fa16a5039
deprecated--
...
svn path=/trunk/KDE/kdebase/workspace/; revision=651556
2007-04-08 11:58:58 +00:00
Luboš Luňák
c38dc5e099
Change the DesktopChangeSlideEffect so that the new desktop doesn't
...
always slide in from the top but from the position where it is
according to the desktop layout.
svn path=/branches/work/kwin_composite/; revision=651083
2007-04-06 13:46:29 +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
35bbf89aed
Add support for activating features using window borders/corners.
...
Enabled it for PresentWindowsEffect for now.
svn path=/branches/work/kwin_composite/; revision=650532
2007-04-04 19:08:03 +00:00
Luboš Luňák
3617d1bf8a
Merge r649608, r649403, r649230 and r648582 from trunk (porting).
...
svn path=/branches/work/kwin_composite/; revision=649948
2007-04-03 13:24:05 +00:00
Andreas Hartmetz
ee217245fb
Ported/compile-fixed some code in khotkeys and kwin (that was not fun)
...
Small changes in other places, removed some unnecessary #include <kkeydialog.h> where they showed up.
Related to this kdelibs commit:
KKeyDialog: Renamed to KShortcutsDialog
KKeyChooser: Renamed to KShortcutsEditor
KKeyButton: Replaced by KKeySequenceWidget and KShortcutWidget. KKeySequenceWidget uses modified code from KKeyButton.
KShortcutDialog: Removed
svn path=/trunk/KDE/kdebase/workspace/; revision=648582
2007-03-31 19:04:28 +00:00
Rivo Laks
d809643245
Make it compile:
...
- KProcess -> K3Process rename
- fix KKeyServer::xEventToQt() argument
svn path=/branches/work/kwin_composite/; revision=647255
2007-03-27 19:59:04 +00:00
Oswald Buddenhagen
3ee016f50d
KProcess -> K3Process
...
KShellProcess -> K3ShellProcess
KProcIO -> K3ProcIO
KProcessController -> K3ProcessController
not deprecating, as we don't have a replacement yet.
not moving yet, as kdelibs still has heavy dependencies on it.
agreed upon with dfaure.
svn path=/trunk/KDE/kdebase/workspace/; revision=646732
2007-03-26 15:07:10 +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
Philip Falkner
db53353349
Make the tabbox update if windows are added/removed while the tabbox is active.
...
svn path=/branches/work/kwin_composite/; revision=640626
2007-03-08 16:48:48 +00:00
Laurent Montel
ee2db61df1
Fix port
...
svn path=/trunk/KDE/kdebase/workspace/; revision=637745
2007-02-27 16:30:25 +00:00
Luboš Luňák
8af21ee5b3
merge r635823 from trunk
...
svn path=/branches/work/kwin_composite/; revision=636609
2007-02-23 14:38:01 +00:00
Barış Metin
12d1b8b0fd
setGroup to KConfigGroup
...
svn path=/trunk/KDE/kdebase/workspace/; revision=635823
2007-02-21 02:59:04 +00:00
Luboš Luňák
82c96c4bc7
Implement _NET_DESKTOP_LAYOUT.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=633205
2007-02-13 14:09:23 +00:00
Luboš Luňák
4019dff500
Distinguish between damage and repaints - damage is when windows contents
...
change, repaint just triggers repaint of the area (without e.g. the texture
updating for OpenGL).
addDamage() -> addRepaint()
CCMAIL: kwin@kde.org
svn path=/branches/work/kwin_composite/; revision=632866
2007-02-12 15:22:43 +00:00
Luboš Luňák
47f5535e6a
Make the tabbox also show when compositing.
...
svn path=/branches/work/kwin_composite/; revision=632602
2007-02-11 18:36:10 +00:00
Luboš Luňák
12478151a2
Don't accidentally set _NET_ACTIVE_WINDOW to 0 when there is an active window.
...
And r612728 from 3.5 branch.
svn path=/trunk/KDE/kdebase/workspace/; revision=630817
2007-02-06 13:55:12 +00:00
Luboš Luňák
6f8de578b4
From trunk: desktopResized() is called only after the desktop is resized.
...
svn path=/branches/work/kwin_composite/; revision=629749
2007-02-03 17:09:10 +00:00
Luboš Luňák
4e20ef71e4
r629143 was supposed to go to trunk, kwin_composite is only for compositing work.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=629362
2007-02-02 14:24:00 +00:00
Luboš Luňák
63a97b7d3d
Add DesktopChangeSlideEffect, an effect that on virtual desktop
...
change slides the old desktop out and the new one in. Should not
be really technically different from the cube.
svn path=/branches/work/kwin_composite/; revision=629163
2007-02-01 17:20:48 +00:00
Dirk Mueller
b34d4ac7c4
xrandr support (hopefully this compiles, can't test here)
...
svn path=/branches/work/kwin_composite/; revision=629143
2007-02-01 15:39:44 +00:00
Philip Falkner
45aeae3273
Merge from trunk (now it should build)
...
r581402:
Not used.
r628276:
merge the kinstance-redesign branch
r628350:
This directory doesn't exist on my computer :)
svn path=/branches/work/kwin_composite/; revision=628706
2007-01-30 23:57:40 +00:00
Matthias Kretz
3003c4ecf8
merge the kinstance-redesign branch back to trunk.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=628276
2007-01-29 17:14:20 +00:00
Luboš Luňák
0ae5a772e7
Add EffectWindow as a window representation for effects,
...
to hide the change from Client/Unmanaged and eventually also
act as the only API available to effects.
svn path=/branches/work/kwin_composite/; revision=626360
2007-01-22 22:57:22 +00:00
Luboš Luňák
77f803a563
Instead of the somewhat fragile way of trying to clean up Client/Unmanaged
...
instances and keeping them around after the window is closed, create
class Deleted as a representation of a closed window.
svn path=/branches/work/kwin_composite/; revision=626356
2007-01-22 22:51:30 +00:00
Luboš Luňák
ff6f889ffc
Add support for showing effects for windows which have already been deleted.
...
Add a fade-out effect.
svn path=/branches/work/kwin_composite/; revision=623872
2007-01-15 18:03:04 +00:00
Luboš Luňák
579f174e63
Make sure to track only mapped override-redirect windows.
...
svn path=/branches/work/kwin_composite/; revision=621333
2007-01-08 16:54:32 +00:00
Luboš Luňák
de4d1bc518
Implement cursorPos() as an optimized version of QCursor::pos()
...
that tries to reduce the number of X roundtrips.
svn path=/branches/work/kwin_composite/; revision=620326
2007-01-05 17:45:54 +00:00
Laurent Montel
9350d02134
Use signal to refresh config into all kwin instance
...
svn path=/trunk/KDE/kdebase/workspace/; revision=619161
2007-01-02 21:48:19 +00:00
Luboš Luňák
19b9b0cd09
svn merge -r614882 from trunk (autogenerated kwinadaptor)
...
svn path=/branches/work/kwin_composite/; revision=614905
2006-12-19 12:53:26 +00:00
Laurent Montel
f1588814af
Add signal to reload config on all kwin instance
...
(fix all dbus call)
CCMAIL: l.lunak@kde.org
(could you merge it please)
svn path=/trunk/KDE/kdebase/workspace/; revision=614887
2006-12-19 11:13:01 +00:00
Laurent Montel
c5efec7d9c
Now kwinadaptor is autogenerated and adaptor is registred
...
now we can use dbus interface to change it.
CCMAIL: l.lunak@kde.org
(Lubos could you merge it with your branch please .Thanks)
svn path=/trunk/KDE/kdebase/workspace/; revision=614882
2006-12-19 10:43:49 +00:00
Luboš Luňák
0cbf093fdd
Check for references to no longer existing windows in transiency checks
...
only when the list of windows is in consistent state.
svn path=/trunk/KDE/kdebase/workspace/; revision=613681
2006-12-14 16:32:55 +00:00
Luboš Luňák
c271dd819a
Few more consistency checks.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=613666
2006-12-14 15:35:36 +00:00
Luboš Luňák
f4b75f439e
Don't steal focus from windows using globally active input focus.
...
svn path=/branches/work/kwin_composite/; revision=612731
2006-12-12 13:40:02 +00:00
Luboš Luňák
525f761325
Merge in r610651 from trunk (KAction->QAction changes).
...
svn path=/branches/work/kwin_composite/; revision=611022
2006-12-06 13:31:57 +00:00
Simon Hausmann
92ded6a343
Merging branches/work/kaction-cleanup-branch, done by Kevin and me.
...
This removes some usage of KAction in our public API so that one can use QActions
with KDE classes, too, and it removes some use of deprecated API in the apps.
svn path=/trunk/KDE/kdebase/workspace/; revision=610651
2006-12-04 20:44:12 +00:00
Luboš Luňák
840364cd2a
Merge r608181 from trunk (KShortcut/KAction changes).
...
svn path=/branches/work/kwin_composite/; revision=610146
2006-12-03 13:43:37 +00:00
Luboš Luňák
6a66250620
Better synchronization of refresh rate and vsyncing,
...
patch by Philip Falkner.
svn path=/branches/work/kwin_composite/; revision=610110
2006-12-03 13:29:14 +00:00
Andreas Hartmetz
8fc2b1843b
Adapt dependent code to KShortcut/KAction changes.
...
svn path=/trunk/KDE/kdebase/khotkeys/; revision=608181
2006-11-27 00:32:31 +00:00
Luboš Luňák
04072fa089
Fix the opacity submenu in Alt+F3.
...
svn path=/branches/work/kwin_composite/; revision=606428
2006-11-20 12:55:06 +00:00
Luboš Luňák
154d8a588b
Use the compositing manager _NET_WM_CM_S<n> manager selection.
...
svn path=/branches/work/kwin_composite/; revision=603322
2006-11-08 15:08:20 +00:00
Luboš Luňák
3a0e22ebe3
Ok, with a compositing manager running, VisibilityNotify no longer
...
considers windows not visible just because a window is above them,
so the code from r198017 no longer works.
(#128648 )
svn path=/trunk/KDE/kdebase/workspace/; revision=603295
2006-11-08 13:59:27 +00:00
Luboš Luňák
4110fc1c3a
Support for XComposite overlay window.
...
svn path=/branches/work/kwin_composite/; revision=603137
2006-11-07 22:44:39 +00:00
Luboš Luňák
0a829c4ece
Keep stacking order and focus chain order e.g. after doing "kwin --replace".
...
svn path=/trunk/KDE/kdebase/workspace/; revision=603033
2006-11-07 16:19:39 +00:00
Luboš Luňák
532449c852
svn merge r568236,r568494,r568780,r599652,r599655 from trunk
...
(global shortcuts fixes)
svn path=/branches/work/kwin_composite/; revision=600169
2006-10-29 19:40:24 +00:00
Luboš Luňák
d92d3a8165
Document the compositing framework and the scene backends,
...
describe the design, add links to external docs.
Restructure COMPOSITE_TODO into sections and add sort of priorities.
svn path=/branches/work/kwin_composite/; revision=600163
2006-10-29 19:23:45 +00:00
Scott Wheeler
bc4375ca2a
These I'm also sure should be globalShortcuts(). Last up are the client actions.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=599655
2006-10-28 02:01:19 +00:00
Luboš Luňák
10b31e7222
Support for animations, still some todo's pending.
...
svn path=/branches/work/kwin_composite/; revision=598831
2006-10-24 19:17:48 +00:00
Luboš Luňák
1c7e7bb2b7
Keeping scene-related data in opengl scene.
...
svn path=/branches/work/kwin_composite/; revision=590319
2006-09-29 19:05:36 +00:00
Luboš Luňák
626d2700c1
Merge compile fixes from trunk to work with current SVN.
...
svn path=/branches/work/kwin_composite/; revision=586383
2006-09-19 12:20:19 +00:00
David Faure
d65f3d93d1
KIPC is gone, dbus signals replace it.
...
The API has been cleaned up too: the signals moved from kapp to kglobalsettings
[which now provides a singleton], as well as most of the gui-settings-related code.
svn path=/trunk/KDE/kdebase/workspace/; revision=582977
2006-09-11 08:25:29 +00:00
Stephan Kulow
4472c82d68
port to new qt 4.2 snapshot
...
svn path=/trunk/KDE/kdebase/workspace/; revision=575652
2006-08-21 20:18:49 +00:00
Luboš Luňák
fa8cd7541f
It wasn't a very good idea to do even compositing-unrelated
...
work in the work/kwin_composite branch.
svn merge revs 558154,558180,558236,558243,558258,562201
svn path=/trunk/KDE/kdebase/workspace/; revision=571776
2006-08-10 17:00:14 +00:00
Luboš Luňák
e24815411a
Keep damage info separately for every window.
...
svn path=/branches/work/kwin_composite/; revision=561966
2006-07-13 18:17:49 +00:00
Luboš Luňák
64bf5bc51e
Don't track InputOnly windows.
...
svn path=/branches/work/kwin_composite/; revision=560591
2006-07-10 18:20:25 +00:00
Luboš Luňák
bab62bf88f
Use kwinrc:[Translucency]:UseTranslucency for controlling compositing.
...
svn path=/branches/work/kwin_composite/; revision=558712
2006-07-05 21:46:01 +00:00
Luboš Luňák
f400646a6d
xrender compositing work - now it uses damage areas
...
to reduce amount of painting
svn path=/branches/work/kwin_composite/; revision=558580
2006-07-05 16:04:11 +00:00
Luboš Luňák
afcc9b6897
Prepare for scene rendering with different engines.
...
svn path=/branches/work/kwin_composite/; revision=558442
2006-07-05 12:30:03 +00:00
Luboš Luňák
dfe8968d8e
Handle expose events for root window.
...
svn path=/branches/work/kwin_composite/; revision=558264
2006-07-04 23:46:02 +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
Luboš Luňák
571ba9cf9e
Basic compositing support. It doesn't actually do anything
...
besides drawing what should be drawn anyway, and there are
still some things missing like stacking order for override
redirect windows, but KWin is basically a compositing manager now.
svn path=/branches/work/kwin_composite/; revision=558168
2006-07-04 20:02:07 +00:00
Luboš Luňák
e0dcc3ba46
Some convenience functions for QX11Info stuff.
...
svn path=/branches/work/kwin_composite/; revision=558154
2006-07-04 19:36:19 +00:00
Dirk Mueller
ecd63e0d90
merge changes from bleeding edge branch
...
svn path=/trunk/KDE/kdebase/workspace/; revision=557225
2006-07-02 18:31:00 +00:00
Dirk Mueller
8c2cd937d8
fix strict aliasing issue
...
svn path=/trunk/KDE/kdebase/workspace/; revision=553714
2006-06-21 20:23:12 +00:00
Luboš Luňák
04c9d42dfd
DBUS changes - make it compile. The DBUS HOWTO is pretty lacking
...
in some areas and I wonder how many things will be broken by
people not quite knowing what they're doing :-/.
svn path=/trunk/KDE/kdebase/workspace/; revision=549400
2006-06-08 13:43:23 +00:00
Laurent Montel
f7de3f2974
Start to port it to new dbus interface
...
svn path=/trunk/KDE/kdebase/workspace/; revision=549046
2006-06-07 09:05:46 +00:00
Luboš Luňák
750d4f1d03
#67406 - config option kwinrc:Windows:ShowDesktopIsMinimizeAll.
...
But I hope this actually won't be needed with KDE4.
svn path=/trunk/KDE/kdebase/workspace/; revision=546548
2006-05-30 11:47:16 +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
Laurent Montel
7f7ce52d78
#include <q...h> -> #include <Q...>
...
svn path=/trunk/KDE/kdebase/workspace/; revision=539617
2006-05-11 08:04:23 +00:00
Riccardo Iaconelli
014ff479d9
Fixed some typos
...
svn path=/trunk/KDE/kdebase/workspace/; revision=538338
2006-05-07 15:22:08 +00:00
Luboš Luňák
daf4e723ea
Save also stacking order when doing session save.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=531882
2006-04-20 14:57:10 +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
Luboš Luňák
4d8462f579
Move minimized windows to the right place in focus chain.
...
(#124807 )
svn path=/trunk/KDE/kdebase/workspace/; revision=528632
2006-04-11 14:52:27 +00:00
Luboš Luňák
e906595aaf
Separate focus chains are nice, but KDE-style Alt+Tab not limited
...
to the current desktop still needs the global one for MRU (#124721 ).
svn path=/trunk/KDE/kdebase/workspace/; revision=528612
2006-04-11 14:14:38 +00:00
Hamish Rodda
77bc9cd63d
Merging in from bleeding edge kdebase branch
...
- i18n ported
- KAccel removed
- Some fixes for OS X
svn path=/trunk/KDE/kdebase/workspace/; revision=528190
2006-04-10 11:57:13 +00:00
Luboš Luňák
95e16abda2
Don't force new windows to be at the beginning of the focus chain
...
(windows with focus stealing prevention shouldn't be there).
svn path=/trunk/KDE/kdebase/workspace/; revision=526557
2006-04-04 22:04:34 +00:00
Luboš Luňák
3c6af0ff28
Use a separate focus chain for each virtual desktop - this prevents onalldesktop
...
windows from usually getting focus after every virtual desktop switch.
Thanks for most of the work go to Guido Fiala <gfiala@s.netic.de>.
(#33701 )
svn path=/trunk/KDE/kdebase/workspace/; revision=514057
2006-02-27 10:13:31 +00:00
Allen Winter
ae65a40c7a
TRUE->true, FALSE->false
...
svn path=/trunk/KDE/kdebase/workspace/; revision=511180
2006-02-19 01:33:48 +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
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
Laurent Montel
a48328e5bc
QString::null->QString()
...
.clear()
etc
svn path=/trunk/KDE/kdebase/workspace/; revision=493536
2006-01-02 16:27:55 +00:00
Laurent Montel
d0d0ce9dbb
setGlobalMouseTracking not necessary inline static QT3_SUPPORT void setGlobalMouseTracking(bool) {};
...
svn path=/trunk/KDE/kdebase/workspace/; revision=492220
2005-12-29 09:35:30 +00:00
Laurent Montel
fe6805d25c
Use qobject_cast
...
svn path=/trunk/KDE/kdebase/workspace/; revision=486278
2005-12-07 10:51:10 +00:00
Urs Wolfer
1cf79a8556
less Q3:
...
* remove unused Q3 includes
* port some Q3VBox, Q3HBox, Q3Frame, Q3PopupMenu
svn path=/trunk/KDE/kdebase/workspace/; revision=484457
2005-11-30 21:17:50 +00:00
Stephan Kulow
0c904fde9e
reverting misunderstanding
...
svn path=/trunk/KDE/kdebase/workspace/; revision=481441
2005-11-19 08:06:46 +00:00
Laurent Montel
0695439fe1
Replace sessionConfig()
...
svn path=/trunk/KDE/kdebase/workspace/; revision=481342
2005-11-18 21:05:14 +00:00