Commit graph

442 commits

Author SHA1 Message Date
Luciano Montanaro
4f8f89cf46 CCMAIL: kwin@kde.org
Fixed the misrendered shaded border.
For me, the problem was fixed by redoing the layout in the shapeChange()
function. Maybe the other styles have to modified in a similar way.

I'd like to reduce the width of the window border to the titlebar width only,
instead of the full window border. In the BeeToo, I obtain a similar effect by
painting the titlebar only, but the trick is revealed by the window snap zones,
and the transparent border. Is there a way to do this cleanly with current kwin?

svn path=/trunk/kdebase/kwin/; revision=255364
2003-10-01 12:55:55 +00:00
Luciano Montanaro
ba06d6afbf Fixed bug #46966 using the first of the suggested methods.
The second part of the bug report does not seem to apply to any other
decoration in CVS.

Removed redundant copies of MouseEvents, since I were at it.

svn path=/trunk/kdebase/kwin/; revision=255165
2003-09-30 18:13:18 +00:00
Gunnar Schmidt
59e880217f Added the wide-borders feature to the Quartz decoration
svn path=/trunk/kdebase/kwin/; revision=254896
2003-09-29 16:35:12 +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
a406bee353 Let decoration get show/hide events when showing/hiding the frame.
svn path=/trunk/kdebase/kwin/; revision=254814
2003-09-29 11:21:11 +00:00
Gunnar Schmidt
bb54822810 Added the wide-borders feature to the KDE2 decoration
svn path=/trunk/kdebase/kwin/; revision=254590
2003-09-28 14:06:52 +00:00
Gunnar Schmidt
80e11df49c Corrected the size of the diagonal resize corners
svn path=/trunk/kdebase/kwin/; revision=254588
2003-09-28 13:58:33 +00:00
Harald Fernengel
ccdafde758 build
svn path=/trunk/kdebase/kwin/; revision=254548
2003-09-28 11:11:46 +00:00
Gunnar Schmidt
5b518b57b0 Added the wide-borders feature to the Keramik decoration
svn path=/trunk/kdebase/kwin/; revision=254531
2003-09-28 09:59:11 +00:00
Gunnar Schmidt
219d1f6cca Added the border size feature to the Modern System decoration
The current implementation does not offer the largest two sizes as for those the buttons need to be scaled (which requires bigger changes as the buttons are based on pixmaps).

svn path=/trunk/kdebase/kwin/; revision=254093
2003-09-26 12:09:20 +00:00
Gunnar Schmidt
46d91e95da Added the border size feature to the Redmond decoration
svn path=/trunk/kdebase/kwin/; revision=254092
2003-09-26 12:06:58 +00:00
Gunnar Schmidt
556c95ec32 added the borderSizes() method to the Plastik decoration and corrected the parameters of the borderSizes() method in the KStep decoration
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253697
2003-09-24 20:02:35 +00:00
Luboš Luňák
67e894e1c6 Update for recent API change.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253675
2003-09-24 18:59:07 +00:00
Luciano Montanaro
866fc75200 'static' and 'const' added to local variables and pixmap data.
svn path=/trunk/kdebase/kwin/; revision=253599
2003-09-24 14:35:18 +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
Luciano Montanaro
89cd9ee65b Made bitmap data constant etc.
svn path=/trunk/kdebase/kwin/; revision=253545
2003-09-24 11:06:08 +00:00
Luboš Luňák
22979730ee Don't use the already installed headers.
svn path=/trunk/kdebase/kwin/; revision=253537
2003-09-24 10:54:13 +00:00
Sandro Giessl
b8c3c6667b Removed pieces of Knifty which I forgot to remove earlier...
Has caused plugin loading problems for some people.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253453
2003-09-23 21:16:46 +00:00
Sandro Giessl
863057e660 - The decoration should be useable in reverse layout mode now.
- Readding the possibility to close windows by double clicking the menu
  button on request, setting disabled by default.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253432
2003-09-23 20:39:13 +00:00
Gunnar Schmidt
89601d5312 Changed the KStep and Plastik window decorations to respect the two new (extra wide) border sizes
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253351
2003-09-23 14:45:56 +00:00
Gunnar Schmidt
1f560dbba0 Changed the Web window decoration to respect the two new (extra wide) border sizes
svn path=/trunk/kdebase/kwin/; revision=253349
2003-09-23 14:40:18 +00:00
Luciano Montanaro
adf7e8bad8 Override default drawbounds().
Now when "Display contents of moving/resizing" windows is disabled, a polygon
approximating the window shape is shown instead of the normal rectangle.

svn path=/trunk/kdebase/kwin/; revision=252937
2003-09-21 20:43:44 +00:00
Luciano Montanaro
ef476127f8 Found the correct method to send mousepresses to kwin. I still miss the
mouserelease, though.

svn path=/trunk/kdebase/kwin/; revision=252930
2003-09-21 20:14:26 +00:00
Kevin Puetz
3b502ae558 b2 needs to check in the right include path also
svn path=/trunk/kdebase/kwin/; revision=252759
2003-09-21 03:42:11 +00:00
Luciano Montanaro
b3792f72bb Enabled the compilation of b2
svn path=/trunk/kdebase/kwin/; revision=252656
2003-09-20 17:46:38 +00:00
Luciano Montanaro
bfd4eccd49 CCMAIL: kwin@kde.org
Ported b2 to the new api.  Well, some stuff does not yet work, but I'll work on
that later, and I'll need some assistance for the Automatic titlebar movement.

