Commit graph

33 commits

Author SHA1 Message Date
Laurent Montel
568b06087b if (bla) delete bla; => delete bla;
svn path=/trunk/kdebase/kwin/; revision=309793
2004-05-09 16:45:04 +00:00
Frans Englich
4b522c51cb Remove all CVS Id tags from kdebase, if I haven't missed one.
Of course, this will multifold break compile as well as a dozen of people
will now object that they actually wanted the Id tags.

svn path=/trunk/kdebase/ksysguard/; revision=290873
2004-02-24 11:30:21 +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
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
Sandro Giessl
3726cc23fd IMHO there is something strange going on with largeTitlebar, largeCaption
etc. but the border calculation should be correct now (part 2 of Bug #65969).

svn path=/trunk/kdebase/kwin/; revision=263736
2003-11-01 16:46:18 +00:00
Sandro Giessl
50a9e9aa2e Enabled the bottom border for shaded windows like it was the case for
Keramik in KDE 3.1. Hope that's ok with everyone.
(sorry for the ugly diff - seems like kate wasn't able to handle the
characters in the empty lines...)

svn path=/trunk/kdebase/kwin/; revision=263476
2003-10-31 17:05:21 +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
Luboš Luňák
43c71a8c72 No delayed deleting of decorations. They'll have to check themselves
instead, using KDecorationFactory::exists(). Fixes #66205, and it wasn't
really that good idea anyway.

svn path=/trunk/kdebase/kwin/; revision=260988
2003-10-22 08:26:09 +00:00
Gunnar Schmidt
bde8e27f21 fixed a problem in KeramikClient::mousePosition
svn path=/trunk/kdebase/kwin/; revision=255907
2003-10-03 13:51:02 +00:00
Gunnar Schmidt
80e11df49c Corrected the size of the diagonal resize corners
svn path=/trunk/kdebase/kwin/; revision=254588
2003-09-28 13:58:33 +00:00
Gunnar Schmidt
5b518b57b0 Added the wide-borders feature to the Keramik decoration
svn path=/trunk/kdebase/kwin/; revision=254531
2003-09-28 09:59:11 +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
Fredrik Höglund
c6390bdf4c - Use KDecorationFactory::resetDecorations() instead of a custom signal/slot.
- Fixed the crashes reported on the kwin mailing list.
- Various cleanups.

svn path=/trunk/kdebase/kwin/; revision=252169
2003-09-18 17:07:49 +00:00
Luboš Luňák
216d330162 Merging back the Keramik decoration from kwin_iii to HEAD.
svn path=/trunk/kdebase/kwin/; revision=251623
2003-09-16 19:40:07 +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
Fredrik Höglund
62fdca507a - Fixed a minor bidi bug.
svn path=/trunk/kdebase/kwin/; revision=189186
2002-11-16 00:05:16 +00:00
Karol Szwed
9cb1740124 Draw unpainted areas when a window is shaded.
Approved by Maksim.

svn path=/trunk/kdebase/kwin/; revision=186526
2002-10-30 16:15:58 +00:00
Fredrik Höglund
ae8a8f227d - Rewrote the mouse position code and increased the size of
the bottom diagonal resize corners for usability reasons.

svn path=/trunk/kdebase/kwin/; revision=178059
2002-09-15 19:13:38 +00:00
Fredrik Höglund
d1ef7e8236 - Made the bottom grab bar optional by popular demand.
- Implemented a (hopefully) temporary solution to
  tooltip setting changes not being applied to the
  titlebar buttons while the style is in use.

svn path=/trunk/kdebase/kwin/; revision=175167
2002-09-01 22:50:34 +00:00
Fredrik Höglund
8f531f38dd - Attempting to fix a problem reported by Eugenia about
the white borders appearing to be wider on the sides
  than on the titlebar with dark color schemes.

- Switched to using a custom embed tool that generates
  code without global static objects and that further
  reduces the risk of namespace collisions.

- Fixed an off-by-one error in the mouse position code.

svn path=/trunk/kdebase/kwin/; revision=174962
2002-08-31 22:37:35 +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
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
6df2574dba Enable help button by default
svn path=/trunk/kdebase/kwin/; revision=167524
2002-07-19 13:33:45 +00:00
Fredrik Höglund
4c1d786510 - Made the style always use small caption bubbles on maximized
windows.

  This leaves more space for the actual window contents, and
  fixes the usability problem Carsten Pfeiffer pointed out
  on kde-core-devel.

- Rewrote the masking code to use precalculated bounding rects
  to set the window shape.

  This should result a huge performance increase on low-end
  systems and improve snappyness in general.

- Added some more namespace fixes as suggested by Karol Szwed.

svn path=/trunk/kdebase/kwin/; revision=163885
2002-06-29 22:25:38 +00:00
Fredrik Höglund
6cfa430e49 - Completely rewrote the pixmap creation code to recolor the
caption bubble and the titlebar separately and then composite
  the resulting images to form the final tiles.

- New pixmaps from Qwertz with a more discreet design for the
  titlebars; more subtle gradients and no stipple effect
  on the titlebar base.

- Only one set of pixmaps is now used for both the active and
  the inactive state. All pixmaps are now stored in grayscale
  format.

- Fixed a minor bug which would cause the question mark on the
  help button to be reversed in RTL mode.

- Improved horizontal space utilization slightly.

- Enabled recoloring of the titlebars and caption bubble to
  match the color scheme.

svn path=/trunk/kdebase/kwin/; revision=162948
2002-06-24 18:33:20 +00:00
Simon Hausmann
63796fb0b2 - micro namespace cleanup
svn path=/trunk/kdebase/kwin/; revision=162590
2002-06-23 08:39:44 +00:00
Aaron J. Seigo
3482e99a19 and now make "newer" *cough*redhat*cough* -v's of gcc shut up
svn path=/trunk/kdebase/kwin/; revision=156077
2002-05-18 06:41:41 +00:00
Aaron J. Seigo
4f5f20fadd compile even on my old crappy compiler.
(p.s. c-style casts suck ;-)

svn path=/trunk/kdebase/kwin/; revision=156058
2002-05-17 22:05:56 +00:00
Fredrik Höglund
5a534cc7bd Importing the Keramik KWin style.
svn path=/trunk/kdebase/kwin/; revision=156002
2002-05-17 16:33:48 +00:00