Commit graph

495 commits

Author SHA1 Message Date
Sandro Giessl
ee078866de "Sticky" -> "On All Desktops" (string is already present)
svn path=/trunk/kdebase/kwin/; revision=277570
2004-01-07 14:45:09 +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
Luboš Luňák
d5da80faca Updated the document for porting KWin decorations to 3.2.
svn path=/trunk/kdebase/kwin/; revision=277289
2004-01-06 15:48:46 +00:00
Luboš Luňák
8b20fbbd13 windowType() is supposed to take all types the code knows, not only
all types it wants to handle.

svn path=/trunk/kdebase/kwin/; revision=277203
2004-01-06 10:13:20 +00:00
Script Kiddy
7017ec8502 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=276551
2004-01-04 07:14:05 +00:00
Dirk Mueller
8d5faa18fc and the winner 2003 of the most obvious, most blatant xserver ressource leak
goes to ... tamtam... redmond!

svn path=/trunk/kdebase/kwin/; revision=275837
2004-01-01 10:52:45 +00:00
Luboš Luňák
7224e77a6b MousePosition renaming updates.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=273146
2003-12-15 15:14:45 +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
Luboš Luňák
0ba12a0837 Perform whole new window managing with X server grab, in order to prevent
"smart" apps from doing stupid things before they get MapNotify.
This avoids the recent Java+OracleInstaller strange problem too.
The patch may look huge, but it's only adding two KWin wrappers
for X(Un)GrabServer() and uncommenting the calls in Client::manage().

svn path=/trunk/kdebase/kwin/; revision=271152
2003-12-04 13:54:10 +00:00
Luboš Luňák
d1cd1a1b18 Check for deletion while handling mouse release on the close button.
Fixes #67267.

svn path=/trunk/kdebase/kwin/; revision=268388
2003-11-20 13:31:19 +00:00
Luboš Luňák
d6721e0b7a No warnings.
svn path=/trunk/kdebase/kwin/; revision=268334
2003-11-20 09:05:00 +00:00
Laurent Montel
468633c0f7 Fix reverseLayout
Fix colors.
But title bar pixmap must be reversed

