Commit graph

470 commits

Author SHA1 Message Date
Martin Gräßlin
633d80001f Add new role, so that fullscreen effects can enforce blurring of windows they know to be translucent and on a fixed position.
Used in cube animation for all sticky windows and in desktop grid for the add/remove desktops window.

svn path=/trunk/KDE/kdebase/workspace/; revision=1137489
2010-06-13 07:36:40 +00:00
Fredrik Höglund
6ab355a048 Add more detailed debug output in GLRenderTarget::initFBO().
CCBUG: 240956

svn path=/trunk/KDE/kdebase/workspace/; revision=1136053
2010-06-08 20:29:17 +00:00
Martin Gräßlin
191435d425 Move Lanczos filter from taskbarthumbnail effect into the scene and use it also in boxswitch, presentwindows and thumbnailaside effects.
svn path=/trunk/KDE/kdebase/workspace/; revision=1133901
2010-06-02 20:04:54 +00:00
Fredrik Höglund
e1161c2525 Don't paint windows that are not on the current activity.
svn path=/trunk/KDE/kdebase/workspace/; revision=1127193
2010-05-15 20:18:57 +00:00
Nikhil Marathe
8892169a86 Added Window menu action to toggle floating/tiled state of the client and the relevant Operation enum entry
svn path=/trunk/KDE/kdebase/workspace/; revision=1124058
2010-05-07 16:03:14 +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
Hugo Pereira Da Costa
94e42cf134 Change KCommonDecoration preview label contents to contain only the decoration name
Removed custom painting of kdecoration previews in kcmdecoration.

svn path=/trunk/KDE/kdebase/workspace/; revision=1121963
2010-05-02 20:25:27 +00:00
Martin Gräßlin
f6ebb5d913 Texture scaling in resize effect and disabling the drawbound when the effect is present.
This provides a good resizing performance for users having problems with the live-updating resize.
Patch by Thomas Lübking.

svn path=/trunk/KDE/kdebase/workspace/; revision=1118714
2010-04-25 18:40:04 +00:00
Martin Gräßlin
ec8d860c4b Allow effects to change the number of desktops and inform effects when the number of desktops is changed.
svn path=/trunk/KDE/kdebase/workspace/; revision=1108239
2010-03-28 09:04:14 +00:00
Martin Gräßlin
9a86e83d6e Set the transformed geometry in WindowMotionManager when a window is dropped to a desktop in grid. This way the window does not jump to a random position on mouse release.
svn path=/trunk/KDE/kdebase/workspace/; revision=1104672
2010-03-18 09:27:01 +00:00
Fredrik Höglund
732c05b281 Bump the ABI for EffectWindow::decorationInnerRect().
svn path=/trunk/KDE/kdebase/workspace/; revision=1102477
2010-03-12 16:39:47 +00:00
Fredrik Höglund
7ad2203084 Expose the decoration inner rect to effects.
svn path=/trunk/KDE/kdebase/workspace/; revision=1102475
2010-03-12 16:33:01 +00:00
Fredrik Höglund
7e68fc7c44 Use GL_BGRA instead of GL_RGBA when creating textures.
GL_BGRA is the native format, and should be faster since it doesn't
require any internal swizzling.

svn path=/trunk/KDE/kdebase/workspace/; revision=1102455
2010-03-12 15:17:01 +00:00
Fredrik Höglund
8d03842c05 Improve the debug output from checkGLError().
svn path=/trunk/KDE/kdebase/workspace/; revision=1102451
2010-03-12 14:55:34 +00:00
Martin Gräßlin
cc321b32cb Resolve glBlendColor function.
svn path=/trunk/KDE/kdebase/workspace/; revision=1102446
2010-03-12 14:41:24 +00:00
Davide Bettio
45bcf3173a * Removed "Advanced Button" from screensaver kcm.
* Screensaver screen edges settings have been merged with kwin screen edges settings.
* Removed screensaver priority configuration: we assume that users don't need to change screensaver priority.
REVIEWBOARD: http://reviewboard.kde.org/r/3240/

