Commit graph

7221 commits

Author SHA1 Message Date
Martin Gräßlin
cf3bcc6294 Try to get a FBO in the init method of GLRenderTarget. If the FBO is incomplete there is no need to claim that the driver supports FBO.
This is a workaround to the problem that some drivers do not return a complete FBO, but support the extension. Which caused the blur effect to get loaded without working and in consequence Plasma to use the blur-optimized and very translucent backgrounds.
CCBUG: 240956

svn path=/trunk/KDE/kdebase/workspace/; revision=1137490
2010-06-13 07:40:21 +00:00
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
Script Kiddy
8be6c90be9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1137475
2010-06-13 06:22:19 +00:00
Andreas Hartmetz
72fb0824ef Also compile *with* OpenGL present; include the file that supplies KWIN_HAVE_OPENGL_COMPOSITING.
svn path=/trunk/KDE/kdebase/workspace/; revision=1137417
2010-06-12 18:33:49 +00:00
Martin Gräßlin
c705dd474e add missing ifdefs to make the code compile if OpenGL is not present
svn path=/trunk/KDE/kdebase/workspace/; revision=1137402
2010-06-12 16:43:25 +00:00
Martin Gräßlin
265158bb07 Drop the TabBox preview as it's ugly and doesn't work correctly. I will add a better solution for 4.6.
svn path=/trunk/KDE/kdebase/workspace/; revision=1137270
2010-06-12 07:06:36 +00:00
Martin Gräßlin
5b54bb1d03 Forward port rev 1137263:
Make icon sizes 64x64 and 128x128 available in KWin and use it in TabBox for large icon modes.
So no more ugly upscaling.
CCBUG: 241384

svn path=/trunk/KDE/kdebase/workspace/; revision=1137264
2010-06-12 06:56:40 +00:00
Martin Gräßlin
b9975cb40d Only unmanage windows which are on an existing desktop. This was the cause for a crash when a different widget set per desktop was used. Removing a desktop unmanaged the desktop window and it got closed, so it was unmanaged a second time.
BUG: 241421

svn path=/trunk/KDE/kdebase/workspace/; revision=1137156
2010-06-11 19:58:46 +00:00
Fredrik Höglund
66125caac3 Fix the darkening of the bottom-most pixels behind the plasma panel.
The texture needs to be drawn on screen coordinates on the offscreen
framebuffer in the horizontal pass, otherwise pixels that fall below
the screen won't be clamped to the screen edge in the subsequent
vertical pass. This is because the offscreen buffer is the same size
as the screen.

This change also gets rid of the need to clear the offscreen buffer
before blurring the screen contents behind each window, and reduces
the CPU computations done on the blur region.

svn path=/trunk/KDE/kdebase/workspace/; revision=1137134
2010-06-11 18:38:54 +00:00
Luboš Luňák
fd0a31c3bf suspend ksmserver's startup during kwin's startup too,
just in case, to make sure kwin is really ready before other
desktop components


svn path=/trunk/KDE/kdebase/workspace/; revision=1137061
2010-06-11 14:26:41 +00:00
Martin Gräßlin
3f10840169 Forward port rev 1136822:
If presentwindows does not get activated, we have to revert the tabbox state or next activation is not possible.
CCBUG: 240730

svn path=/trunk/KDE/kdebase/workspace/; revision=1136823
2010-06-10 21:00:41 +00:00
Script Kiddy
933c8a453a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1136602
2010-06-10 06:41:12 +00:00
Fredrik Höglund
b13174e785 Tweak the code in the fragment shader to get the Mesa GLSL compiler to emit
MAD's instead of MUL + ADD.

svn path=/trunk/KDE/kdebase/workspace/; revision=1136438
2010-06-09 20:59:24 +00:00
Script Kiddy
bf1b0738d3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1136163
2010-06-09 06:49:41 +00:00
Hugo Pereira Da Costa
2e1ed41e69 moved shadow mode to expert configuration only, because kwin shadow pluggin does not work well with oxygen
svn path=/trunk/KDE/kdebase/workspace/; revision=1136155
2010-06-09 04:01:57 +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
Hugo Pereira Da Costa
0ec3c6bf5a use helper class to render resize handle dots, for consistency with the style.
svn path=/trunk/KDE/kdebase/workspace/; revision=1135179
2010-06-06 18:12:21 +00:00
Script Kiddy
e8b9ef0702 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1135018
2010-06-06 06:31:24 +00:00
Script Kiddy
7b6809b176 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1134733
2010-06-05 06:22:14 +00:00
Hugo Pereira Da Costa
07dc7a0fff Fixed outer color chooser enable state depending of parent state and
checkbox.

svn path=/trunk/KDE/kdebase/workspace/; revision=1134693
2010-06-05 00:41:07 +00:00
Hugo Pereira Da Costa
1ea223f34c added "unlockAnimations" method.
svn path=/trunk/KDE/kdebase/workspace/; revision=1134598
2010-06-04 16:59:09 +00:00
Script Kiddy
1ecb757348 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1134365
2010-06-04 06:56:13 +00:00
Hugo Pereira Da Costa
8d2a83d954 Set default border size to "tiny" on agreement with Nuno
svn path=/trunk/KDE/kdebase/workspace/; revision=1134332
2010-06-03 22:47:09 +00:00
Martin Gräßlin
ad3753c944 Let's use KGlobalSettings' drag and drop pixel distance instead of a hardcoded value when starting to move a window.
svn path=/trunk/KDE/kdebase/workspace/; revision=1134234
2010-06-03 18:04:36 +00:00
Martin Gräßlin
02c8c78c21 Use start drag time for dragging and not double click interval.
svn path=/trunk/KDE/kdebase/workspace/; revision=1134134
2010-06-03 13:48:14 +00:00
Martin Gräßlin
0e2f0eb20d Forward port rev 1134110: Fix crash when trying to group a window without decorations.
CCBUG: 222816

