Commit graph

74 commits

Author SHA1 Message Date
Karol Szwed
35653960f1 Fix animate and restore bug #21511
svn path=/trunk/kdebase/kwin/; revision=172906
2002-08-20 18:02:12 +00:00
Rik Hemsley
930a266f7e Fixed (de)iconify animation for Qt 3 with a workaround.
The semantics of setClipRegion were changed, with the default being
different from the previous behaviour. Duh.

svn path=/trunk/kdebase/kwin/; revision=154610
2002-05-09 12:30:34 +00:00
Rik Hemsley
b0c9baaadc Disabling iconify animation until I figure out why it leaves lines on
the screen now.

svn path=/trunk/kdebase/kwin/; revision=151082
2002-04-22 05:16:59 +00:00
Stephan Kulow
c7f9abd849 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=143855
2002-03-19 16:37:47 +00:00
Stephan Kulow
e3e09f533d use kwin_ instead of libkwin
svn path=/trunk/kdebase/kwin/; revision=137446
2002-02-19 16:56:16 +00:00
Waldo Bastian
6ebc89dac6 CVS_SILENT
Added Encoding header for compliance with Desktop Entry Standard

svn path=/trunk/kdebase/kcontrol/; revision=134824
2002-01-31 18:51:15 +00:00
Rik Hemsley
5cd78ffdd3 Fix mouseposition
svn path=/trunk/kdebase/kwin/; revision=134762
2002-01-31 02:37:02 +00:00
Rik Hemsley
379b214218 Fix problem where dragging a button makes the whole window drag.
Had to create empty mouseMoveEvent() methods.

svn path=/trunk/kdebase/kwin/; revision=132837
2002-01-21 03:29:55 +00:00
Dirk Mueller
375f175fbb CVSSILENT: fixincludes
svn path=/trunk/kdebase/khotkeys/; revision=129081
2001-12-29 17:33:05 +00:00
Karol Szwed
1ae5edec31 - Shade/Un-Shade titlebar flicker fix.
svn path=/trunk/kdebase/kwin/; revision=114657
2001-09-18 11:38:08 +00:00
Rik Hemsley
b5c7e843fe Don't know if these masking fixes are necessary anymore now that QPixmap
is 'fixed' - but they don't do any harm, so they go in anyway.

svn path=/trunk/kdebase/kwin/; revision=114434
2001-09-16 09:26:29 +00:00
Laurent Montel
4ef029256c QList -> QPtrList
QArray -> QMemArray

