Commit graph

32 commits

Author SHA1 Message Date
Luboš Luňák
3b57952b03 Take care of #46042. [...resisted to say here something about Motif >;> ]
svn path=/trunk/kdebase/kwin/; revision=174310
2002-08-28 15:17:31 +00:00
Karol Szwed
36aebe0323 Namespace cleanup to prevent crashes due to symbol clashes with RTLD_GLOBAL
svn path=/trunk/kdebase/kwin/; revision=174118
2002-08-27 18:08:20 +00:00
Karol Szwed
a33f4313ab - Removing patch by Diego Iastrubini that attempted to fix the bidi issues in
clients by adding an unnecessary 'enable-bidi' checkbox which was never agreed
  upon on the kwin mailing list.

  The use of --reverse is sufficient without needing this checkbox.
  Please discuss largish patches like these first, especially during a feature
  freeze!

  (Everyone also seems to forget the kwin-styles in kdeartwork)

- Make clients look the same with --reverse instead of the broken state they
  were in previously. If the button ordering is not to your liking in reverse
  mode, just change the button positions. (Or send patches for those clients
  that have not got these features yet).

- Clean up popupMenu handling somewhat.

- Remove a global static object in keramik.

svn path=/trunk/kdebase/kwin/; revision=174079
2002-08-27 15:12:14 +00:00
Diego Iastrubni
27998b71ac dded a new checkbox to kcontrol-> wm -> decorations ->general. By defaut this checkbox is on.
if it's on, kwin clients will reverse thire display when the desktop is reversed (arabic, hebrew etc).

Clinets updated to use this options, and options.h has a few more lines :)
see clients for the changes.

svn path=/trunk/kdebase/kwin/; revision=173581
2002-08-24 12:02:26 +00:00
David Faure
7962136939 CVS_SILENT fixheaders
svn path=/trunk/kdebase/kwin/; revision=117488
2001-10-12 12:29:15 +00:00
Karol Szwed
128d006be8 - Shade/Un-Shade titlebar flicker fix.
svn path=/trunk/kdebase/kwin/; revision=114659
2001-09-18 11:43:37 +00:00
Ralf Nolden
278c511d4f this is the actual bugfix from Gallium for the window decorations. This is
his part of the patch, works fine but there's just the re-check needed to
be added so when the effect for tooltips changes, the deco's tooltips take
this as well. There are no new strings except the Un-Sticky tooltip, all
others are translated. thd@kde.org agreed on the strings.

svn path=/trunk/kdebase/kwin/; revision=104585
2001-07-01 10:10:17 +00:00
Ralf Nolden
5781bbadac readded modernsystem style as that is needed by kpersonalizer. Gallium
takes over maintenance and there are several additions and changes from
Melchior Franz anyway

svn path=/trunk/kdebase/kwin/; revision=103041
2001-06-19 15:26:48 +00:00
Daniel M. Duley
29af54215b Removing the styles I wrote except the default one, and will be maintaining
them outside of CVS.

svn path=/trunk/kdebase/kwin/; revision=102431
2001-06-16 00:48:49 +00:00
Karol Szwed
3ecb89d03f Removed some unused headers, and made titlebar buttons visible
on isMinimizable() and isMaximizable()

svn path=/trunk/kdebase/kwin/; revision=100360
2001-06-04 12:32:26 +00:00
Karol Szwed
e7a3ecfd82 Added patch by Melchior to move the [ModernSystem] section in the kwinrc
file into kwinmodernsysrc

svn path=/trunk/kdebase/kwin/; revision=99266
2001-05-29 07:10:17 +00:00
Karol Szwed
070353f3f5 Adding a few cleanups by Melchior
svn path=/trunk/kdebase/kwin/; revision=96754
2001-05-13 05:47:49 +00:00
Luboš Luňák
f84c7a340a Move the configuration options for custom button positions to kwin from
the plugins. And I even resisted to break BC in kwin again even though
I could :).

svn path=/trunk/kdebase/kwin/; revision=94905
2001-05-03 08:06:28 +00:00
Karol Szwed
60121852e5 Renamed CustomButtonOrder to CustomButtonPositions to make button order
configurable after kwindecoration change.

svn path=/trunk/kdebase/kwin/; revision=93571
2001-04-23 12:05:55 +00:00
Karol Szwed
45dea027b3 Added patch by Melchior Franz, which was given the ok by Mosfet.
The patch allows the modsystem handle to be shown / hidden, and
adds a config plugin for kwindecoration where this can be configured.

svn path=/trunk/kdebase/kwin/; revision=93544
2001-04-23 07:37:23 +00:00
Waldo Bastian
57f4808d0f Make resource management in clients easier with these three functions:
init() called after client got loaded
deinit() called when client is about to get unloaded
reset() called once before Options::resetClients() is emitted

