Commit Graph

77 Commits (b4dd43913a628cf3e14496566dbf4cf28f7b25ee)

Author SHA1 Message Date
Louai Al-Khanji fe3f250020 Whoops, these are supposed to be on by default.
svn path=/trunk/KDE/kdebase/workspace/; revision=791340
2008-03-29 02:38:17 +00:00
Louai Al-Khanji 32bc8c8d07 Make window caption presentation configurable and turned off by default.
svn path=/trunk/KDE/kdebase/workspace/; revision=791193
2008-03-28 17:26:04 +00:00
Luboš Luňák cff2b0e6cd Abstract paint clipping into PaintClipper helper class that allows
stacking of clipping regions.
(http://lists.kde.org/?l=kwin&m=120138051215450&w=2)
BUG: 156798


svn path=/trunk/KDE/kdebase/workspace/; revision=779045
2008-02-25 11:32:21 +00:00
Adriaan de Groot 214d575aa3 Qt3 -> Qt4 style includes.
qdrawutil.h doesn't seem to have a purely Qt4-style equivalent, so including the directory there disambiguates it from the Qt3 header.

svn path=/trunk/KDE/kdebase/workspace/; revision=770116
2008-02-02 20:54:19 +00:00
Luboš Luňák cef15afe8a Clean up properly.
BUG: 154270


svn path=/trunk/KDE/kdebase/workspace/; revision=762660
2008-01-17 16:24:11 +00:00
Stephan Binner 32272e9613 i18n style guide fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=757261
2008-01-04 15:26:42 +00:00
Luboš Luňák 21a31819d1 Move the shortcuts to Ctrl+F9/F10, feels a bit better although I still don't
like the defaults for PresentWindows and DesktopGrid.


svn path=/trunk/KDE/kdebase/workspace/; revision=756780
2008-01-03 19:02:38 +00:00
Luboš Luňák bb433ac40e No longer include config*.h files in installed headers.
Also slightly redo the #define's for effects, now it's:
- #ifdef KWIN_HAVE_COMPOSITING to check whether there's any compositing support at all
- #ifdef KWIN_HAVE_OPENGL_COMPOSITING to check for OpenGL-based compositing
- #ifdef KWIN_HAVE_XRENDER_COMPOSITING the same for XRender
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=749628
2007-12-17 14:14:53 +00:00
Rivo Laks 6827a0cc32 For some reason the icon caching doesn't work here so let's just disable it for now.
svn path=/trunk/KDE/kdebase/workspace/; revision=749165
2007-12-16 18:31:33 +00:00
Rivo Laks 7515cc8e0e Repaint filter box area when filter is empty.
svn path=/trunk/KDE/kdebase/workspace/; revision=749110
2007-12-16 14:43:28 +00:00
Adriaan de Groot 9ff9f6ce22 Disambiguating ints and unsigned and float and double
svn path=/trunk/KDE/kdebase/workspace/; revision=747016
2007-12-10 20:43:13 +00:00
Luboš Luňák 0b2a40e150 Act on KeyPress, not KeyRelease, the release may come
from the activating shortcut.


svn path=/trunk/KDE/kdebase/workspace/; revision=746327
2007-12-08 17:57:53 +00:00
Luboš Luňák 01bf6cbb4c License cleanup - add headers where missing, be explicit about GPL
being v2+ (right now it says just GPL, which according to GPL itself
means any GPL). Decoration clients will come later.
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=742302
2007-11-27 19:40:25 +00:00
Luboš Luňák 373f6e552a Useful keyboard navigation also for PresentWindows.
svn path=/trunk/KDE/kdebase/workspace/; revision=739606
2007-11-21 11:57:09 +00:00
Luboš Luňák c1ed1edb52 Proper support for active xinerama screen in effects.
BUG: 152552 


svn path=/trunk/KDE/kdebase/workspace/; revision=739248
2007-11-20 18:58:30 +00:00
Luboš Luňák bc6a084894 Let effects access window role as well.
svn path=/trunk/KDE/kdebase/workspace/; revision=736266
2007-11-13 19:59:53 +00:00
Luboš Luňák ad73c931e5 It seems that any QPalette use in KWin has to explicitly specify
the color group, since KWin is technically never the active application.


svn path=/trunk/KDE/kdebase/workspace/; revision=734660
2007-11-09 14:09:29 +00:00
Rivo Laks ee7b2ca8d1 Change default mouse triggers as discussed on kwin list (top-right doesn't do anything
anymore and top-left triggers presentwindows for all desktops).
Should make Plasma people happy as well ;-)

