Commit graph

40 commits

Author SHA1 Message Date
Luciano Montanaro
adf7e8bad8 Override default drawbounds().
Now when "Display contents of moving/resizing" windows is disabled, a polygon
approximating the window shape is shown instead of the normal rectangle.

svn path=/trunk/kdebase/kwin/; revision=252937
2003-09-21 20:43:44 +00:00
Luciano Montanaro
ef476127f8 Found the correct method to send mousepresses to kwin. I still miss the
mouserelease, though.

svn path=/trunk/kdebase/kwin/; revision=252930
2003-09-21 20:14:26 +00:00
Luciano Montanaro
bfd4eccd49 CCMAIL: kwin@kde.org
Ported b2 to the new api.  Well, some stuff does not yet work, but I'll work on
that later, and I'll need some assistance for the Automatic titlebar movement.

There is also a bug when shading the window, but on the bright side,
the client more or less works.

svn path=/trunk/kdebase/kwin/; revision=252655
2003-09-20 17:44:49 +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
Luboš Luňák
32217c89bf No resize handle for non-resizable windows.
CCMAIL: 57765-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=227030
2003-05-21 09:12:44 +00:00
Luboš Luňák
dbc0817e28 Actually, the patch from #57690 is right too, there was no support for spacers.
svn path=/trunk/kdebase/kwin/; revision=222733
2003-04-29 11:45:08 +00:00
Luboš Luňák
c1fc368392 Fix #57690 - don't let the dragable area of titlebar vanish completely.
svn path=/trunk/kdebase/kwin/; revision=222730
2003-04-29 11:40:39 +00:00
Hans Petter Bieker
3bc5e13c20 i18n() returns QString.
svn path=/trunk/kdebase/kwin/; revision=197076
2003-01-02 23:41:27 +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
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
Michael Matz
25d1c5368d Default arguments in definitions are invalid C++.
svn path=/trunk/kdebase/kwin/; revision=120526
2001-11-03 01:21:40 +00:00
Karol Szwed
354bd37bdb - Hopefully all remaining titlebar flicker is gone for good
svn path=/trunk/kdebase/kwin/; revision=113889
2001-09-10 11:38:08 +00:00
Karol Szwed
23eeb11064 - Fix unpainted areas when shaded
svn path=/trunk/kdebase/kwin/; revision=113873
2001-09-10 05:57:43 +00:00
Karol Szwed
37ca2626bd - Removes all ugly flicker
- Adds a config option allowing frames to be drawn using the titlebar
  colors just like in Quartz (feature request)

svn path=/trunk/kdebase/kwin/; revision=113673
2001-09-08 10:12:23 +00:00
Karol Szwed
bebd8a5f08 - Fixing the inactive minimize button color not following the inactive button
colors.
- Adding custom button position code
- Small code cleanups

svn path=/trunk/kdebase/kwin/; revision=111330
2001-08-22 10:11:06 +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
David Faure
c782732ce9 There it goes again. This time for good.
This code is opensource, we have every right to distribute it as part of KDE.

svn path=/trunk/kdebase/kwin/; revision=103029
2001-06-19 14:32:08 +00:00
Daniel M. Duley
4232fe0ae2 Nope
svn path=/trunk/kdebase/kwin/; revision=102955
2001-06-19 02:40:24 +00:00
Michael Matz
10af9bc3a2 Putting the pixmaps into an array, which was TODO from the beginning ;-)
svn path=/trunk/kdebase/kwin/; revision=102784
2001-06-18 02:15:36 +00:00
Michael Matz
7c239c69ba No sir. This one stays.
svn path=/trunk/kdebase/kwin/; revision=102782
2001-06-18 01:59:02 +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
Waldo Bastian
6ab086647b Implement iconChange()
svn path=/trunk/kdebase/kwin/; revision=83016
2001-02-15 20:53:22 +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
Antonio Larrosa Jimenez
759848b7d3 Removed the minimum width limit imposed by the b2 style by
making the buttons hide when neccesary.
Approved by Mosfet by lack of objection :)

svn path=/trunk/kdebase/kwin/; revision=66109
2000-10-02 01:14:03 +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
Matthias Ettrich
6a54a209af obey more controlcenter options (mouse actions for frame and titlebar)
svn path=/trunk/kdebase/kwin/; revision=62090
2000-08-28 12:31:16 +00:00
Daniel M. Duley
2c5bfad0cf Buffering for the active title. Reduces flicker when resizes make the titlebar
resize.

svn path=/trunk/kdebase/kwin/; revision=48749
2000-05-07 20:30:50 +00:00
Michael Matz
d19c42bd26 fix for captionChange with long title
svn path=/trunk/kdebase/kwin/; revision=48358
2000-05-04 20:54:08 +00:00
Michael Matz
732c7d78bd Big B2/KWin change:
* title bar now tries to avoid to become completely obscured by other windows ;)
* moving of title bar flicker free (at least on my machine)
* all repaint problems fixed (those I knew of course), even the one on resize
* mousePosition (those arrowed cursors) now complete

svn path=/trunk/kdebase/kwin/; revision=48189
2000-05-03 00:04:26 +00:00
Daniel M. Duley
dcf3fda8dd Updated to the new titlebar button color handling.
svn path=/trunk/kdebase/kwin/; revision=47732
2000-04-28 10:34:24 +00:00
Daniel M. Duley
3922d1994a Reverting the no-flicker when moving titlebar patch. It doesn't repaint
properly, the whole thing needs an overhaul (I never anticipated the thing
being movable) and I want to use it now ;-)

svn path=/trunk/kdebase/kwin/; revision=47542
2000-04-25 22:44:25 +00:00
Boris Wedl
06dc47b2da reduce flicker when dragging the titlebar
svn path=/trunk/kdebase/kwin/; revision=46450
2000-04-12 17:00:56 +00:00
Daniel M. Duley
dde9cbced3 Adding Mike's patch. See post on kde-devel for more info.
svn path=/trunk/kdebase/kwin/; revision=45191
2000-03-30 23:05:30 +00:00
Daniel M. Duley
8724699214 This I have had sitting on my HD for awhile, an ultra cool KWin style to go with the B2 widget style :)
It uses Be-like shaped titlebars, KDE standard buttons, has a shaped resize
handle, and automatically detects if you are on a highcolor display and if so
uses gradients based off the current color scheme. BTW, the buttons don't
necessarily match the titlebar but use the button foreground setting in KDE's
display settings so you can change them to whatever you like.

If no one objects I'll probably disable the old Be style. Unlike this style it
uses Be-like buttons but the drawing isn't very fancy and Be's two buttons are
a big restriction in KDE.

You can see a screenshot at:
http://www.mosfet.org/b2kwin.gif

svn path=/trunk/kdebase/kwin/; revision=44420
2000-03-24 00:22:35 +00:00