svn path=/trunk/KDE/kdebase/workspace/; revision=1101792
2010-03-10 22:25:20 +00:00
Fredrik Höglund
7ecca15342 Resolve glGetProgramivARB().
svn path=/trunk/KDE/kdebase/workspace/; revision=1101721
2010-03-10 18:15:04 +00:00
Luboš Luňák
74ae0b6d15 fix button order documentation to match reality
svn path=/trunk/KDE/kdebase/workspace/; revision=1101680
2010-03-10 15:02:36 +00:00
Fredrik Höglund
17a38a7cdb Resolve glUniform3fv() and glUniform4fv().
svn path=/trunk/KDE/kdebase/workspace/; revision=1100844
2010-03-08 20:38:30 +00:00
Benjamin Reed
dc233bdcd5 merge 1099530 from 4.4: add some missing include_directories
svn path=/trunk/KDE/kdebase/workspace/; revision=1099533
2010-03-05 18:30:04 +00:00
Fredrik Höglund
8bddbfca46 Bump the ABI.
svn path=/trunk/KDE/kdebase/workspace/; revision=1099525
2010-03-05 18:24:29 +00:00
Fredrik Höglund
55b5b593b2 Add EffectsHandler::decorationsHaveAlpha().
Effects can use this method to check if the decorations use
the alpha channel.

svn path=/trunk/KDE/kdebase/workspace/; revision=1099522
2010-03-05 18:21:14 +00:00
Fredrik Höglund
17db9864aa Resolve functions needed for ARB_fragment_program.
svn path=/trunk/KDE/kdebase/workspace/; revision=1099486
2010-03-05 17:26:04 +00:00
Fredrik Höglund
cb97465581 Add convenience accessors to GLTexture for the width and height.
svn path=/trunk/KDE/kdebase/workspace/; revision=1099477
2010-03-05 17:09:22 +00:00
Fredrik Höglund
423ce5e170 Initialize mSize in the GLTexture(int width, int height) constructor.
svn path=/trunk/KDE/kdebase/workspace/; revision=1099475
2010-03-05 17:04:59 +00:00
Xavier Vello
070555e59e Commit patch from SlashDevDsp fixing #223515
crashed kcmkwin/kwindecoration

No need to backport to 4.4


svn path=/trunk/KDE/kdebase/workspace/; revision=1087519
2010-02-09 09:54:27 +00:00
Lucas Murray
51168e97a4 Keep the logout effect active until KWin is killed or the user cancels
the logout by using new information provided by KSMServer; Allow effects
to read and detect root window property notify events.

svn path=/trunk/KDE/kdebase/workspace/; revision=1083335
2010-02-01 07:44:27 +00:00
Lucas Murray
fc0633fae3 If the loaded decoration library isn't a valid decoration load the
default decoration instead of dying.
CCBUG: 224440

svn path=/trunk/KDE/kdebase/workspace/; revision=1081285
2010-01-28 04:11:13 +00:00
Lucas Murray
df2b3170cb Fix conflicts with sliding popups, fade, fall apart, scale in and
explosion by using EffectWindow::data() instead of proxies.
BUG: 222168

svn path=/trunk/KDE/kdebase/workspace/; revision=1072837
2010-01-11 04:52:19 +00:00
Fredrik Höglund
b95c6f721c Make it possible for effects to store arbitrary data in EffectWindow.
svn path=/trunk/KDE/kdebase/workspace/; revision=1069539
2010-01-03 17:50:38 +00:00
Lucas Murray
7d897b7d3f Added PAINT_DISABLED_BY_CLIENT_GROUP. Allow highlighting of inactive tab
windows in box switch.

svn path=/trunk/KDE/kdebase/workspace/; revision=1065321
2009-12-23 01:44:23 +00:00
Fredrik Höglund
fd8a4c54a7 Add AbilityExtendIntoClientArea.
svn path=/trunk/KDE/kdebase/workspace/; revision=1063010
2009-12-16 17:51:00 +00:00
Jacopo De Simoi
abe42cf21f Recreate effectframe textures when compositing is disabled/enabled to avoid corruption
svn path=/trunk/KDE/kdebase/workspace/; revision=1062238
2009-12-14 09:49:06 +00:00
Jacopo De Simoi
239fa294b8 Use a set instead of a counter to keep track of moving windows, this is much less error-prone and allows to avoid corner cases
such as motions for the same window starting in the same frame.
BUG: 205632

