kwin/scripting
Martin Gräßlin 334b4bf622 Move handling of Virtual Desktops into a VirtualDesktopManager
The ownership for virtual desktops is moved from Workspace into a new
VirtualDesktopManager. The manager is responsible for providing the count
of virtual desktops and keeping track of the currently used virtual
desktop.

All methods related to moving between desktops are also moved from
Workspace to the new manager, though all methods related to Clients on
Virtual Desktops remain in Workspace for the time being. This is to have
the new manager as independent from KWin core as possible.

An rather important change for the handling of virtual desktops is that
the count and the id of a desktop is now an unsinged integer instead of
an integer. The reason for that is that we cannot have a negative count
of desktops as well as it is not possible to be on a desktop with a
negative identifier.

In that regard it is important to remember that a Client can be on a
desktop with a negative identifier. The special value for a Client being
on all desktops is handled by using -1 as a desktop. For the time being
this is not adjusted but instead of comparing the virtual desktop ids one
should prefer to use the convenient methods like isOnDesktop and
isOnAllDesktops. This would allow in future to internally change the
representation for on all desktops.
2013-01-07 09:47:51 +01:00
..
documentation-effect-global.xml Export QEasingCurve to scripted Effects 2012-11-24 10:19:59 +01:00
documentation-global.xml Fix documentation error for global KWin script method 2012-10-28 09:50:34 +01:00
kwinscript.desktop SVN_SILENT made messages (.desktop file) 2012-12-24 09:05:36 +01:00
meta.cpp Let kwin scripts add dynamic properties to client objects. 2012-04-24 17:42:16 +02:00
meta.h fix tabbing 2012-02-11 16:30:22 +01:00
scriptedeffect.cpp Export QEasingCurve to scripted Effects 2012-11-24 10:19:59 +01:00
scriptedeffect.h Export QEasingCurve to scripted Effects 2012-11-24 10:19:59 +01:00
scripting.cpp Merge branch 'KDE/4.9' 2012-09-19 20:21:18 +02:00
scripting.h Mark most ctors as explicit as reported by Krazy2 checker 2013-01-02 18:35:46 +01:00
scriptingutils.cpp Asserts for KWin scripts 2012-05-10 10:00:54 +02:00
scriptingutils.h Allow Scripts to add menus to the UserActionsMenu 2012-09-07 07:32:00 +02:00
timer.cpp Simplify the Timer in scripting 2012-01-22 13:02:34 +01:00
workspace_wrapper.cpp Move handling of Virtual Desktops into a VirtualDesktopManager 2013-01-07 09:47:51 +01:00
workspace_wrapper.h Move handling of Virtual Desktops into a VirtualDesktopManager 2013-01-07 09:47:51 +01:00