Commit graph

38 commits

Author SHA1 Message Date
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
87fa54326f As kdelibs/NAMING says, using lib<appname>.la as name for a library is bad.
Library name changed to libkdecorations.la .

svn path=/trunk/kdebase/kwin/; revision=251859
2003-09-17 14:23:53 +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
Dirk Mueller
f9cef6de17 fix shape extension detection for Solaris
CCMAIL: 53617-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=238414
2003-07-21 20:34:58 +00:00
Aaron J. Seigo
ad483c520d dude up the config pages of these puppies. now that they appear on the
first tab of the kcm it became wildly obvious how much TLC they needed.

svn path=/trunk/kdebase/kwin/; revision=234652
2003-06-30 08:16:28 +00:00
Luboš Luňák
5596abd78e Don't link against kdeinit modules.
svn path=/trunk/kdebase/kwin/; revision=233861
2003-06-26 08:52:13 +00:00
Nadeem Hasan
79a98219bb Fix margin.
svn path=/trunk/kdebase/kwin/; revision=231462
2003-06-14 23:55:32 +00:00
Ian Reinhart Geiser
966365f741 This is a cleanup/fix of all ui files in kdebase. We have the ability to use the
standard KDE spacing and margins.  From what I could tell was 99% of the people had
these nubmers already hardcoded and we should not see any difference.

I was able to test and it looks like everything is normal here.  If there are any
issues or if I horribly broke someone's layout please do not revert!  Just touch them
up with designer and let me know.  This was done to cleanup the UI to ensure layouts
are always consistent, and to allow me to use some layout hacks for small screens.
More on this later, but the bottom line here is standard stuff is cool.  Next stop is
to remove all those hardcoded pixmaps and use KIconLoader :)

CCMAIL: kde-core-devel@kde.org

svn path=/trunk/kdebase/kcontrol/; revision=230069
2003-06-07 02:39:32 +00:00
Matthias Kretz
2faf685614 Don't use white as the border color. This fixes dark color schemes (it's very
anoying to have that white border on an otherwise dark screen). It also fit's
more in all other color schemes.
Authorized by Fredrik and quertz.

svn path=/trunk/kdebase/kwin/; revision=213632
2003-03-13 16:54:54 +00:00
Alex Zepeda
5354333dd5 More namespace fun with Qt. It seems like Q*Stream* wants "endl" and
std::cout wants std::endl.  So be it.

svn path=/trunk/kdebase/kwin/; revision=191602
2002-12-02 12:00:18 +00:00
Alex Zepeda
6c9a60ba18 I'll vote for <iostream> over <iostream.h>. Why? Here's why:
warning: #warning This file includes at least one deprecated or
antiquated header. Please consider using one of the 32 headers
found in section 17.4.1.2 of the C++ standard.  Examples include
substituting the <X> header for the <X.h> header for C++ includes,
or <sstream> instead of the deprecated header <strstream.h>.
To disable this warning use -Wno-deprecated.

And grep shows:

kcontrol/kfontinst/kfontinst/FontListWidget.cpp:#include <iostream>
kdm/kfrontend/liloinfo.cpp:#include <iostream>
kioslave/sftp/ksshprocesstest.cpp:#include <iostream>
kioslave/mac/kio_mac.cpp:#include <iostream>
libkonq/konq_propsview.cc:#include <iostream>
konsole/konsole/TEHistory.cpp:#include <iostream>

svn path=/trunk/kdebase/kcontrol/; revision=191581
2002-12-02 10:50:03 +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
Script Kiddy
b95c6d8443 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=184723
2002-10-20 10:54:38 +00:00
Simon Hausmann
78cfbe9177 - now that KDE_CHECK_HEADERS takes care of defining HAVE_FOO_H (thx coolo)
we can use KDE_* here to make it look in more paths. Helps freebsd.
-AC_CHECK_HEADERS(X11/extensions/shape.h)
+KDE_CHECK_HEADERS(X11/extensions/shape.h)

svn path=/trunk/kdebase/kwin/; revision=184443
2002-10-18 08:30:38 +00:00
Fredrik Höglund
76a41a4709 - Changed the filename regexp based on a suggestion from Charles.
svn path=/trunk/kdebase/kwin/; revision=178060
2002-09-15 19:19:52 +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
Dirk Mueller
6acf67398b fix dependencies
svn path=/trunk/kdebase/kwin/; revision=174973
2002-09-01 00:02:14 +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
Dirk Mueller
f0b557abf7 fix messages
svn path=/trunk/kdebase/kwin/; revision=163711
2002-06-28 23:32:50 +00:00
Fredrik Höglund
a5b30e1002 These pixmaps are no longer needed.
svn path=/trunk/kdebase/kwin/; revision=162949
2002-06-24 18:35:11 +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
Stephan Kulow
e0daa02a8f CVS_SILENT oops
svn path=/trunk/kdebase/kwin/; revision=157225
2002-05-23 20:07:29 +00:00
Stephan Kulow
04e2d29f24 fixing dependencies
svn path=/trunk/kdebase/kwin/; revision=157222
2002-05-23 20:02:35 +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
Simon Hausmann
947ee7a09e - fixlet for INCLUDES
svn path=/trunk/kdebase/kwin/; revision=156007
2002-05-17 16:53:02 +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