svn path=/trunk/KDE/kdebase/workspace/; revision=1062214
2009-12-14 08:48:54 +00:00
Martin Gräßlin
0ecc15e119 Use a hash iterator instead of keys() to walk through the hash.
svn path=/trunk/KDE/kdebase/workspace/; revision=1060128
2009-12-08 08:37:01 +00:00
Martin Gräßlin
08aeaca855 Fixing build issue with inconsistent constness with Sun compiler.
Thanks to tropikhajma for providing the patch. (Next time you could send the patch to the mailinglist as patches attached to bugreports get easily forgotten)
BUG: 216581

svn path=/trunk/KDE/kdebase/workspace/; revision=1059355
2009-12-06 11:38:30 +00:00
Fredrik Höglund
0a8c06b054 Implement support for _KDE_NET_WM_FRAME_OVERLAP.
svn path=/trunk/KDE/kdebase/workspace/; revision=1054393
2009-11-25 23:32:35 +00:00
Martin Gräßlin
1333644850 A screen is not a desktop
svn path=/trunk/KDE/kdebase/workspace/; revision=1051266
2009-11-19 08:45:23 +00:00
Martin Gräßlin
2ff73028a0 Make it possible to move windows across screens in desktop grid.
BUG: 213845

svn path=/trunk/KDE/kdebase/workspace/; revision=1051265
2009-11-19 08:34:28 +00:00
Lucas Murray
00e131a1a5 Allow window tabbing titlebar actions to be configurable; Set default
middle-click titlebar action to tab drag; Fix KCM config file corruption
caused by r1015273.
BUG: 214898

svn path=/trunk/KDE/kdebase/workspace/; revision=1050309
2009-11-17 07:17:49 +00:00
Darío Andrés Rodríguez
23dcb5d66a - Reduce the ammount of unused vars/parameters warnings
svn path=/trunk/KDE/kdebase/workspace/; revision=1049628
2009-11-15 15:41:16 +00:00
Lucas Murray
27d13ea5fb Fix compile on 64-bit systems.
svn path=/trunk/KDE/kdebase/workspace/; revision=1049438
2009-11-15 09:39:50 +00:00
Lucas Murray
a0d07d12a2 Merged r970865:1049322 from /branches/work/kwin-tabbing
Adds window tabbing support to KWin.
FEATURE: 42023

svn path=/trunk/KDE/kdebase/workspace/; revision=1049334
2009-11-15 03:24:04 +00:00
Lucas Murray
a6e68a5f6f Revert failed Krazy changes.
svn path=/trunk/KDE/kdebase/workspace/; revision=1043205
2009-11-01 03:36:38 +00:00
Martin Gräßlin
77f0f0eaca Adding the missing pieces for a nice and fast letterbox resizing as a replacement for the drawbound resizing.
Perhaps we should not display the totally ugly drawbound when we have an active resize effect.
CCBUG: 208770
CCBUG: 152638

svn path=/trunk/KDE/kdebase/workspace/; revision=1042711
2009-10-30 14:22:33 +00:00
Martin Gräßlin
aff72003dd The TabBox passes KeyEvents to the effects. So we can navigate with left/right/up/down in presentwindows when used as alt+tab effect. Filtering is of course disabled.
svn path=/trunk/KDE/kdebase/workspace/; revision=1042596
2009-10-30 09:16:41 +00:00
Lucas Murray
424d358fd2 Less Krazy warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1042583
2009-10-30 08:10:35 +00:00
Lucas Murray
8a8428e41c Less Krazy warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1042572
2009-10-30 06:51:59 +00:00
Lucas Murray
e251d9316f Detect when we receive an incomplete FBO and consider it invalid.
CCBUG: 210678

svn path=/trunk/KDE/kdebase/workspace/; revision=1036024
2009-10-16 10:36:17 +00:00
Lucas Murray
3fd898cbf7 Less warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1031445
2009-10-05 07:58:12 +00:00