159 Commits (0608747ab4d79f5f9cce318c418ac2ee64137ca9)

Author SHA1 Message Date
Luboš Luňák 3bc4193b8a Simplify maximization.
svn path=/trunk/kdebase/kwin/; revision=331777
20 years ago
Luboš Luňák 12f4763033 Oops. KWin decoration plugins had no messages although they contain
few i18n strings.

svn path=/trunk/kdebase/kwin/; revision=331733
20 years ago
Luboš Luňák 0c4afbf8be Add support for above, below and shade buttons.
svn path=/trunk/kdebase/kwin/; revision=331725
20 years ago
Stephan Binner c0c7fe46d6 CVS_SILENT i18n style guide fixes
svn path=/trunk/kdebase/kwin/; revision=324065
21 years ago
Luciano Montanaro 3989a49457 Use the new showWindowMenu() variant.
svn path=/trunk/kdebase/kwin/; revision=317634
21 years ago
Laurent Montel 568b06087b if (bla) delete bla; => delete bla;
svn path=/trunk/kdebase/kwin/; revision=309793
21 years ago
Frans Englich 4b522c51cb Remove all CVS Id tags from kdebase, if I haven't missed one.

							
						
21 years ago
Script Kiddy 5562570c1d CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=278628
21 years ago
Sandro Giessl 9268d2acdb Set the current window state when initializing OnAllDesktop buttons. (#71531)
svn path=/trunk/kdebase/kwin/; revision=278218
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
Albert Astals Cid f7a59dfd24 Removing accelerators (<property name="accel">) from ui files. That is good because:
- Makes .ui files smaller
 - Removes not necessary setAccel( QKeySequence( ) ); from the generated *.cpp
 - Translations teams don't get the accelerator to translate making it unpossible to generate errors because the & is placed in a letter and the accel is another letter.

If you don't like that blame Stephan Binner, he suggested i could do it.

svn path=/trunk/kdebase/kcontrol/; revision=263265
21 years ago
Luboš Luňák abdfd596b2 And one more case of flickering ... how comes nobody complained?
svn path=/trunk/kdebase/kwin/; revision=263250
21 years ago
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
21 years ago
Gunnar Schmidt bde8e27f21 fixed a problem in KeramikClient::mousePosition
svn path=/trunk/kdebase/kwin/; revision=255907
21 years ago
Gunnar Schmidt 80e11df49c Corrected the size of the diagonal resize corners
svn path=/trunk/kdebase/kwin/; revision=254588
21 years ago
Harald Fernengel ccdafde758 build
svn path=/trunk/kdebase/kwin/; revision=254548
21 years ago
Gunnar Schmidt 5b518b57b0 Added the wide-borders feature to the Keramik decoration
svn path=/trunk/kdebase/kwin/; revision=254531
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
Luboš Luňák 216d330162 Merging back the Keramik decoration from kwin_iii to HEAD.
svn path=/trunk/kdebase/kwin/; revision=251623
21 years ago
Dirk Mueller 6bbbe69c0e unbreak compilation (gcc 3.4+)
svn path=/trunk/kdebase/kcontrol/; revision=239225
21 years ago
Dirk Mueller f9cef6de17 fix shape extension detection for Solaris
CCMAIL: 53617-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=238414
21 years ago
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
22 years ago
Luboš Luňák 5596abd78e Don't link against kdeinit modules.
svn path=/trunk/kdebase/kwin/; revision=233861
22 years ago
Nadeem Hasan 79a98219bb Fix margin.
svn path=/trunk/kdebase/kwin/; revision=231462
22 years ago
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
22 years ago
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
22 years ago
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
22 years ago
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
22 years ago
Fredrik Höglund 62fdca507a - Fixed a minor bidi bug.
svn path=/trunk/kdebase/kwin/; revision=189186
22 years ago
Karol Szwed 9cb1740124 Draw unpainted areas when a window is shaded.
Approved by Maksim.

svn path=/trunk/kdebase/kwin/; revision=186526
22 years ago
Script Kiddy b95c6d8443 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=184723
22 years ago
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
22 years ago
Fredrik Höglund 76a41a4709 - Changed the filename regexp based on a suggestion from Charles.
svn path=/trunk/kdebase/kwin/; revision=178060
22 years ago
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
22 years ago
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
22 years ago
Dirk Mueller 6acf67398b fix dependencies
svn path=/trunk/kdebase/kwin/; revision=174973
22 years ago
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
22 years ago
Luboš Luňák 3b57952b03 Take care of #46042. [...resisted to say here something about Motif >;> ]
svn path=/trunk/kdebase/kwin/; revision=174310
22 years ago
Karol Szwed 36aebe0323 Namespace cleanup to prevent crashes due to symbol clashes with RTLD_GLOBAL
svn path=/trunk/kdebase/kwin/; revision=174118
22 years ago
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
22 years ago
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
22 years ago
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
22 years ago
Karol Szwed 6df2574dba Enable help button by default
svn path=/trunk/kdebase/kwin/; revision=167524
22 years ago
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
23 years ago
Dirk Mueller f0b557abf7 fix messages
svn path=/trunk/kdebase/kwin/; revision=163711
23 years ago
Fredrik Höglund a5b30e1002 These pixmaps are no longer needed.
svn path=/trunk/kdebase/kwin/; revision=162949
23 years ago
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
23 years ago
Simon Hausmann 63796fb0b2 - micro namespace cleanup
svn path=/trunk/kdebase/kwin/; revision=162590
23 years ago
Stephan Kulow e0daa02a8f CVS_SILENT oops
svn path=/trunk/kdebase/kwin/; revision=157225
23 years ago
Stephan Kulow 04e2d29f24 fixing dependencies
svn path=/trunk/kdebase/kwin/; revision=157222
23 years ago
Aaron J. Seigo 3482e99a19 and now make "newer" *cough*redhat*cough* -v's of gcc shut up
svn path=/trunk/kdebase/kwin/; revision=156077
23 years ago
Aaron J. Seigo 4f5f20fadd compile even on my old crappy compiler.
(p.s. c-style casts suck ;-)

svn path=/trunk/kdebase/kwin/; revision=156058
23 years ago
Simon Hausmann 947ee7a09e - fixlet for INCLUDES
svn path=/trunk/kdebase/kwin/; revision=156007
23 years ago
Fredrik Höglund 5a534cc7bd Importing the Keramik KWin style.
svn path=/trunk/kdebase/kwin/; revision=156002
23 years ago