svn path=/trunk/KDE/kdebase/workspace/; revision=1134111
2010-06-03 12:53:29 +00:00
Nicolas Lécureuil
fa2318b374 Fix typo
svn path=/trunk/KDE/kdebase/workspace/; revision=1134085
2010-06-03 11:30:41 +00:00
Nicolas Lécureuil
8f3f46c740 Forward port commit 1134074
CCBUG: 240464


svn path=/trunk/KDE/kdebase/workspace/; revision=1134076
2010-06-03 10:59:17 +00:00
Martin Gräßlin
752580496b Blur behind tabbox
svn path=/trunk/KDE/kdebase/workspace/; revision=1134066
2010-06-03 10:33:52 +00:00
Script Kiddy
5cc13096d5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1134017
2010-06-03 06:44:43 +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
Jonathan Michael Thomas
171dfbd894 Add polkit-kde-1 and pinentry as password dialogs to be dimmed by the password dialog dimmer effect.
I think now we can get rid of the modal-ness of the polkit-kde-1 dialog that was being used to get the parent window dimmed.
CCMAIL: drf@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=1133785
2010-06-02 13:13:02 +00:00
Script Kiddy
0bb79bca68 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1133680
2010-06-02 06:40:49 +00:00
Hugo Pereira Da Costa
98558973ef Fixed handling of mask, so that it is set only when either shadowMode is not OxygenShadow
or compositing is not active.


svn path=/trunk/KDE/kdebase/workspace/; revision=1133588
2010-06-02 06:04:17 +00:00
Hugo Pereira Da Costa
29320ccd26 no mask in borderless-titleless mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1133541
2010-06-01 22:44:03 +00:00
Andreas Demmer
fa7b782462 added blurred background and dropshadow for ChangeDesktopOSD
svn path=/trunk/KDE/kdebase/workspace/; revision=1133436
2010-06-01 18:23:14 +00:00
Script Kiddy
d7698b80b3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1133195
2010-06-01 08:35:51 +00:00
Rohan Ramdas Prabhu
4f10c8fc39 Accidentally broke tunk in my previous commit. I was supposed to commit
to a branch, but instead committed to the trunk. Well, the trunk was
broken because not all files were committed and hence anyone who checked
out of the trunk during this time could not have built kwin.

From what I can gather, the trunk has been broken for around 45 minutes
now. I didn't realize all that while that the trunk was broken. I
apologize for the inconvinience and I deeply regret my actions which
were clearly not well-thought.

Sorry,
Rohan


svn path=/trunk/KDE/kdebase/workspace/; revision=1133013
2010-05-31 22:18:41 +00:00
Rohan Ramdas Prabhu
d8daff5162 In this commit, the following files are updated:
main.cpp : Added a command argument. If 'stest' is set, then a testing
environment is setup which is used to test scripting for kwin.
Currently, the test setup only consists of loading a default script, but
in the feature it is expected to run a small text editor kind of thing
for testing.
       Usage:
         kwin --stest

CMakeLists.txt : Add the files corresponding to kwin_scripting the main
intention of which is to provide scripting support for kwin.

kwintabbox.desktop : An unintentional edit. Mostly harmless.


svn path=/trunk/KDE/kdebase/workspace/; revision=1133002
2010-05-31 21:24:40 +00:00
Script Kiddy
50f52101cc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1132676

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2010-05-31 07:06:08 +00:00
Christoph Feck
71959ec006 Fix warning "QPixmap::operator=: Cannot assign to pixmap during painting"
svn path=/trunk/KDE/kdebase/workspace/; revision=1132445
2010-05-30 16:59:39 +00:00
Martin Gräßlin
f46e0634fb Fix mnemonic in advanced menu of useractions menu.
svn path=/trunk/KDE/kdebase/workspace/; revision=1132322
2010-05-30 10:03:05 +00:00
Script Kiddy
abc0bf9e6e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1131891

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2010-05-29 06:53:39 +00:00
Fredrik Höglund
07a26a2569 Allow direct rendering with drivers that have "GEM" or "Gallium" in their
GL_RENDERER strings.

Possible fix for bug 239890.
CCBUG: 239890

svn path=/trunk/KDE/kdebase/workspace/; revision=1131729
2010-05-28 20:41:58 +00:00
Script Kiddy
5b2e2d5fe6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1131430
2010-05-28 07:23:04 +00:00
Script Kiddy
9f1d81be53 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1131056
2010-05-27 06:39:10 +00:00
Ignat Semenov
28deb24ee0 Remove unnecessary calls to showButtonSeparator(false)
svn path=/trunk/KDE/kdebase/workspace/; revision=1130888
2010-05-26 17:51:27 +00:00
Script Kiddy
db0c52b20e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1130726
2010-05-26 06:47:45 +00:00
Rohan Ramdas Prabhu
92460322ab Fixed a bug for KWin reported on http://bugs.kde.org with the bug no.
226423

BUG: 226423
CCMAIL: l.lunak@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=1130648
2010-05-25 21:40:14 +00:00
Martin Gräßlin
cfce13e615 Make the new taskbar thumbnail shader work with NVIDIA driver. Therefore the alpha channel has to be added to oqaque windows in scene_opengl.
svn path=/trunk/KDE/kdebase/workspace/; revision=1130622
2010-05-25 20:28:23 +00:00