Commit graph

20198 commits

Author SHA1 Message Date
Luboš Luňák
9400def76b Set also original position when making a copy of a quad.
svn path=/trunk/KDE/kdebase/workspace/; revision=689924
2007-07-19 14:53:37 +00:00
Luboš Luňák
4dd8d34c8f Don't make texture coordinates in WindowVertex public at all,
the meaning may possibly change in the future if more than one texture
is used. Instead store original coordinates.


svn path=/trunk/KDE/kdebase/workspace/; revision=689918
2007-07-19 14:35:55 +00:00
Luboš Luňák
ac42ba0b4f A simple solution for alpha channel hacks - ignore them :).
The 'ignore ARGB visuals' option from Kompmgr probably doesn't make
much sense, those (usually old) apps can be run with XLIB_SKIP_ARGB_VISUALS=1 set.
Also remove the alpha clear hack used for decorations - I think decorations
instead should be fixed not to "unintentionally" have alpha set.


svn path=/trunk/KDE/kdebase/workspace/; revision=689916
2007-07-19 14:23:11 +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
Luboš Luňák
22c8626868 Add a TODO note.
svn path=/trunk/KDE/kdebase/workspace/; revision=689904
2007-07-19 12:53:14 +00:00
Luboš Luňák
1d0a35fce7 It should be possible to have window rules for unmanaged windows as well.
svn path=/trunk/KDE/kdebase/workspace/; revision=689902
2007-07-19 12:51:15 +00:00
Luboš Luňák
e1c5f18414 Separate rendering for decoration and window contents, they can have
different opacity (opacity only for decoration option).


svn path=/trunk/KDE/kdebase/workspace/; revision=689855
2007-07-19 10:07:49 +00:00
Script Kiddy
6b71cd62db SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=689774
2007-07-19 05:35:59 +00:00
Matthew Woehlke
1cfffc602e move oxygen code that will be shared by the style into its own .cpp/.h
svn path=/trunk/KDE/kdebase/workspace/; revision=689747
2007-07-19 01:32:16 +00:00
Luboš Luňák
b7ae1af212 Pedantic.
svn path=/trunk/KDE/kdebase/workspace/; revision=689597
2007-07-18 16:42:21 +00:00
Luboš Luňák
c29c66832d Make quads carry information about whether the quad is part
of decoration or the actual window contents.


svn path=/trunk/KDE/kdebase/workspace/; revision=689554
2007-07-18 15:01:59 +00:00
Script Kiddy
f0aaf16e6a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=689367
2007-07-18 05:47:25 +00:00
Matthew Woehlke
ca0838643d fix lower color, thanks for keeping me honest boemann :-)
svn path=/trunk/KDE/kdebase/workspace/; revision=689245
2007-07-17 23:50:33 +00:00
Matthew Woehlke
1768ac296c fix windeco to use KColorScheme also, see r689219
TODO: share this code so it doesn't need to be fixed twice :-)

svn path=/trunk/KDE/kdebase/workspace/; revision=689244
2007-07-17 23:35:44 +00:00
Luboš Luňák
ea944065c7 Arghl, this is not static const, it changes.
svn path=/trunk/KDE/kdebase/workspace/; revision=689136
2007-07-17 18:14:17 +00:00
Luboš Luňák
f1108dd13a Let's say the copy buffer hack for old nvidia drivers is not necessary these days.
svn path=/trunk/KDE/kdebase/workspace/; revision=689095
2007-07-17 16:01:07 +00:00
Luboš Luňák
263defdb87 Detect XRender initialization failures.
svn path=/trunk/KDE/kdebase/workspace/; revision=688970
2007-07-17 11:02:27 +00:00
Luboš Luňák
7b054df213 More debug info about possible initialization failures.
svn path=/trunk/KDE/kdebase/workspace/; revision=688960
2007-07-17 10:38:12 +00:00
Casper Boemann
3e024ce5e6 fix small visual error in upper right corner
svn path=/trunk/KDE/kdebase/workspace/; revision=688743
2007-07-16 18:52:40 +00:00
Casper Boemann
f153aad996 change the background as nuno wants
svn path=/trunk/KDE/kdebase/workspace/; revision=688728
2007-07-16 18:01:27 +00:00
Luboš Luňák
fd50ea91da Turned off by default - it uses shaders, and here it gives strange painting
errors (probably because of missing support).


svn path=/trunk/KDE/kdebase/workspace/; revision=688692
2007-07-16 16:11:10 +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
Rivo Laks
1ec2b1d228 Don't try to draw icon for windows that don't have one
svn path=/trunk/KDE/kdebase/workspace/; revision=688598
2007-07-16 11:50:01 +00:00
Script Kiddy
faf536a3b8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=688446
2007-07-16 05:54:55 +00:00
Andreas Hartmetz
ce7709855d port *ahem* kdebase to the new way of doing global shortcuts
svn path=/trunk/KDE/kdebase/workspace/; revision=688440
2007-07-16 04:10:49 +00:00
Casper Boemann
fb78c8f6ad update windec to have same background as new style
get rid of xrender stuff
did this to get smooth painting:
    widget()->setAttribute( Qt::WA_PaintOnScreen, false);



