Commit graph

7426 commits

Author SHA1 Message Date
Script Kiddy
65e2a1221f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1180602
2010-09-28 10:17:49 +00:00
Rohan Ramdas Prabhu
481af628f4 Fixed docs.
svn path=/trunk/KDE/kdebase/workspace/; revision=1180330
2010-09-27 17:32:36 +00:00
Rohan Ramdas Prabhu
1033a5a028 Fixed the API docs.
svn path=/trunk/KDE/kdebase/workspace/; revision=1180328
2010-09-27 17:30:57 +00:00
Rohan Ramdas Prabhu
a99947fdc7 IMPLIST is no longer maintained. Please refer to scripting/apidocs.xml
or scripting/apidocs.html for documentation.

svn path=/trunk/KDE/kdebase/workspace/; revision=1180322
2010-09-27 17:24:31 +00:00
Rohan Ramdas Prabhu
28527176d6 Added the following methods:
client.keepAbove
client.keepBelow
client.setKeepAbove
client.setKeepBelow

For more information on the abovementioned methods, please refer to
scripting/apidocs.xml.

These were added in a response to a feature suggestion from Eike Hein.
Thanks a lot Eike :)

svn path=/trunk/KDE/kdebase/workspace/; revision=1180319
2010-09-27 17:20:52 +00:00
Script Kiddy
6e50c0863d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1180157
2010-09-27 08:19:00 +00:00
Rohan Ramdas Prabhu
49b61f604c Added fancy documentation in HTML format and a custom XML format, and
also a small conversion program (it's not small and it's horribly ugly,
but it works under 5ms :) ).

svn path=/trunk/KDE/kdebase/workspace/; revision=1180045
2010-09-26 20:35:44 +00:00
Ben Cooksley
64216f9ab5 Seperate Window Behaviour modules from Workspace Behaviour modules.
Move Workspace options module into Workspace Behaviour module
BUG: 252429

svn path=/trunk/KDE/kdebase/workspace/; revision=1180036
2010-09-26 20:03:28 +00:00
Chani Armitage
5c61b850cf Merge branch 'kwintransient'
svn path=/trunk/KDE/kdebase/workspace/; revision=1179964
2010-09-26 16:44:07 +00:00
Script Kiddy
4687f17759 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1179826

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Grass/metadata.desktop
M	wallpapers/Hanami/metadata.desktop
2010-09-26 09:11:16 +00:00
Martin Gräßlin
d76ef2b9cb Forward port rev 1179522:
Ensure electric borders are above effect input windows after blocking stacking order updates.
CCBUG: 200235

svn path=/trunk/KDE/kdebase/workspace/; revision=1179523
2010-09-25 18:51:18 +00:00
Script Kiddy
be6c24368c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1179366

The following changes were in SVN, but were removed from git:

M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
2010-09-25 08:36:32 +00:00
Fredrik Höglund
6d398323eb - Check if the FBO size will exceed GL_MAX_TEXTURE_SIZE in
BlurEffect::supported().
- Don't announce support to clients if the shader failed to compile,
  or the FBO is invalid.

svn path=/trunk/KDE/kdebase/workspace/; revision=1179268
2010-09-25 00:11:06 +00:00
Martin Gräßlin
c87be852e0 Improved focus chain handling for client groups.
When selecting another client in the group, the previous client
gets hidden which causes the client to be moved to the end of
the focus chain which means that it is not possible to quickly
alt+tab to the previous used tab.
So if a client is part of a client group it should not be moved
to the end of the focus change when changing the shown state in
Client::setClientShown().

svn path=/trunk/KDE/kdebase/workspace/; revision=1179234
2010-09-24 21:34:20 +00:00
Chani Armitage
3c633a48ab Use an X property for activity associations
the new property name is "_KDE_NET_WM_ACTIVITIES", of type XA_STRING,
and it's a comma-separated list of activity UUIDs.

kwin should respond to other processes changing the activity list for a
window, and filter out any bogus IDs. It also caches KActivityController's
list of activities to prevent dbus deadlocks.

CCMAIL: plasma-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=1179043
2010-09-24 12:03:22 +00:00
Script Kiddy
19a9fb6e37 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1178980
2010-09-24 08:56:03 +00:00
Fredrik Höglund
08f51821b7 Don't set gl_TextCoord[0] in the vertex shader when the fragment
shader doesn't use it.