svn path=/trunk/kdebase/kwin/; revision=266089
2003-11-10 13:57:21 +00:00
Laurent Montel
7669c1296d if(bla) delete bla; -> delete bla
svn path=/trunk/kdebase/kwin/; revision=266087
2003-11-10 13:44:08 +00:00
Laurent Montel
a79264cc46 Fix reverselayout
svn path=/trunk/kdebase/kwin/; revision=266083
2003-11-10 13:21:53 +00:00
Sandro Giessl
60254757fe Fix #67681: "Plastik style often displays incorrect maximize button"
CCMAIL: 67681-done@bugs.kde.org

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=265849
2003-11-09 18:47:08 +00:00
Luciano Montanaro
9582208fca Fixed rendering glitch in the "normalize" icon.
svn path=/trunk/kdebase/kwin/; revision=265667
2003-11-09 00:41:10 +00:00
Luciano Montanaro
6714a92f92 The border size seemed wrong in latest CVS
svn path=/trunk/kdebase/kwin/; revision=263981
2003-11-02 16:35:59 +00:00
Sandro Giessl
fd896cc84d Get rid of the titlebar height slider.
- It's not really necessary for usability reasons since the titlebar grows
with bigger font sizes.
- Confusing as it overlaps with the font size setting.
- The space for the configuration dialog is quite limited. :)
I guess removing strings doesn't violate the string freeze...

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=263881
2003-11-02 11:34:32 +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
7008c02051 Make titlebar buttons only react on left-click, if they have one function
only. (Bug #58220)

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=263816
2003-11-01 23:58:05 +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
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
2003-10-30 19:01:10 +00:00
Luboš Luňák
76c19742f4 Here as well - don't flicker.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=263257
2003-10-30 18:25:43 +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
b884178c99 KDecoration::unobscuredRegion(), for B2 titlebar unhiding.
svn path=/trunk/kdebase/kwin/; revision=262494
2003-10-27 16:28:53 +00:00
Sandro Giessl
a21351b5a8 - Don't forget to update buttons on color changes...
- Replaced repaint()s with update().

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=261864
2003-10-25 13:57:28 +00:00
Malcolm Hunter
5698d10846 CVS_SILENT Typographical corrections and changes
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=261566
2003-10-24 11:24:15 +00:00
Luciano Montanaro
e510e8dd73 Forgot to make the variable static
svn path=/trunk/kdebase/kwin/; revision=261057
2003-10-22 13:52:51 +00:00
Luboš Luňák
546d2ce58c Check for being deleted ( KDecorationFactory::exists() ).
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=260991
2003-10-22 08:47:32 +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
Luciano Montanaro
c47d64a4cc I committed too hastily. This patche is the good one!
svn path=/trunk/kdebase/kwin/; revision=260080
2003-10-19 09:26:34 +00:00
Luciano Montanaro
eaeb27fd13 Enabled titlebar dragging by shift-clicking it.
Still missing is the automatic titlebar unhiding.

svn path=/trunk/kdebase/kwin/; revision=260075
2003-10-19 09:16:11 +00:00
Luciano Montanaro
c2eacac63f Oops I didn't notice the typo.
svn path=/trunk/kdebase/kwin/; revision=259993
2003-10-18 21:03:29 +00:00
Luciano Montanaro
9ebccb978e Scale up maximize and close button if there is enough room.
Beginning to add code to try to not reset decoraton if configuration changes
are small enough.

svn path=/trunk/kdebase/kwin/; revision=259978
2003-10-18 20:37:49 +00:00
Luciano Montanaro
40b7e4a8ad Implemented Titlebar resizing based on the font height.
svn path=/trunk/kdebase/kwin/; revision=259214
2003-10-15 16:50:29 +00:00
Luciano Montanaro
fc334ef5c1 Renamed class LaptopClientButton to LaptopButton
svn path=/trunk/kdebase/kwin/; revision=257972
2003-10-11 12:34:09 +00:00
Luciano Montanaro
4f0bc08749 Cleaned up spaces, reordered classes
svn path=/trunk/kdebase/kwin/; revision=257969
2003-10-11 12:24:51 +00:00
Nadeem Hasan
bf4fc6b898 Fix margin.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=257799
2003-10-10 16:18:41 +00:00
Dirk Mueller
b8db522f64 fix messages target
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=257734
2003-10-10 13:08:14 +00:00
Luciano Montanaro
e07db73f38 Removed superfluous Q_OBJECT
svn path=/trunk/kdebase/kwin/; revision=256725
2003-10-06 13:02:49 +00:00
Luciano Montanaro
13037237fc CCMAIL: Gunnar Schmi Dt <gunnar@schmi-dt.de>
Applied Gunnar's patch, tweaked minimumSize()

svn path=/trunk/kdebase/kwin/; revision=256483
2003-10-05 14:23:10 +00:00
Luciano Montanaro
7f6a69be67 Fixed bottom border rendering, made titlebar at least as large as the resize
handle, like the other decorations do.

svn path=/trunk/kdebase/kwin/; revision=256350
2003-10-04 23:55:55 +00:00
George Staikos
a98beeee30 KWhatsBroken tells me that redmond is broken. This appears to be what the
other clients do

svn path=/trunk/kdebase/kwin/; revision=256310
2003-10-04 21:27:23 +00:00
Luciano Montanaro
9ccad80cc4 Added support for variable border sizes.
Currently only BorderTiny, BorderNormal, BorderLarge and BorderVeryLarge are
supported.  I'll add the other sizes after making the titlebar height
adjustable too.

svn path=/trunk/kdebase/kwin/; revision=256260
2003-10-04 18:53:44 +00:00
Luciano Montanaro
4dca82efb1 A little eyecandy:
support titlebar color gradients

svn path=/trunk/kdebase/kwin/; revision=256082
2003-10-04 02:02:07 +00:00
Luciano Montanaro
78f1c3ab0e CCMAIL: rcliff@panix.com
Fixed maximization. Thanks to Robert Clifford for noticing the bug.

svn path=/trunk/kdebase/kwin/; revision=256063
2003-10-04 00:15:34 +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
Luciano Montanaro
5e32acc176 CCMAIL: l.lunak@kde.org
Make middle and right click on window buttons work again.
The solution looks a bit like a workaround for some kwin problem, though.
Why do I have to always fake a LeftButton press?

svn path=/trunk/kdebase/kwin/; revision=255894
2003-10-03 12:03:16 +00:00
Luciano Montanaro
47f5381fca Constified bitmap data
svn path=/trunk/kdebase/kwin/; revision=255846
2003-10-03 08:09:15 +00:00