Commit Graph

9089 Commits (9771700b182116946d472426d659855c0155a23b)

Author SHA1 Message Date
Script Kiddy 292ceee506 SVN_SILENT made messages (.desktop file) 2012-03-01 09:46:02 +01:00
Martin Gräßlin e71364a13e Script to synchronize skip switcher with skip taskbar
REVIEW: 104099
2012-02-29 18:57:28 +01:00
Martin Gräßlin e46f81ec73 Make skipPager and skipTaskbar available to scripts 2012-02-29 18:57:17 +01:00
Hugo Pereira Da Costa 8728fb3a7b cosmetics. 2012-02-29 17:22:41 +01:00
Hugo Pereira Da Costa 5988ed2161 Fixed warning when rendering text on invalid rectangle;
Fixed painting of buttons in preview.
(thanks Martin :) )
2012-02-29 17:22:29 +01:00
Hugo Pereira Da Costa 0b1f4fc1d6 cosmetics. 2012-02-29 17:17:25 +01:00
Hugo Pereira Da Costa 2eb4b96a8c Fixed warning when rendering text on invalid rectangle;
Fixed painting of buttons in preview.
(thanks Martin :) )
2012-02-29 17:10:23 +01:00
Hugo Pereira Da Costa b7ba859dd6 Merge branch 'master' of git.kde.org:kde-workspace 2012-02-29 16:56:02 +01:00
Hugo Pereira Da Costa 85f1ae0adb removed unneeded check. 2012-02-29 16:55:37 +01:00
Hugo Pereira Da Costa 0a7195fe22 removed unneeded check. 2012-02-29 16:54:52 +01:00
Marco Martin 7a71ab72ea make sure the tapped window gets activated
if when the tabbox is open another window that does -not- appear in the tabbox gets focus, tapping on the same thumbnail as the last active window won't produce any effect, the patch makes sure that window gets activated, even if it has the currentIndex
REVIEW:104096
2012-02-29 16:43:12 +01:00
Script Kiddy dd026bdd9f SVN_SILENT made messages (.desktop file) 2012-02-29 10:25:11 +01:00
Hugo Pereira Da Costa 8f28376274 fixed tabbing order 2012-02-29 08:57:41 +01:00
Marco Martin aeccc69103 the client marked as first shouldn't be closeable.
REVIEW:104093
2012-02-27 22:20:11 +01:00
Martin Gräßlin 551ad4d4ff KWin::Options becomes a QObject and provides properties
This allows to inject the options into KWin scripts.

REVIEW: 104036
2012-02-27 19:34:13 +01:00
Martin Gräßlin ca663c3749 Constify getter methods in KWin::Options 2012-02-27 19:31:58 +01:00
Martin Gräßlin 212908ee88 Refactoring of KWin::Options: getter methods instead of public variables 2012-02-27 19:31:58 +01:00
Martin Gräßlin 26b345358f Don't re-read config options which cannot have been changed
Reading config options is only done in options.cpp which is
triggered by Workspace whenever the config changed.
2012-02-27 19:28:49 +01:00
Martin Gräßlin 00913cc4d6 Drop unused options variable 2012-02-27 19:28:48 +01:00
Martin Gräßlin 095a00b912 Add delay before showing window menu
The window menu is shown after a strong click on the menu button.
This makes close by double click on menu button working correctly.
A single (strong) click will open the window menu, a double click
will close the menu. A  triple click is no longer required.

REVIEW: 103995
BUG: 157184
FIXED-IN: 4.9.0
2012-02-27 19:27:18 +01:00
Thomas Lübking ac868aff98 Merge branch 'KDE/4.8' 2012-02-26 21:15:40 +01:00
Thomas Lübking a57dc6b238 hotfix translucency effect 2012-02-26 18:40:21 +01:00
Martin Gräßlin 711fd0b876 Drop include for config-workspace.h
None of the definitions is used anywhere in kwin.
REVIEW: 104081
2012-02-26 17:23:19 +01:00
Martin Gräßlin 7f0770f99d Properly ifdef everything requiering HAVE_XSYNC
REVIEW: 104080
2012-02-26 17:22:38 +01:00
Martin Gräßlin 83affb0d81 Droped unused XSHM import 2012-02-26 17:22:10 +01:00
Script Kiddy 3f9ba4d50e SVN_SILENT made messages (.desktop file) 2012-02-25 10:51:38 +01:00
Script Kiddy fc9dcf9e82 SVN_SILENT made messages (.desktop file) 2012-02-23 09:52:44 +01:00
Marco Martin 63c4bf15d5 use workspace signals to track geometry changes
connecting to a kwindowsystem signal that causes instantiation of
 kwindowsystemprivate breaks window focus.

this match makes it use internal kwin signals to track the embedding window geometry