svn path=/trunk/KDE/kdebase/workspace/; revision=1178357
2010-09-22 20:13:01 +00:00
Christoph Feck
3fca254f83 SVN_SILENT compile
svn path=/trunk/KDE/kdebase/workspace/; revision=1177897
2010-09-21 15:56:20 +00:00
Rohan Ramdas Prabhu
2b40492bea Deleted property svnmerge-integrated.
A non-void function, Chelate::equivGen was reaching the end of function
without a return value, which could cause a segmentation fault. FIXED.

svn path=/trunk/KDE/kdebase/workspace/; revision=1177875
2010-09-21 14:48:17 +00:00
Rohan Ramdas Prabhu
2aec750ebf Trembles the weave as the clock ticks, attain another microstate.
Every disorder causes every duration, which ensures the one that stays.
reality is relative. natural is disorder.
[R]obinhood[P]andey

Merging scripting from
^/branches/work/kwin_scripting TO
^/trunk

svn path=/trunk/KDE/kdebase/workspace/; revision=1177865
2010-09-21 14:31:40 +00:00
Script Kiddy
bb60cd51ce SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1177799

The following changes were in SVN, but were removed from git:

M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Grass/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
2010-09-21 10:01:09 +00:00
Laurent Montel
e810dbc582 Use script to add QLatin1String in setObjectName directly
svn path=/trunk/KDE/kdebase/workspace/; revision=1177599
2010-09-20 18:18:36 +00:00
Martin Gräßlin
fa78332a3c Fallback to XRender compositing in case of Software Rasterizer.
For Software Rasterizer we never ever want to have OpenGL compositing.
No matter how many config options the user sets it has to be disabled.
Though falling back to XRender makes sense in the case of software
rasterization.

svn path=/trunk/KDE/kdebase/workspace/; revision=1176787
2010-09-18 17:41:07 +00:00
Martin Gräßlin
5dc513e6a4 Adding checkbox for unredirecting fullscreen windows.
FEATURE: 232532
CCBUG: 177495
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/workspace/; revision=1176432
2010-09-17 17:46:34 +00:00
Martin Gräßlin
e7eeae1e1d Disable Lanczos filter while moving windows in present windows.
Thanks to the movement the change of quality is hardly visible.

svn path=/trunk/KDE/kdebase/workspace/; revision=1176110
2010-09-16 18:04:48 +00:00
Hugo Pereira Da Costa
85adc68a06 Added dynamically allocated debug area
fixed some coding style.
changed fabs into abs.

svn path=/trunk/KDE/kdebase/workspace/; revision=1175805
2010-09-16 01:24:56 +00:00
Thomas Lübking
c62cbd5911 fix pending XSYNC requests, bugs partially closed due to suggested relation by the reporters
please re-open them if this does not fix it

BUG: 178269
BUG: 183263
BUG: 241094
BUG: 243094

svn path=/trunk/KDE/kdebase/workspace/; revision=1175748
2010-09-15 19:33:15 +00:00
Martin Gräßlin
379e1a268b Screenshot effect provides hooks for KSnapshot.
This adds a DBus slot to capture a window and the pixmap handle
is passed back via a DBus signal.
Previous code using a shortcut and saving to filesystem is dropped
completely in favor for ksnapshot.
See http://reviewboard.kde.org/r/4814/

svn path=/trunk/KDE/kdebase/workspace/; revision=1175353
2010-09-14 19:52:44 +00:00
Script Kiddy
245f00c189 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1175120
2010-09-14 09:27:13 +00:00
Fredrik Höglund
119c06e403 Make the lanczos shader use a fixed number of iterations in the loop.
This makes it possible for the GLSL compiler to unroll it, which also
avoids the need to use relative addressing. With this change the shader
should hopefully work with the R300G driver.

The unused kernel weights are set to zero so they don't contribute
to the end result.

Thanks to Tom Stellard and Marek Olšák for their suggestions on how
to solve this problem.

CCBUG: 243191

svn path=/trunk/KDE/kdebase/workspace/; revision=1175021
2010-09-13 22:03:21 +00:00
Hugo Pereira Da Costa
d4d985b30d Fixed indentation.
svn path=/trunk/KDE/kdebase/workspace/; revision=1174511
2010-09-12 18:05:24 +00:00
Martin Gräßlin
256a1a79c3 Use pixmaps and TFP for the text and unstyled effect frame.
This solves also some video garbage problems with direct rendering and fglrx.

svn path=/trunk/KDE/kdebase/workspace/; revision=1174408
2010-09-12 10:09:12 +00:00
Script Kiddy
d7a95d1549 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1174377

The following changes were in SVN, but were removed from git:

