Commit graph

31 commits

Author SHA1 Message Date
Luboš Luňák
220206e6dd Make sure the window operations popup works for the active window.
Plugin developers should use only Workspace::showWindowMenu() instead
of calling Workspace::clientPopup() and playing with the popup.

svn path=/trunk/kdebase/kwin/; revision=173296
2002-08-22 17:16:47 +00:00
Aaron J. Seigo
147a11b20f if i can convince Matthias Ettrich that this is a good thing, i can
probably convince anyone ;-)

bye-bye non-standard menu showing, hello usability

svn path=/trunk/kdebase/kwin/; revision=168271
2002-07-22 23:02:38 +00:00
Cristian Tibirna
eb4da42585 CT: customize buttons in KStep decorations (many thanks to Keunwoo Lee <klee@cs.washington.edu>)
svn path=/trunk/kdebase/kwin/; revision=151960
2002-04-26 02:03:01 +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
Fredrik Höglund
1136576179 Made the kstep client compile when QT_NO_COMPAT is defined
svn path=/trunk/kdebase/kwin/; revision=115978
2001-09-30 20:54:35 +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
Simon Hausmann
cd76120586 - die Bool, long live qvariant
svn path=/trunk/kdebase/kwin/; revision=110970
2001-08-18 23:51:08 +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
550dbe5c84 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=106787
2001-07-19 06:37:05 +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
1181077815 !$%&@#
svn path=/trunk/kdebase/kwin/; revision=103681
2001-06-24 17:12:39 +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
12396373a2 No static objects
svn path=/trunk/kdebase/kwin/; revision=93361
2001-04-22 02:05:16 +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
David Faure
44a694a004 CVS_SILENT lib_ -> kde_module_
svn path=/trunk/kdebase/kwin/; revision=73405
2000-12-04 18:47:47 +00:00
Script Kiddy
c2f4dd2032 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=70278
2000-11-08 06:17:50 +00:00
Script Kiddy
dc66d38dda CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=66420
2000-10-05 02:38:50 +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
Rik Hemsley
f0739dbe1f Oh, forgot to check this stuff in. Fixes mouse position detection on
bottom resize bar.

svn path=/trunk/kdebase/kwin/; revision=64974
2000-09-24 10:28:06 +00:00
Waldo Bastian
493fd295b0 - button[1]->setBitmap(sticky_bits, 8, 8);
+        button[1]->setBitmap(sticky_bits, 10, 10);

Fixes br 10156:
On the desktop, I right-click the title bar of a window and select the KStep
decoration.  Then I click on the `+'' titlebar button to pin the window on all desks.
The button turns empty.  I click again to unpin the window, and, instead
of showing the usual `+'', I get a corrupted button pixmap.

svn path=/trunk/kdebase/kwin/; revision=63501
2000-09-11 05:45:02 +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
Michael Matz
160a2d549b Away with the *.moc.* files.
svn path=/trunk/kdebase/kwin/; revision=54907
2000-06-29 21:36:40 +00:00
Waldo Bastian
ebbf5fe55c WABA: Use $(KDE_PLUGIN) for plugins and let them link against kwin.{la|so}
svn path=/trunk/kdebase/kwin/; revision=49722
2000-05-16 23:10:41 +00:00
Daniel M. Duley
11b6ddb604 Update to new color handling and efficency improvements.
svn path=/trunk/kdebase/kwin/; revision=47733
2000-04-28 11:01:42 +00:00
Daniel M. Duley
49aba34b01 My weekly big ass style commit ;-) This implements what I discussed earlier
today.

First: All decoration pixmaps are now regenerated when the palette color scheme
changes. There is no longer any need to apply color schemes *before* switching
styles or reload the plugin. The schemes can change any time and be handled
correctly by styles that generate their pixmaps based on the color scheme.

Second: The color scheme has been extended to allow separate entries for
different visual styles. For example there are now entries for both titlebar
rectangle fills like those used in the standard KDE style and KStep vs.
titlebar grooves like those used in System. The same thing applies to
foreground colors for buttons that follow the button background settings like
KStep and System vs. those that don't like the standard style.

Right now none of the color schemes have the new entries so defaults are
calculated, usually by judging the intensity of what the decoration is
drawn on and contrasted with that. To check things out look at the standard,
KStep, and System styles under color schemes like default, CDE, and Digital
CDE.

The Be style is not updated because I have a cooler one on my HD ;-)

I hope this makes David happier <grin> :)

svn path=/trunk/kdebase/kwin/; revision=39126
2000-01-23 23:33:29 +00:00
Daniel M. Duley
03f09a8927 KWin plugins require -rdynamic because they need to resolve symbols in KWin.
The other plugins (kicker, widget themes, etc...) don't need this.

svn path=/trunk/kdebase/kwin/; revision=38549
2000-01-17 01:27:32 +00:00
Daniel M. Duley
de782ec37b Implemented plugins :) This was a huge pain in the arse because a) I am stupid
and it kept segfaulting because I wasn't releasing windows, and b) The plugins
didn't want to resolve anything in the kwin executable, only to the other
libs. I finally solved this by using -rdynamic in kwin's LDFLAGS, which I hope
is okay ;-)

svn path=/trunk/kdebase/kwin/; revision=37234
1999-12-24 01:36:47 +00:00