Commit graph

43 commits

Author SHA1 Message Date
Luboš Luňák
cc7ab636af Make the titlebar double-click operation react only the LMB.
BUG: 96079


svn path=/trunk/KDE/kdebase/kwin/; revision=409714
2005-05-05 12:43:19 +00:00
Dirk Mueller
5b5ab45fbf fix export's
svn path=/trunk/kdebase/kwin/; revision=364795
2004-11-21 16:19:09 +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
Waldo Bastian
0992665bb4 Handle shape correctly if mask is missing.
svn path=/trunk/kdebase/kwin/; revision=296847
2004-03-18 13:17:18 +00:00
Luboš Luňák
574104729d KWMTheme decoration ported to the new API as a check of the PORTING
document ... with two small things to do missing.
As this wasn't enabled in KDE3.1 anyway, it won't be in 3.2 either *shrug*.

svn path=/trunk/kdebase/kwin/; revision=277290
2004-01-06 15:52:50 +00:00
Waldo Bastian
d05d96d5e2 Don't crash on pixmaps without a mask.
svn path=/trunk/kdebase/kwin/; revision=250023
2003-09-10 15:11:42 +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
Dirk Mueller
aefcf5f8a0 remove outdated #ifdef
svn path=/trunk/kdebase/kwin/; revision=174483
2002-08-29 16:32: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
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
Karol Szwed
861d667ef6 "Make it work"(tm) on theme change
svn path=/trunk/kdebase/kwin/; revision=163071
2002-06-25 13:14:19 +00:00
David Faure
34bbc5e457 qWarning -> kdWarning
svn path=/trunk/kdebase/kwin/; revision=138408
2002-02-24 18:16:45 +00:00
Dirk Mueller
375f175fbb CVSSILENT: fixincludes
svn path=/trunk/kdebase/khotkeys/; revision=129081
2001-12-29 17:33:05 +00:00
Dirk Mueller
6594c2bf5c CVS_SILENT: fixincludes
svn path=/trunk/kdebase/kmenuedit/; revision=117153
2001-10-10 16:31:48 +00:00
Fredrik Höglund
b6df0940fa This is a quick hack to get kwmthemes working in the upcoming alpha release.
- Temporarily disabled use of the stretchPixmap() function because it
  loses the pixmap mask, causing KWin to segfault.
  (This will just make some themes a bit slower)
- Fixed the border drawing problem reported by Vadim Plessky on kde-devel.
- Fixed a titlebar shade/un-shade flicker problem.
- Made the client compile when QT_NO_COMPAT is defined.

svn path=/trunk/kdebase/kwin/; revision=115973
2001-09-30 20:29:21 +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
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
Waldo Bastian
5ccd32af44 ^&$^*#$^&@
svn path=/trunk/kdebase/kwin/; revision=103630
2001-06-24 06:10:59 +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
1e7469d54e Fixed several bugs:
- When titlebutton pixmaps totally cover a toolbutton, they are
	  moved by a (1,1) offset when clicked so users have a visual prompt
	  that they are attempting to click the button. (i.e. for MGBreizh theme)
	- Titlebar buttons follow isMinimizable() and isMaximizable() and
	  are hidden when not required
	- Sticky button is drawn correctly now
	- Made shading animation nice and smooth

svn path=/trunk/kdebase/kwin/; revision=98699
2001-05-25 11:17:29 +00:00
Waldo Bastian
ac5556a78d Don't crash on divisions by zero.
svn path=/trunk/kdebase/kwin/; revision=98171
2001-05-21 23:02:38 +00:00
Karol Szwed
d551bc8c15 Small repaint fix
svn path=/trunk/kdebase/kwin/; revision=96611
2001-05-12 07:57:55 +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
Daniel M. Duley
eeb5bb19e3 New KWM theme client stuff, as described in my earlier email to core-devel
svn path=/trunk/kdebase/kwin/; revision=84131
2001-02-23 22:10: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
Daniel M. Duley
5f356d8628 Improved titlebar buffering.
Are these commits going into the KDE2.1final, or do I need to do
something special?

svn path=/trunk/kdebase/kwin/; revision=81613
2001-02-06 22:16:17 +00:00
Waldo Bastian
0ea8e539a5 Attempt to fix the drawing stuff. Resizing a window still fails to redraw
large parts of the window decorations.

svn path=/trunk/kdebase/kwin/; revision=79948
2001-01-24 23:53:37 +00:00
Waldo Bastian
692efa5cde Don't crash when making window sticky/maximized without a sticky/maximized button.
svn path=/trunk/kdebase/kwin/; revision=79649
2001-01-22 23:30:08 +00:00
Waldo Bastian
922162fad0 Don't crash on missing pixmaps.
svn path=/trunk/kdebase/kwin/; revision=78489
2001-01-16 23:52:11 +00:00
Waldo Bastian
4ab7a90097 WABA: Listen to resetClients()
svn path=/trunk/kdebase/kwin/; revision=78463
2001-01-16 21:45:23 +00:00
Daniel M. Duley
8d82de546d Added custom mouse position stuff for resizing themed windows. Speed hacks.
There is an error where everything is not redrawn I have to fix, but it's way
faster now ;-)

svn path=/trunk/kdebase/kwin/; revision=74668
2000-12-13 10:21:31 +00:00
Daniel M. Duley
507a315eb2 Okay, we now just store theme pixmaps in the appdata+"/pics", then use locate...
I have no idea why I didn't do this in the first place - must of been drunk or something ;-)

svn path=/trunk/kdebase/kwin/; revision=74577
2000-12-12 17:40:56 +00:00
Daniel M. Duley
8b422dbe29 Small cleanup. I could get rid of the local vs. global pixmap junk... after breakfast ;-)
Also, install the cli_installer if you install this - which you shouldn't yet ;-)

svn path=/trunk/kdebase/kwin/; revision=74568
2000-12-12 15:58:24 +00:00
Daniel M. Duley
e1a5f85d7c Fix compile, get rid of speed hacks that were actually slower, and it isn't
a good idea to use /home/mosfet/... to look for pixmaps (grin ;-)

svn path=/trunk/kdebase/kwin/; revision=74471
2000-12-11 20:27:43 +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
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
Daniel M. Duley
8e6fb39db3 Much, much faster. This used to be mostly KWM's theme code hacked into a KWin
client, which used matrixes and QPainter drawPixmap stuff. Now all that is
gone and it's almost entirely bitBlts.

Still buggy tho, so I'm keeping it disabled for now - but now it's
fast and buggy so I guess that should count for something ;-)

svn path=/trunk/kdebase/kwin/; revision=45235
2000-03-31 19:10:22 +00:00
Daniel M. Duley
a6cc2d48ab Opps, forgot to get rid of an annoying warning :P
svn path=/trunk/kdebase/kwin/; revision=37504
2000-01-03 13:16:39 +00:00
Daniel M. Duley
cb69226b40 Use kdrawutil and committing my initial implementation of the kwm theme
compatible style. This isn't done but currently reads most of the entries. It
requires you use kwinrc and kdeglobals so kthememgr will need to be updated if
you don't want to apply things manually ;-) I also have to add custom cursor
positioning and some other small things. Also, KWM used a bitmap to set the
mask and I do for now as well. This needs to change into regions as it is
*really* inefficent with KWin. For now installing the .desktop for the plugin
is disabled. I will provide some screenshots for the curious when I launch
mosfet.org ;-)

svn path=/trunk/kdebase/kwin/; revision=37503
2000-01-03 13:13:57 +00:00