Commit graph

55 commits

Author SHA1 Message Date
Luboš Luňák
ced5ab580a Die, window type override, die! Since nobody really knows what this window
type means anyway, let's simply consider it to be a legacy way of saying "noborder"
and nothing more.


svn path=/trunk/KDE/kdebase/kwin/; revision=412372
2005-05-11 14:20:54 +00:00
André Wöbbeking
841b7887a1 --warnings: unused variable
svn path=/trunk/kdebase/kwin/; revision=406133
2005-04-17 18:05:08 +00:00
Sandro Giessl
99c7f10187 fall back to KCommonDecoration::layoutMetric
svn path=/trunk/kdebase/kwin/; revision=400746
2005-03-26 13:18:32 +00:00
Sandro Giessl
b356373b1e remove unnecessary includes
svn path=/trunk/kdebase/kwin/; revision=400264
2005-03-24 16:34:08 +00:00
Sandro Giessl
f8f7122877 Port to KCommonDecoration. Also tried to eliminate the flickering by
not using PaletteBackground background mode for the widget anymore and instead
painting everything myself (also results in ~35% less rendering time for
100000 repaints).

svn path=/trunk/kdebase/kwin/; revision=399849
2005-03-22 23:03:13 +00:00
Sandro Giessl
dc5ad94cf6 Another patch by Knut Johansson:
- Respect custom button positions
- Correct button Abilities

The only thing I changed was to replace the qlayout.h include with a
simple class declaration... otherwise looks good to me.

CCMAIL: knut@johansson.com

svn path=/trunk/kdebase/kwin/; revision=383321
2005-01-28 17:06:35 +00:00
Dirk Mueller
5b5ab45fbf fix export's
svn path=/trunk/kdebase/kwin/; revision=364795
2004-11-21 16:19:09 +00:00
Sandro Giessl
27be3a1885 consistent preview label
svn path=/trunk/kdebase/kwin/; revision=360767
2004-11-05 17:02:03 +00:00
Sandro Giessl
e0bd1cf554 now all clients kdebase announce their supported buttons.
CCBUG: 83499

svn path=/trunk/kdebase/kwin/; revision=360736
2004-11-05 15:33:09 +00:00
Luciano Montanaro
6417a92276 fixed maximized border size.
svn path=/trunk/kdebase/kwin/; revision=333565
2004-07-28 17:06:21 +00:00
Stephan Kulow
fdbebdc4c0 fixed typo
svn path=/trunk/kdebase/kwin/; revision=332526
2004-07-25 11:55:16 +00:00
Luciano Montanaro
f97504d748 Use new common maximize() method.
svn path=/trunk/kdebase/kwin/; revision=332170
2004-07-23 23:10:19 +00:00
Stephan Binner
c0c7fe46d6 CVS_SILENT i18n style guide fixes
svn path=/trunk/kdebase/kwin/; revision=324065
2004-06-27 16:18:56 +00:00
Luciano Montanaro
ef20b9749d Updated my mail address
svn path=/trunk/kdebase/kwin/; revision=313177
2004-05-21 10:37:36 +00:00
Sandro Giessl
9268d2acdb Set the current window state when initializing OnAllDesktop buttons. (#71531)
svn path=/trunk/kdebase/kwin/; revision=278218
2004-01-09 18:20:29 +00:00
Sandro Giessl
ee078866de "Sticky" -> "On All Desktops" (string is already present)
svn path=/trunk/kdebase/kwin/; revision=277570
2004-01-07 14:45:09 +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
Sandro Giessl
69f858427e Make titlebar buttons only react on left-click, if they have one function
only.

CCMAIL: 58220-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=263874
2003-11-02 11:03:41 +00:00
Luboš Luňák
abdfd596b2 And one more case of flickering ... how comes nobody complained?
svn path=/trunk/kdebase/kwin/; revision=263250
2003-10-30 18:01:43 +00:00
Luciano Montanaro
fc334ef5c1 Renamed class LaptopClientButton to LaptopButton
svn path=/trunk/kdebase/kwin/; revision=257972
2003-10-11 12:34:09 +00:00
Luciano Montanaro
13037237fc CCMAIL: Gunnar Schmi Dt <gunnar@schmi-dt.de>
Applied Gunnar's patch, tweaked minimumSize()

svn path=/trunk/kdebase/kwin/; revision=256483
2003-10-05 14:23:10 +00:00
Luciano Montanaro
7f6a69be67 Fixed bottom border rendering, made titlebar at least as large as the resize
handle, like the other decorations do.

svn path=/trunk/kdebase/kwin/; revision=256350
2003-10-04 23:55:55 +00:00
Luciano Montanaro
ea9742f367 Implemented basics of accessibility support. I'll tweak it a bit more later on.
svn path=/trunk/kdebase/kwin/; revision=255711
2003-10-02 16:46:13 +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
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
Luciano Montanaro
4aa26e6ddb Fixed resize artifacts
svn path=/trunk/kdebase/kwin/; revision=251862
2003-09-17 14:25:14 +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
6becc8bb5f Ported client to kwin_iii
svn path=/trunk/kdebase/kwin/; revision=251777
2003-09-17 08:53:04 +00:00
Dirk Mueller
6bbbe69c0e unbreak compilation (gcc 3.4+)
svn path=/trunk/kdebase/kcontrol/; revision=239225
2003-07-26 10:41:28 +00:00
Ralf Nolden
b93157d70e qabstractlayout.h -> qlayout.h
svn path=/trunk/kdebase/kwin/; revision=205388
2003-02-07 10:40:24 +00:00
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
Dirk Mueller
375f175fbb CVSSILENT: fixincludes
svn path=/trunk/kdebase/khotkeys/; revision=129081
2001-12-29 17:33:05 +00:00
Fredrik Höglund
d543923d46 Made the laptop client compile when QT_NO_COMPAT is defined
svn path=/trunk/kdebase/kwin/; revision=115980
2001-09-30 20:56:07 +00:00
Karol Szwed
119c21ca83 - Shade/Un-Shade titlebar flicker fix.
svn path=/trunk/kdebase/kwin/; revision=114656
2001-09-18 11:32:23 +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
Lennart Kudling
ebd1de8b7e added this nice code and made _IMPORTANT_ modifications, so that it's
copyrighted by Mosfet and me. :)

svn path=/trunk/kdebase/kwin/; revision=103158
2001-06-20 11:17:03 +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
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
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
Daniel M. Duley
420b046646 The old default is now moved to the Laptop style, since they are so similiar
but has so many more bugfixes. So if you liked the old default here it is ;-)

svn path=/trunk/kdebase/kwin/; revision=68367
2000-10-20 01:14:46 +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
Matthias Ettrich
5b1fb25c55 less flicker for default. Clean-up namespace for classes
(several clients used different versions of the same class 'SystemButton')

svn path=/trunk/kdebase/kwin/; revision=61249
2000-08-16 13:11:21 +00:00
Matthias Ettrich
d0ab0a1595 less flicker
svn path=/trunk/kdebase/kwin/; revision=61018
2000-08-14 17:50:51 +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
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
6a5046ebb6 Smaller spaced bevels
svn path=/trunk/kdebase/kwin/; revision=45492
2000-04-03 06:03:59 +00:00