M	wallpapers/Autumn/metadata.desktop
M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Grass/metadata.desktop
M	wallpapers/Hanami/metadata.desktop
2010-09-12 08:31:20 +00:00
Nikhil Marathe
f23cb1589f Modify the config file to have the latest value of tilingEnabled() so that the shortcut and the kcm options are in sync
svn path=/trunk/KDE/kdebase/workspace/; revision=1174364
2010-09-12 06:06:23 +00:00
Nikhil Marathe
2542857b08 Tiles are not deleted when removed from a layout, since we might want to add them to another layout
svn path=/trunk/KDE/kdebase/workspace/; revision=1174360
2010-09-12 05:02:18 +00:00
Script Kiddy
ab5beca39b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1173714
2010-09-10 09:05:39 +00:00
Hugo Pereira Da Costa
70f9460484 Readded helper().invalidateCaches call at each readConfig.
this is needed to properly catch 'contrast' changes in systemsettings.


svn path=/trunk/KDE/kdebase/workspace/; revision=1173169
2010-09-08 21:07:14 +00:00
Luboš Luňák
117633d40d config option to specify size of blocks to fall apart to
svn path=/trunk/KDE/kdebase/workspace/; revision=1172706
2010-09-07 21:52:51 +00:00
Script Kiddy
0668599089 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1172371

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Autumn/metadata.desktop
2010-09-07 06:20:25 +00:00
Luboš Luňák
23d73bd6b0 Move some less-used kwin styles to kdeartwork.
http://lists.kde.org/?l=kwin&m=128100223007299&w=2


svn path=/trunk/KDE/kdebase/workspace/; revision=1172188
2010-09-06 17:05:35 +00:00
Luboš Luňák
65bb5f5c17 Dump the kwmtheme decoration. It hasn't compiled in ages, hasn't seen
any activity for even longer.


svn path=/trunk/KDE/kdebase/workspace/; revision=1172182
2010-09-06 16:48:31 +00:00
Hugo Pereira Da Costa
72ebe28e12 Really disable caching when caching is disabled (hehe)
svn path=/trunk/KDE/kdebase/workspace/; revision=1171078
2010-09-02 16:34:20 +00:00
Script Kiddy
04c6196d77 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1170945
2010-09-02 10:44:09 +00:00
Luboš Luňák
d467d26530 Do not introduce such generic indentifiers like None or Styled
into KWin's global namespace. Morever None already kind of clashes with X's None.
CCMAIL: kde@martin-graesslin.com


svn path=/trunk/KDE/kdebase/workspace/; revision=1170588
2010-09-01 14:15:06 +00:00
Christoph Feck
daec4364bd Fix tool tips to not show '&' added by KAcceleratorManager
I have no idea why you don't see them, Martin. It may be possible
to disable automatic accelerator assignment in KDE via some
configuration option. Check the code to find out ;)

See http://reviewboard.kde.org/r/5191/

BUG: 241073
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/workspace/; revision=1170350
2010-08-31 16:39:34 +00:00
Hugo Pereira Da Costa
1adaf8c8ea remove use of QWeakPointer for the itemAnimationData_ object as it is unnecessary: the object is never used outside of the class
and is a child of the client, deleted in the client destructor, by Qt.


svn path=/trunk/KDE/kdebase/workspace/; revision=1170328
2010-08-31 14:30:17 +00:00
Hugo Pereira Da Costa
6309ac1928 OxygenClient: remove use of QWeakPointer for the glowAnimation_ as it is unnecessary: the object is never used outside of the class
and is a child of the client, deleted in the client destructor, by Qt.

Client, Button: removed useless acessor to the glowAnimation pointer.

svn path=/trunk/KDE/kdebase/workspace/; revision=1170327
2010-08-31 14:24:01 +00:00
Hugo Pereira Da Costa
1a1d2b964b Removed use of a weakPointer for storing the glowAnimation in buttons:
it is unnecessary since the object is never accessed outside of the button class, is a child and the button, and thus destroyed 
only in the button destructor, by Qt. 


svn path=/trunk/KDE/kdebase/workspace/; revision=1170321
2010-08-31 14:18:02 +00:00
Hugo Pereira Da Costa
b8137a7671 Reverted r1170209
because it causes crash when playing with shade and maximize (likely due to a lower-level bug in kwin)

svn path=/trunk/KDE/kdebase/workspace/; revision=1170211
2010-08-31 05:44:19 +00:00
Hugo Pereira Da Costa
943154f255 Always set bottom border to zero when window is shaded. This ensures that window title and buttons are
centered vertically when shading windows.

svn path=/trunk/KDE/kdebase/workspace/; revision=1170209
2010-08-31 05:16:02 +00:00