Commit graph

27 commits

Author SHA1 Message Date
Luboš Luňák
1397ebb5eb No double-buffering for decorations, the memory taken
by such backing pixmaps would be quite noticeable.


svn path=/branches/work/kwin_composite/; revision=632377
2007-02-10 21:50:43 +00:00
Laurent Montel
012be9b663 Fix compile with compilator!=gcc
svn path=/trunk/KDE/kdebase/workspace/; revision=604645
2006-11-13 15:31:59 +00:00
Luboš Luňák
a23d4f820b These warnings were pretty annoying.
svn path=/branches/work/kwin_composite/; revision=558180
2006-07-04 20:23:29 +00:00
Laurent Montel
5725624c8b #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/workspace/; revision=540496
2006-05-13 16:33:18 +00:00
Sandro Giessl
fdb1b61473 Make kwin decorations API free of Qt3 support members
svn path=/trunk/KDE/kdebase/workspace/; revision=515804
2006-03-04 22:27:27 +00:00
Laurent Montel
1c3e66488b Adapt to new kde4 api
Remove some qt3support

svn path=/trunk/KDE/kdebase/workspace/; revision=478902
2005-11-08 10:20:07 +00:00
Stephan Kulow
6c821aba01 some more compiling
svn path=/trunk/KDE/kdebase/workspace/; revision=473006
2005-10-22 11:35:06 +00:00
Stephan Kulow
b464518b3c svn merge svn+ssh://coolo@svn.kde.org/home/kde/trunk/KDE/kdebase@438057
svn+ssh://coolo@svn.kde.org/home/kde/branches/work/kde4/kdebase
          .

I couldn't resolve one kicker conflict that results from different
development directions, so I rely on Aaron to sort it out - the file
is commited with conflicts

svn path=/trunk/KDE/kdebase/kwin/; revision=439627
2005-07-28 14:59:42 +00:00
Luboš Luňák
fc90a04635 Make it possible to do all kinds of strange things when mousewheeling
the titlebar or Alt+mousewheeling the window.
FEATURE:44318
FEATURE:66519
FEATURE:76188


svn path=/trunk/KDE/kdebase/kwin/; revision=410058
2005-05-06 15:20:49 +00:00
Luboš Luňák
aa28465df5 I think I got persuaded that having a direct access to the decorated
window might be useful in very very very rare cases.

svn path=/trunk/kdebase/kwin/; revision=368911
2004-12-06 15:46:27 +00:00
Luboš Luňák
43f9553004 Adding yet another option, this time for what happens when clicking
the maximize button.

svn path=/trunk/kdebase/kwin/; revision=342186
2004-08-28 15:27:22 +00:00
Luboš Luňák
f5668e9dff Explain in docs how to do maximize + convenience function.
svn path=/trunk/kdebase/kwin/; revision=331721
2004-07-22 11:17:16 +00:00
Luciano Montanaro
7240bff8f1 Added a new variant of showWindowMenu() that takes an originating rect instead
of a point. This method should be preferred to bring up the actions menu  from
the menu button, since it makes it a bit harder to select a menu item
involuntaryily in some corner case.

svn path=/trunk/kdebase/kwin/; revision=317016
2004-06-02 09:47:36 +00:00
Luboš Luňák
dd81cc4c6e Use the actual border sizes instead of hardcoded 4 for mousePosition(),
so that this is more flexible and decorations don't have to reimplement
it completely.

svn path=/trunk/kdebase/kwin/; revision=296910
2004-03-18 16:56:11 +00:00
Luboš Luňák
d445cb905e Avoid warning.
svn path=/trunk/kdebase/kwin/; revision=279594
2004-01-14 12:01:09 +00:00
Benjamin Meyer
2635bda927 Added ifdef around the x11 includes when building --without-x
svn path=/trunk/kdebase/kwin/; revision=273871
2003-12-19 14:01:43 +00:00
Luboš Luňák
2197c646eb Reserve one virtual function in the interface that I plan to use after 3.2.
svn path=/trunk/kdebase/kwin/; revision=273149
2003-12-15 15:18:10 +00:00
Luboš Luňák
569224d117 Replace the temporary MousePosition enum naming with something that
doesn't look so silly and doesn't conflict with Qt.

svn path=/trunk/kdebase/kwin/; revision=273144
2003-12-15 15:10:17 +00:00
Luboš Luňák
c26c55787f Remove some obsolete comments.
svn path=/trunk/kdebase/kwin/; revision=273143
2003-12-15 14:44:17 +00:00
Luboš Luňák
0ba12a0837 Perform whole new window managing with X server grab, in order to prevent
"smart" apps from doing stupid things before they get MapNotify.
This avoids the recent Java+OracleInstaller strange problem too.
The patch may look huge, but it's only adding two KWin wrappers
for X(Un)GrabServer() and uncommenting the calls in Client::manage().

svn path=/trunk/kdebase/kwin/; revision=271152
2003-12-04 13:54:10 +00:00
Luboš Luňák
4ee178b277 Fix #69005 - make it possible to differentiate between a window really
being shaded and being set to be shaded (which may differ with hover unshade).

svn path=/trunk/kdebase/kwin/; revision=269526
2003-11-25 15:26:50 +00:00
Luboš Luňák
b884178c99 KDecoration::unobscuredRegion(), for B2 titlebar unhiding.
svn path=/trunk/kdebase/kwin/; revision=262494
2003-10-27 16:28:53 +00:00
Luboš Luňák
81e475c523 Make it possible to find out window type also in createDecoration().
svn path=/trunk/kdebase/kwin/; revision=254816
2003-09-29 11:21:46 +00:00
Luboš Luňák
cefae8f1e4 Allows the decorations to specify which border sizes they support.
Also added GUI for the border size, not perfect, but it's there.

svn path=/trunk/kdebase/kwin/; revision=253572
2003-09-24 12:41:56 +00:00
Luboš Luňák
9fac9d2a43 Fixes for mousePosition().
Since Qt propagates mouse events up the widget hierarchy, it's better
to filter out Qt events rather than X events for the decoration.

svn path=/trunk/kdebase/kwin/; revision=252346
2003-09-19 11:11:07 +00:00
Luboš Luňák
586b2c8fd2 Fix --enable-final.
svn path=/trunk/kdebase/kwin/; revision=251775
2003-09-17 08:38:14 +00:00
Luboš Luňák
613d583174 Merging decoration library from kwin_iii back to HEAD.
svn path=/trunk/kdebase/kwin/; revision=251611
2003-09-16 19:29:21 +00:00