svn path=/trunk/KDE/kdebase/workspace/; revision=734423
2007-11-08 20:34:25 +00:00
Rivo Laks bb9ff25ec4 Prevent multiple fullscreen effects from becoming active at the same time as discussed
on kwin ml

svn path=/trunk/KDE/kdebase/workspace/; revision=731717
2007-11-01 17:47:41 +00:00
Stephan Binner 3bff5f0ab2 i18n style guide fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=725921
2007-10-16 15:36:27 +00:00
Andreas Pakulat 39e322fc83 Merge the KConfig branch. This are the 3 main modules (+kdeadmin), which are
needed now because friday is the last BC day. The rest of the modules will
follow as fast as my laptop allows.

svn path=/trunk/KDE/kdebase/workspace/; revision=721704
2007-10-05 22:21:25 +00:00
Rivo Laks 1112d7fd69 Don't scale windows more than 2 times.
This prevents e.g. a quarter-screen big klipper

svn path=/trunk/KDE/kdebase/workspace/; revision=714057
2007-09-18 16:47:32 +00:00
Rivo Laks 84c15214c5 Blend the window labels in/out with the effect
svn path=/trunk/KDE/kdebase/workspace/; revision=709129
2007-09-06 15:50:53 +00:00
Luboš Luňák e6069e9cf6 Arghl. Again a stupid bug caused by float having poor precision.
Reverting r700026 and changing floats to doubles again. I'd probably like
to change even the ones interfacing with OpenGL which I've left for now.


svn path=/trunk/KDE/kdebase/workspace/; revision=707987
2007-09-03 15:00:43 +00:00
Rivo Laks d618ba8d23 Turn paintText() into two generic methods: one just paints the text, the other also paints
background. Move the methods into kwineffects.*

svn path=/trunk/KDE/kdebase/workspace/; revision=707699
2007-09-02 18:20:36 +00:00
Rivo Laks 106fbc23ab - Draw caption for all windows.
- Correctly apply alpha to text as well (in OpenGL mode)

svn path=/trunk/KDE/kdebase/workspace/; revision=707675
2007-09-02 16:43:31 +00:00
Rivo Laks 1a587da8d6 Show caption for active window.
It might be a good idea to even do it for all windows (or maybe with a config option?)

svn path=/trunk/KDE/kdebase/workspace/; revision=707673
2007-09-02 16:30:18 +00:00
Pino Toscano ee84e19a8f less qt3support
svn path=/trunk/KDE/kdebase/workspace/; revision=707454
2007-09-01 22:29:47 +00:00
Rivo Laks 38bc48cb11 Prettify filter box by adding frame around it and prepending "Filter:" to the filter text.
Also add some comments.

svn path=/trunk/KDE/kdebase/workspace/; revision=704435
2007-08-24 21:27:01 +00:00
Thiago Macieira d2aee14a35 Remove use of k_funcinfo
svn path=/trunk/KDE/kdebase/workspace/; revision=702583
2007-08-20 21:33:48 +00:00
Luboš Luňák d846a1e8a9 Use always float as the floating point type for compositing
(http://lists.kde.org/?l=kwin&m=118493073424327&w=2).


svn path=/trunk/KDE/kdebase/workspace/; revision=700026
2007-08-14 15:22:23 +00:00
Laurent Montel 994c800d79 Adapt to new KWarning/kFatal/kDebug api
svn path=/trunk/KDE/kdebase/workspace/; revision=695877
2007-08-03 06:59:24 +00:00
Rivo Laks 7273d0ddb5 Add setTransformed() helper method
svn path=/trunk/KDE/kdebase/workspace/; revision=689913
2007-07-19 14:05:59 +00:00
Luboš Luňák 96aba51960 Add a helper to turn on transparency in pre-paint calls.
svn path=/trunk/KDE/kdebase/workspace/; revision=689910
2007-07-19 13:32:46 +00:00
Rivo Laks 1552ad2c11 Same here: don't render null icons
svn path=/trunk/KDE/kdebase/workspace/; revision=688599
2007-07-16 11:51:54 +00:00
Luboš Luňák 5faa397849 Vertex redesign - redo the way windows are split into smaller parts
for use in effects (and not only). Now a list of window quads (=window areas)
is created at the beginning of the paint pass, prepaint calls can modify
the split itself (i.e. divide it into more parts). The actual paint calls
can then modify these quads (i.e. transform their geometry). This will allow
better control of how the split is done and also allow painting e.g. only
the decoration differently. Still work in progress, but it works.
Also pass data to prepaint functions in a struct, as there is
already quite a number of them.


svn path=/trunk/KDE/kdebase/workspace/; revision=684893
2007-07-07 14:01:32 +00:00
Rivo Laks 913d8395d8 Add window icons to PresentWindows.
Code stolen from BoxSwitch ;-)