svn path=/trunk/kdebase/kwin/; revision=113976
2001-09-11 06:53:46 +00:00
Dirk Mueller
0515b43a84 compile fix (stupid X11 #define crap)
svn path=/trunk/kdebase/kwin/; revision=110962
2001-08-18 23:21:42 +00:00
Simon Hausmann
c8f1508b36 - moved netwm.h inclusions after indirect qvariant.h inclusions
(fixes Bool clash)
- missing includes (qcursor,qstyle,qpainter,qvaluelist)
- minor qstyle api fixlet

svn path=/trunk/kdebase/kwin/; revision=110958
2001-08-18 23:06:16 +00:00
Script Kiddy
aeda4f97ad CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=107352
2001-07-23 18:37:54 +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
Rik Hemsley
5a214d04c6 Changes as posted on list, but no-one tested, so here goes nothing.
svn path=/trunk/kdebase/kwin/; revision=103533
2001-06-23 15:53:07 +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
Luboš Luňák
b6c55170ed Breaking BC in KWin again in order to keep BC for plugins. I forgot
a few private pointers *slap self*.

svn path=/trunk/kdebase/kwin/; revision=92998
2001-04-20 07:19:03 +00:00
Rik Hemsley
352086d08b Off-by-one fix for resizebar.
Hide resizebar when window is fixed size.

svn path=/trunk/kdebase/kwin/; revision=91783
2001-04-13 01:51:27 +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
Script Kiddy
1d95469d9f CVS_SILENT made messages
svn path=/trunk/kdelibs/kstyles/; revision=81120
2001-02-03 03:09:32 +00:00
Harri Porten
2bfe4742b6 explicit double to int conversion
svn path=/trunk/kdebase/kwin/; revision=77261
2001-01-10 13:13:00 +00:00
David Faure
44a694a004 CVS_SILENT lib_ -> kde_module_
svn path=/trunk/kdebase/kwin/; revision=73405
2000-12-04 18:47:47 +00:00
Rik Hemsley
11edd19291 Fix texture colours for buttons.
svn path=/trunk/kdebase/kwin/; revision=69460
2000-10-31 03:23:22 +00:00
Rik Hemsley
907efe6764 Use QLayout::activate(). Looks like I found one of the rare cases where
it's essential. This fixes some bad redraws of the titlebar in certain
hard-to-reproduce circumstances.

svn path=/trunk/kdebase/kwin/; revision=69459
2000-10-31 02:48:56 +00:00
Rik Hemsley
8f79309f44 Minor fixes
svn path=/trunk/kdebase/kwin/; revision=69147
2000-10-28 02:50:47 +00:00
Rik Hemsley
91d2ddc0fc New anim for qwertz, it's no. 2, so IconifyAnimationStyle=2 in [WM]
section of kdeglobals will enable it.

svn path=/trunk/kdebase/kwin/; revision=69146
2000-10-28 02:32:07 +00:00
Rik Hemsley
0ed57b61e0 Let's allow people to play with the new animation(s).
In [WM] section of kdeglobals, add IconifyAnimationStyle=1 to see the
first new animation. (you should change wm style away from, then back
to, RISC OS, if you're already running it)

svn path=/trunk/kdebase/kwin/; revision=69144
2000-10-28 01:49:42 +00:00
Rik Hemsley
abd2f3d6fd Textures for buttons too. Necessary now that titlebar can be large
enough for you to see them. Oh yes, the titlebar now changes size
with your font size. See http://www.geoid.clara.net/silly.jpg for
a (silly) example of this. This is in fact an essential feature
IMO, for people who can't read titlebar text at the restricted
sizes that the other styles allow.

New funky iconify animation, but I haven't made it available via
a config key yet, so you can't use it :P

svn path=/trunk/kdebase/kwin/; revision=69021
2000-10-27 02:16:14 +00:00
Rik Hemsley
025cb620a3 No debug info
svn path=/trunk/kdebase/kwin/; revision=68517
2000-10-21 22:55:28 +00:00
Rik Hemsley
2c22ab197d Use active font for inactive windows since we don't get correct font
from options. Temporary work-around.

svn path=/trunk/kdebase/kwin/; revision=68512
2000-10-21 22:05:42 +00:00
Rik Hemsley
c2f73a1d13 Typo fixed (button alignment was set incorrectly and black lines were
missing sometimes)
Added 'ToolManager' class. Still haven't found any apps that set
WStyle_Tool on any windows, so it's untested.

svn path=/trunk/kdebase/kwin/; revision=68501
2000-10-21 18:51:08 +00:00
David Faure
5dd80c3b56 +#include <config.h> // for usleep on non-linux platforms
i.e. Tru64. Showstopper (breaks compilation)......

svn path=/trunk/kdebase/kwin/; revision=68077
2000-10-17 08:15:00 +00:00
Rik Hemsley
b8e9f83e81 Use a different iconify/restore style to the default, because the
default is too slow and flickery.

svn path=/trunk/kdebase/kwin/; revision=67690
2000-10-14 23:45:05 +00:00
David Faure
7af716f924 #undef Bool for enable-final, reported by Thomas Leitner
svn path=/trunk/kdebase/kwin/; revision=67246
2000-10-11 20:39:24 +00:00
Rik Hemsley
8c7cbff386 Bugfix to make button glyphs the correct colours.
Small cleanup of design w.r.t. signals/slots

svn path=/trunk/kdebase/kwin/; revision=67219
2000-10-11 17:21:49 +00:00
Rik Hemsley
0a27e45f56 This should answer those bug reports about not being able to configure the
button order on the titlebar, for the RISC OS theme at least.

I now have [Sticky][(Help)].....Title.......[Iconify][Maximise][Close].
Much more sensible than the stupid RISC OS layout.

svn path=/trunk/kdebase/kwin/; revision=67108
2000-10-10 22:03:50 +00:00
Rik Hemsley
b753c43345 pixmap fix
svn path=/trunk/kdebase/kwin/; revision=66125
2000-10-02 03:07:38 +00:00
Rik Hemsley
72a25cf5d9 Slight alteration to button hiding algorithm
svn path=/trunk/kdebase/kwin/; revision=66001
2000-10-01 15:40:29 +00:00
Rik Hemsley
aae66499b9 Texture on resize bar handles
Changed shapes of close and sticky button pix.
Real transparency for button pix instead of pseudo.

svn path=/trunk/kdebase/kwin/; revision=65998
2000-10-01 15:30:04 +00:00
Rik Hemsley
4a55be4548 I like this method of setting colours for the resize bar better, seeing
as there's no way to set it via kcontrol

svn path=/trunk/kdebase/kwin/; revision=65989
2000-10-01 14:48:40 +00:00
Rik Hemsley
6fc8ad8af5 Textured titlebar. Looks very cool in all colour schemes. This is how
RISC OS looks, and I had this working before, but I fixed it so it works
nicely now.

svn path=/trunk/kdebase/kwin/; revision=65633
2000-09-28 14:29:57 +00:00
Rik Hemsley
4aeea37d93 Use configured font for inactive titlebar text
svn path=/trunk/kdebase/kwin/; revision=65567
2000-09-28 00:39:22 +00:00
Rik Hemsley
22a5becbc5 Nicer glyphs for titlebar. Added sticky and context help buttons.
svn path=/trunk/kdebase/kwin/; revision=65557
2000-09-27 22:51:57 +00:00
Rik Hemsley
3e5e774e10 Many behavioural fixes and new glyphs for buttons.
Still need to do sticky and help buttons.

svn path=/trunk/kdebase/kwin/; revision=65548
2000-09-27 21:33:15 +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
Script Kiddy
faed83eace CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=64906
2000-09-24 05:05:45 +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
Rik Hemsley
6a49e57aa8 blah, I screwed up with some sticky date stuff, somehow.
svn path=/trunk/kdebase/kwin/; revision=57067
2000-07-15 11:27:55 +00:00