svn path=/trunk/kdebase/kwin/; revision=93372
2001-04-22 05:39:17 +00:00
Waldo Bastian
90379156ab No static objects.
svn path=/trunk/kdebase/kwin/; revision=93359
2001-04-22 01:53:54 +00:00
Luboš Luňák
08e9327f24 use setBackgroundMode( NoBackground ) - reduces flickering and doesn't
seem to cause repaint problems

svn path=/trunk/kdebase/kwin/; revision=92918
2001-04-19 19:31:30 +00:00
Waldo Bastian
2f90225543 Put stuff in KWinInternal namespace.
Export client.h, workspace.h and options.h so that people can write plugins.

svn path=/trunk/kdebase/kwin/; revision=83707
2001-02-20 01:20:38 +00:00
Waldo Bastian
8f36a1cb5c WABA: Fixed "maximize" with MMB and RMB.
Based on a patch Boudewijn Rempt <boud2@rempt.xs4all.nl>

svn path=/trunk/kdebase/kwin/; revision=69005
2000-10-26 21:56:18 +00:00
Matthias Ettrich
6dacbd0112 tool window handling for the default style
visible dialogs for stays-on-top fullscreen windows (helps with Konqueror's dialogs)
Fixed lock with Alt-Tab box plus accelerator

svn path=/trunk/kdebase/kwin/; revision=65241
2000-09-25 15:30:51 +00:00
Waldo Bastian
5e3b53660d WABA: Fixed #8656 kwin titlebar: doubleclick does not maximize
if (titlebar->geometry().contains( e->pos() ) )
-        setShade( !isShade() );
+       workspace()->performWindowOperation( this, options->operationTitlebarDblClick() );
     workspace()->requestFocus( this );

svn path=/trunk/kdebase/kwin/; revision=63485
2000-09-11 03:34:01 +00:00
Daniel M. Duley
ee5f19c686 Improved highcolor buttons, and switched to the circular sticky thingy. I'll
post to core-devel in a sec.

svn path=/trunk/kdebase/kwin/; revision=63099
2000-09-08 00:38:29 +00:00
Michael Matz
160a2d549b Away with the *.moc.* files.
svn path=/trunk/kdebase/kwin/; revision=54907
2000-06-29 21:36:40 +00:00
Matthias Ettrich
68510e52c8 one does not have to exeggerate...
svn path=/trunk/kdebase/kwin/; revision=48848
2000-05-08 12:28:30 +00:00
Matthias Ettrich
9a70b16933 being able to resize at the bottom or right edge is good
svn path=/trunk/kdebase/kwin/; revision=48846
2000-05-08 12:18:26 +00:00
Daniel M. Duley
2021961a07 Fix repainting the handle when shaded.
svn path=/trunk/kdebase/kwin/; revision=47777
2000-04-28 22:00:06 +00:00
Daniel M. Duley
360e0b7686 Lowcolor version.
svn path=/trunk/kdebase/kwin/; revision=47775
2000-04-28 21:47:01 +00:00
Daniel M. Duley
0527ea967c Repaint the frame after color scheme changes.
svn path=/trunk/kdebase/kwin/; revision=47761
2000-04-28 16:40:30 +00:00
Daniel M. Duley
b58843030c Final updates for the new button color implementation. The options class
now only has one button entry, "ButtonBg", instead of 3. It's up to the client
what to do with it. All the clients are updated except mwm. As the
author noted in his README, mwm isn't Motif window manager at all but KStep ;-)
I disabled it for now until there is new drawing code in there, it would
confuse users anyways since were about to release another Krash and it is
identical to KStep.

Also, I removed the Groove and GrooveText color entries. We now use the
normal TitleBar and Font entries. Hence system will probably look funny until
you adjust the colors since it draws text on the frame and not the titlebar
bg. All the rest look much better by default.

To configure button colors set the active/inactive button background color
in KControl. I'll remove the other entries ASAP. You'll also note that the
active/inactive colors are now actually what you would expect.

svn path=/trunk/kdebase/kwin/; revision=47753
2000-04-28 15:53:00 +00:00
Daniel M. Duley
82316c4893 Repaing fix for when inactive != active colors.
svn path=/trunk/kdebase/kwin/; revision=47728
2000-04-28 09:56:45 +00:00
Daniel M. Duley
0ae123ceef Cool new Kwin C++ style engine - Modern system :) This uses buttons orignally
from the KStyle aqua theme - color reduced, converted to bitmaps, and drawn
using the color scheme. The buttons in different color schemes shows why it's
really cool to support dynamic C++ engines as well as pixmap themes ;-) Also
uses a small frame with a resize handle and mac-like (hehe - of course ;-)
drawing for everything else.

Preliminary screenshots with different color schemes are at:
http://www.mosfet.org/modern-0428.html

svn path=/trunk/kdebase/kwin/; revision=47624
2000-04-27 11:29:25 +00:00