REVIEW:104039
2012-02-21 23:08:28 +01:00
Martin Gräßlin 949eeedbc5 Adding a video wall script
This script allows to have video fullscreen windows span all attached
screens creating a video wall.

This replaces the removed functionality that you could disable
xinerama support inside KWin for fullscreen windows.

REVIEW: 104014
2012-02-21 22:27:35 +01:00
Thomas Lübking 54edda66f6 fix build, resetRepaints API changed 2012-02-21 19:35:46 +01:00
Thomas Lübking b79a176be3 resolve merge conflicts 2012-02-21 19:22:08 +01:00
Thomas Lübking 67f484e825 fix negation logic error ... 2012-02-21 18:42:09 +01:00
Thomas Lübking e789daf1bc clean dirty rect from repaints_region when updating shadow, skip double resetting of shadow rect
REVIEW: 104028
2012-02-21 17:19:24 +01:00
Thomas Lübking 152b738181 don't allocate unused closeview and guard all pointers
REVIEW: 104009
2012-02-21 17:18:05 +01:00
Thomas Lübking 631fb0d4cb allow app_noborder clients to drop out of maximization
REVIEW: 104010
CCBUG: 294211
2012-02-21 17:18:05 +01:00
Thomas Lübking 802abf09d1 allow windows to withdraw XShape masks
BUG: 293736
REVIEW: 104007
2012-02-21 17:18:04 +01:00
Thomas Lübking 2123fb8dbd select proper client for shortcuts and guard pointer
REVIEW: 103998
2012-02-21 17:18:04 +01:00
Thomas Lübking 7e7846adce Focus window under mouse after MouseLowerOp
BUG: 255052
REVIEW: 103975
2012-02-21 17:18:04 +01:00
Script Kiddy 7397a5dc6a SVN_SILENT made messages (.desktop file) 2012-02-20 09:55:34 +01:00
Martin Gräßlin c76317fa0f Export Desktop Name to scripts 2012-02-19 17:01:30 +01:00
Martin Gräßlin 356b406ae3 Export screen information to scripts 2012-02-19 17:01:22 +01:00
Philipp Knechtges 999d64bb19 kwin/blur: consider the valid part of the cache as being opaque
This reduces the repaints in cases where several blur regions are
stacked on top of each other (e.g. oxygen-transparent) and the topmost
layer needs to be updated (e.g. a blurry window is moved).
2012-02-19 01:28:23 +01:00
Philipp Knechtges f3117f1038 kwin/blur: substituting QHash::operator[] by an iterator-based approach 2012-02-19 01:28:16 +01:00
Martin Gräßlin 75b17d6c08 Scripting KCM supporting Plasma Package structure
List view is replaced by KPluginSelector. This is not an optimal
solution as it makes it impossible to get the selected item and
reloading seems also not to work after a new script is installed.

This should become a proper Model based view.
2012-02-18 10:40:39 +01:00
Martin Gräßlin db04ab7f36 KWin scripts use Plasma package structure
Scripts are found by the KServiceTypeTrader and can now be
enabled/disabled. Loading of config is currently disabled. Will
be made available again after scripted effects are merged.
2012-02-18 10:40:39 +01:00
Script Kiddy 2acc689735 SVN_SILENT made messages (.desktop file) 2012-02-18 10:39:12 +01:00
Philipp Knechtges 2bfcfeceb4 kwin: fixing blur bug for move/resize events
The old blur version wrongly marked a cache region as valid with the
reason that this region would never become visible. It didnt matter
because the only case that this region could become visible was a
movement of the window on top, which back then would have forced a
workspace repaint of that region and as such would have invalidated
the cache anyway. With the introduction of addLayerRepaint the
last point is no longer true and we have to track the valid cache
regions more carefully.
2012-02-16 22:13:08 +01:00
Martin Gräßlin cb5360c53d Improve mouse click behavior of Aurorae Menu button
The general idea is: single click opens menu, double click closes
the window. The problem is that the when the menu is opened after
the single click, the menu will eat the second click. So double
click will not work.

This commit brings back the workaround from Aurorae2. The clicked
event is not used at all, but we start a timer on the press event
with the doubleClickInterval. If no double click appears during the
interval we open the menu, if there is a double click we close the
window.

The downside of this approach is that there is a slight delay between
clicking the menu button and the menu appearing. For that the right
click behavior is unchanged. That is right clicking opens the menu
instantly and double click to close it, is broken.
2012-02-16 11:34:37 +01:00
Script Kiddy f53e5d1efe SVN_SILENT made messages (.desktop file) 2012-02-16 10:54:50 +01:00
Martin Gräßlin c950ec20e3 Add property to not show window strip in the layouts ui
Window Strip is only for Plasma Active, so we don't want to see
it in the UI for Window Switcher Layouts as it would not properly
work on the desktop anyway.

Accomplished by a simple property definition on the service file.
2012-02-16 10:08:15 +01:00