svn path=/trunk/KDE/kdebase/workspace/; revision=683858
2007-07-05 11:41:02 +00:00
Pino Toscano 38267e8ac6 less qt3support
svn path=/trunk/KDE/kdebase/workspace/; revision=672194
2007-06-06 10:37:37 +00:00
Rivo Laks ea6f0ae502 - Effects' config module should link to kwineffects and shouldn't link to kutils.
- Make use of the two EffectHandler helper methods: effect config modules now notify KWin that
  corresponding effect should be reloaded when it's config is changed.

svn path=/trunk/KDE/kdebase/workspace/; revision=669436
2007-05-29 11:48:10 +00:00
Rivo Laks c22b4809a5 Add working config modules for PresentWindows and Shadow effects.
You can configure shadow's offset and opacity and presentwindow's mouse activation areas
  (e.g. activate when mouse it at top-right corner).

svn path=/trunk/KDE/kdebase/workspace/; revision=669040
2007-05-28 11:34:12 +00:00
Rivo Laks 041673bf86 Effect's name in KWIN_EFFECT*() macros must now match effect's internal name in .desktop file,
without kwin4_effect_ prefix, so change the name in those macros to lowercase.
Some modifications to the macros themselves as well.

Effect loading via dcop might work again now.

svn path=/trunk/KDE/kdebase/workspace/; revision=669033
2007-05-28 11:16:18 +00:00
Luboš Luňák f52b8e48cd branches/work/kwin_composite becomes new trunk kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
2007-04-29 17:35:43 +00:00
Luboš Luňák 2b7e1f4993 Remove kwin, kwin_composite will become new trunk kwin, missing merges
from trunk will be merged in.


svn path=/trunk/KDE/kdebase/workspace/; revision=659200
2007-04-29 17:34:49 +00:00
Luboš Luňák ffc75a2214 GLTexture::render(), to render to a given QRect
svn path=/branches/work/kwin_composite/; revision=656521
2007-04-21 16:12:03 +00:00
Luboš Luňák cd98bc12d5 Shared implementation of rendering gl geometry.
svn path=/branches/work/kwin_composite/; revision=656516
2007-04-21 16:02:19 +00:00
Luboš Luňák 9268e7b27c Don't reset hover value.
svn path=/branches/work/kwin_composite/; revision=654366
2007-04-15 22:08:18 +00:00
Luboš Luňák 520f3e27ac Rearrange also when the number of presented windows changes.
svn path=/branches/work/kwin_composite/; revision=654365
2007-04-15 22:01:16 +00:00
Luboš Luňák a1fa5c4206 No interpolating when there's no old position, just fade in.
svn path=/branches/work/kwin_composite/; revision=654363
2007-04-15 21:50:00 +00:00
Luboš Luňák f8c84d4310 Don't disable desktop from painting.
svn path=/branches/work/kwin_composite/; revision=654361
2007-04-15 21:42:36 +00:00
Luboš Luňák 257ce3ad99 Find-as-you-type filtering of presented windows.
svn path=/branches/work/kwin_composite/; revision=654360
2007-04-15 21:42:01 +00:00