There is also a bug when shading the window, but on the bright side,
the client more or less works.

svn path=/trunk/kdebase/kwin/; revision=252655
2003-09-20 17:44:49 +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
Fredrik Höglund
c6390bdf4c - Use KDecorationFactory::resetDecorations() instead of a custom signal/slot.
- Fixed the crashes reported on the kwin mailing list.
- Various cleanups.

svn path=/trunk/kdebase/kwin/; revision=252169
2003-09-18 17:07:49 +00:00
Sandro Giessl
5f6bd80480 activate Quartz
svn path=/trunk/kdebase/kwin/; revision=252150
2003-09-18 15:27:39 +00:00
Sandro Giessl
1ba98c8ef6 - Ported to the new style API, hope everything is ok.
- Hide borders for maximized windows if the kwin "allow moving and resizing of maximized
windows" setting is disabled.

svn path=/trunk/kdebase/kwin/; revision=252148
2003-09-18 15:27:12 +00:00
Sandro Giessl
09d670bc4c activate Web.
svn path=/trunk/kdebase/kwin/; revision=252140
2003-09-18 15:00:05 +00:00
Sandro Giessl
d82cbed7c0 - Ported to the new style API, hope everything is ok.
- Respect KWins' border size suggestion.

svn path=/trunk/kdebase/kwin/; revision=252139
2003-09-18 14:59:47 +00:00
Sandro Giessl
f23a3b153a - Ported to the new kwin style API.
- Don't close the window when double clicking on the menu button.
- Reorganized the settings dialog:
  * "border size" has moved to the kwin core.
  * "shrink borders for maximized windows" has moved to the kwin "allow moving and resizing of maximized windows" setting.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=251940
2003-09-17 18:43:17 +00:00
Stefan Gehn
89f3ba455a somebody forgot installing its desktop file
svn path=/trunk/kdebase/kwin/; revision=251937
2003-09-17 18:41:27 +00:00
Luboš Luňák
56609fc014 Some updates.
svn path=/trunk/kdebase/kwin/; revision=251890
2003-09-17 15:47:27 +00:00
Luciano Montanaro
4aa26e6ddb Fixed resize artifacts
svn path=/trunk/kdebase/kwin/; revision=251862
2003-09-17 14:25:14 +00:00
Luboš Luňák
87fa54326f As kdelibs/NAMING says, using lib<appname>.la as name for a library is bad.
Library name changed to libkdecorations.la .

svn path=/trunk/kdebase/kwin/; revision=251859
2003-09-17 14:23:53 +00:00
Luboš Luňák
c33987fd9e I forgot to enable compilation of Redmond.
svn path=/trunk/kdebase/kwin/; revision=251858
2003-09-17 14:12:51 +00:00
Luboš Luňák
48af013ee1 Fix reseting.
svn path=/trunk/kdebase/kwin/; revision=251826
2003-09-17 11:44:33 +00:00
Luciano Montanaro
5f0056e873 Appied Lubos patch for the renamed slots.
svn path=/trunk/kdebase/kwin/; revision=251789
2003-09-17 09:23:08 +00:00
Luciano Montanaro
af5c35303f Enabled laptop client
svn path=/trunk/kdebase/kwin/; revision=251778
2003-09-17 08:54:18 +00:00
Luciano Montanaro
6becc8bb5f Ported client to kwin_iii
svn path=/trunk/kdebase/kwin/; revision=251777
2003-09-17 08:53:04 +00:00
Luboš Luňák
8c0404ee31 Improve reseting of the decoration.
svn path=/trunk/kdebase/kwin/; revision=251774
2003-09-17 08:37:56 +00:00
Luboš Luňák
7b0773facd Redmond style merged back from kwin_iii to HEAD, done by Chris Lee.
svn path=/trunk/kdebase/kwin/; revision=251771
2003-09-17 08:27:26 +00:00
Frerich Raabe
6c74979d72 - --warnings
svn path=/trunk/kdebase/kwin/; revision=251634
2003-09-16 19:57:44 +00:00
Luboš Luňák
d05a0d438a Enable only ported decorations, and also merge back the testing
decoration.

svn path=/trunk/kdebase/kwin/; revision=251627
2003-09-16 19:41:07 +00:00
Luboš Luňák
aa986329ac Merging back the KDE2 default decoration from kwin_iii to HEAD.
The config/ subdir is not updated, is kept from HEAD.

svn path=/trunk/kdebase/kwin/; revision=251624
2003-09-16 19:40:44 +00:00
Luboš Luňák
216d330162 Merging back the Keramik decoration from kwin_iii to HEAD.
svn path=/trunk/kdebase/kwin/; revision=251623
2003-09-16 19:40:07 +00:00
Luboš Luňák
813ce7ccce Merging back the ModernSys decoration from kwin_iii to HEAD.
The config/ subdir is not updated (and thus it keeps the changes done
in HEAD).

svn path=/trunk/kdebase/kwin/; revision=251622
2003-09-16 19:37:46 +00:00
Dirk Mueller
34427cb289 compile
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=250061
2003-09-10 17:58:07 +00:00