svn path=/trunk/KDE/kdebase/workspace/; revision=688425
2007-07-16 02:12:45 +00:00
Stephan Kulow
19d0dab807 init it with something. Even though it looks like it should
rather continue? (CID 3919)

svn path=/trunk/KDE/kdebase/workspace/; revision=688152
2007-07-15 08:13:04 +00:00
Script Kiddy
6ea0340fb7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=688104

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

M	wallpapers/KDE34.png.desktop
M	wallpapers/kde_box.png.desktop
2007-07-15 05:44:15 +00:00
Pino Toscano
d7b200945d use QtModule/QFoo includes
svn path=/trunk/KDE/kdebase/workspace/; revision=687987
2007-07-14 23:26:49 +00:00
Pino Toscano
0b6477e90e use QtModule/QFoo includes
svn path=/trunk/KDE/kdebase/workspace/; revision=687972
2007-07-14 22:40:00 +00:00
Rivo Laks
11cff2c158 Add LookingGlass, a fancier-looking magnifier.
svn path=/trunk/KDE/kdebase/workspace/; revision=687380
2007-07-13 13:22:09 +00:00
Rivo Laks
b027b57233 Shaders can now use cursorX and cursorY uniform variables
svn path=/trunk/KDE/kdebase/workspace/; revision=687375
2007-07-13 13:10:31 +00:00
Philip Falkner
1fcb1967fe Zack's receent patch to Qt defaulting to ARGB visuals where possible
exposed a bug in our (ab)use of QX11Info::appDepth().  Make sure that
our buffers match the depth of the root window.

Thanks to Fredrik for the hint about DefaultDepth().


svn path=/trunk/KDE/kdebase/workspace/; revision=686998
2007-07-12 16:50:52 +00:00
Script Kiddy
28b7aaff53 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=686328
2007-07-11 04:56:34 +00:00
Laurent Montel
5257c7f9aa Remove not necessary cmake variable (already defined
into lib dependancy)


svn path=/trunk/KDE/kdebase/workspace/; revision=686169
2007-07-10 19:37:23 +00:00
Allen Winter
5c93175949 remove kde4_automoc()
svn path=/trunk/KDE/kdebase/workspace/; revision=685984
2007-07-10 09:14:12 +00:00
Script Kiddy
8e937c9c2e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=685927

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

M	wallpapers/sunshine-after-the-rain.jpg.desktop
2007-07-10 04:37:45 +00:00
Philip Falkner
69cbe51a4e Make BoxSwitch follow the KDE colour scheme.
svn path=/trunk/KDE/kdebase/workspace/; revision=685844
2007-07-09 21:05:59 +00:00
Philip Falkner
8b5806b90d Add support for window/desktop captions to BoxSwitch.
svn path=/trunk/KDE/kdebase/workspace/; revision=685843
2007-07-09 21:05:34 +00:00
Script Kiddy
66c8ac6103 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=685502
2007-07-09 04:50:47 +00:00
Philip Falkner
16317c3f39 Make use of the effects loading order capability; effect interaction
should be a little nicer now.


svn path=/trunk/KDE/kdebase/workspace/; revision=685472
2007-07-09 01:12:32 +00:00
Script Kiddy
96f194ed10 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=685143
2007-07-08 04:44:31 +00:00
Laurent Montel
3bed1dac22 Add file to extract i18n
svn path=/trunk/KDE/kdebase/workspace/; revision=685021
2007-07-07 22:15:32 +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
Luboš Luňák
d265b34760 We'll need something to check versions with changing API.
svn path=/trunk/KDE/kdebase/workspace/; revision=684887
2007-07-07 13:52:17 +00:00
Luboš Luňák
31fbf4317e Uninitialized variable.
svn path=/trunk/KDE/kdebase/workspace/; revision=684498
2007-07-06 18:29:33 +00:00
David Faure
407812ff6f Next patch from Christian Spiel, ++it instead of it++
svn path=/trunk/KDE/kdebase/workspace/; revision=684303
2007-07-06 13:39:03 +00:00
Rivo Laks
6c8b18f379 Add support for effect ordering.
Effects can now have e.g.  X-Ordering=10  field in their .desktop file. The bigger the number,
  the later the effect comes.

svn path=/trunk/KDE/kdebase/workspace/; revision=684272
2007-07-06 12:38:41 +00:00
Rivo Laks
e1728afc9b Unbreak build
svn path=/trunk/KDE/kdebase/workspace/; revision=684262
2007-07-06 12:23:34 +00:00