Commit graph

19062 commits

Author SHA1 Message Date
Script Kiddy
6cf37a578f CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kwin/; revision=370471
2004-12-14 03:41:19 +00:00
Luboš Luňák
ded2656b03 If a window has configured a specific position using window-specific settings,
don't force it to be entirely in the workarea, as long as at least something
is still visible.

svn path=/trunk/kdebase/kwin/; revision=370319
2004-12-13 11:40:25 +00:00
Script Kiddy
832b0bce94 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=370013
2004-12-12 03:50:54 +00:00
Sandro Giessl
cf532c077d Reduce the titlebar height by 2 pixel for maximized windows to make the buttons
look a bit more centered.
FEATURE: 91461

svn path=/trunk/kdebase/kwin/; revision=369845
2004-12-11 12:53:21 +00:00
Script Kiddy
98c47af908 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kwin/; revision=369788
2004-12-11 06:41:41 +00:00
Sandro Giessl
56ea5484c4 FEATURE: 83499
Grey out buttons which are not supported by the decoration, put
a "(unsupported)" after the button name.

svn path=/trunk/kdebase/kwin/; revision=369684
2004-12-10 18:28:28 +00:00
Sandro Giessl
c8ebd222c4 replace button pixmaps with bitmaps so they can be colored later (e.g. greyed out when the button is unavailable)...
svn path=/trunk/kdebase/kwin/; revision=369673
2004-12-10 17:58:37 +00:00
André Wöbbeking
46259d08ff make it compile
svn path=/trunk/kdebase/kwin/; revision=369635
2004-12-10 15:36:46 +00:00
Sandro Giessl
4c091d07d2 FEATURE
Add drop visualizer to the titlebar preview.

svn path=/trunk/kdebase/kwin/; revision=369526
2004-12-09 22:28:55 +00:00
Sandro Giessl
b36cbe8749 Clean things up a bit under the hood of the button position widget. Main intention
was to replace the QString/char based internal representation of buttons with a
Button-object based one.
Makes it IMHO much more extensible by removing things like global vars,
i18n(name)<-->button type mapping etc.

svn path=/trunk/kdebase/kwin/; revision=369513
2004-12-09 21:33:16 +00:00
Luboš Luňák
aa28465df5 I think I got persuaded that having a direct access to the decorated
window might be useful in very very very rare cases.

svn path=/trunk/kdebase/kwin/; revision=368911
2004-12-06 15:46:27 +00:00
Albert Astals Cid
2863e6fa66 fixuifiles
svn path=/trunk/kdebase/kcontrol/; revision=368550
2004-12-05 00:12:31 +00:00
Sandro Giessl
a43c9b585c move a few things from KWinDecorationModule into the new class ButtonPositionWidget in preparation for a few improvements on the widget I'm planing...
svn path=/trunk/kdebase/kwin/; revision=368215
2004-12-03 22:23:20 +00:00
Sandro Giessl
1652995a55 better ButtonDrag mimetype
svn path=/trunk/kdebase/kwin/; revision=368183
2004-12-03 20:31:03 +00:00
Sandro Giessl
db5bbc67ee Replace the border size slider with a combobox.
svn path=/trunk/kdebase/kwin/; revision=368162
2004-12-03 19:32:35 +00:00
Sandro Giessl
5ad5e87db6 Add an extra margin around the preview.
svn path=/trunk/kdebase/kwin/; revision=368152
2004-12-03 18:49:35 +00:00
Sandro Giessl
1d44e0c519 Update the layout of the window decoration dialog based on Aaron's feedback
on kde-usability:
- Move the combobox back into the tab
- Move the preview below the tabbar
- Move the border size slider into the first tab to the Decoration Options
- Remove the groupbox around the custom button position widgets.

svn path=/trunk/kdebase/kwin/; revision=367949
2004-12-02 23:02:03 +00:00
Luboš Luňák
6accc9a990 Don't keep dialogs above mainwindow if that mainwindow happens to be a dock.
Let's see what that does.
BUG: 63223

svn path=/trunk/kdebase/kwin/; revision=367418
2004-11-30 14:26:09 +00:00
Luboš Luňák
bb9b3a94c6 Shading fixes. This should also take care of #91615.
BUG: 91615

svn path=/trunk/kdebase/kwin/; revision=367240
2004-11-29 18:46:04 +00:00
Script Kiddy
10b49ee543 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kwin/; revision=366797
2004-11-28 04:30:39 +00:00
Luboš Luňák
bfbc879603 Limit tabbox maximum width to 80% of screen width.
FEATURE: 92418

svn path=/trunk/kdebase/kwin/; revision=366425
2004-11-26 16:14:32 +00:00
Luboš Luňák
9a5a1c5d95 Fix shading: isShade() returns the actual state of the window, and isSetShade()
returns the state set by the user - these two may differ e.g. while hover-unshaded.
Therefore titlebar buttons should use isSetShade(), otherwise they become
a bit useless with hover-unshading.
Also fix updating the button state - the styles duplicate way too much code,
and if one of them has a bug, most of them definitely have it as well. Some
of the code should probably move to the decoration lib :-/ .

svn path=/trunk/kdebase/kwin/; revision=366147
2004-11-25 16:08:46 +00:00
Luboš Luňák
a0284f092c Do not confuse Laurent, and David, and perhaps even me :).
svn path=/trunk/kdebase/kwin/; revision=366081
2004-11-25 10:21:12 +00:00
Luboš Luňák
c048d2b539 Make dialogs an exception from keeping splashscreens on top of every other
window from the app (#93832). IMHO the real problem is in apps showing
modal dialogs while they still have a splascreen visible, but I've seen
this already enough times.
CCBUG: 93832

svn path=/trunk/kdebase/kwin/; revision=365833
2004-11-24 14:51:10 +00:00
Luboš Luňák
5baf4a79c4 Try harder to restore focus if something sets it to null.
svn path=/trunk/kdebase/kwin/; revision=365079
2004-11-22 11:34:09 +00:00
Dirk Mueller
a9e6a2f113 fix export's
svn path=/trunk/kdebase/kwin/; revision=364804
2004-11-21 18:06:55 +00:00
Dirk Mueller
5b5ab45fbf fix export's
svn path=/trunk/kdebase/kwin/; revision=364795
2004-11-21 16:19:09 +00:00
Sandro Giessl
e8565670ec remove the pluginSettingsGrp groupbox
svn path=/trunk/kdebase/kwin/; revision=364650
2004-11-20 23:53:54 +00:00
Sandro Giessl
fafe39943f - Update the preview on button position/border size setting changes. Preview of
settings in the decoration's config dialogs isn't available yet.
- Move the decoration combobox and the preview out of the tab widget to be visible
  from all tabs - makes the new preview update more useful.

CCBUG:70349

svn path=/trunk/kdebase/kwin/; revision=364647
2004-11-20 23:43:16 +00:00
Dirk Mueller
42c0e144c1 fix export's
svn path=/trunk/kdebase/ksysguard/; revision=363751
2004-11-17 17:56:22 +00:00
Luboš Luňák
fb5fde89a2 Mark me as the maintainer.
svn path=/trunk/kdebase/ksmserver/; revision=363181
2004-11-15 14:57:37 +00:00
Christian Mueller
52c8b36585 use the schema instead of the DTD for validation
(changes reviewed by Frans Englich)

svn path=/trunk/kdebase/kcontrol/; revision=362930
2004-11-14 14:20:11 +00:00
Luboš Luňák
ca061ffb57 If a window is resized manually to geometry equal to workspace size,
make it automatically also maximized.

svn path=/trunk/kdebase/kwin/; revision=362476
2004-11-12 17:13:16 +00:00
Script Kiddy
db62c7a9b9 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/ksysguard/; revision=362374
2004-11-12 03:37:57 +00:00
Luboš Luňák
ced8835dfa Make sure unused settings have prefilled values also with Alt+F3/Window-specific settings.
svn path=/trunk/kdebase/kwin/; revision=361970
2004-11-10 11:41:12 +00:00
Luboš Luňák
d0a2d63fdf When using Alt+F3/Window-specific settings, activate directly first tab
with settings, now that it tries to find the right matching rules itself.

svn path=/trunk/kdebase/kwin/; revision=361961
2004-11-10 11:07:51 +00:00
Sandro Giessl
3a45567573 move border size chooser from "Buttons" into new tab "Border Size"
svn path=/trunk/kdebase/kwin/; revision=361798
2004-11-09 19:34:18 +00:00
Sandro Giessl
ec9b2155ee Extend KDecorationPreview to allow setting temporary decoration border size and button layout.
svn path=/trunk/kdebase/kwin/; revision=361796
2004-11-09 19:27:21 +00:00
Luboš Luňák
2fd9ce3a64 Am I so clumsy, or are the thresholds for electric borders insanely low?
svn path=/trunk/kdebase/kwin/; revision=361726
2004-11-09 15:39:41 +00:00
Luboš Luňák
a2a55c8436 Make electric borders work also during DND. Blame David and George
for getting me in Santa Claus mood.
FEATURE:86998

svn path=/trunk/kdebase/kwin/; revision=361725
2004-11-09 15:38:33 +00:00
Luboš Luňák
04d286e87e Make minimized windows grayed out, just like in kicker's taskbar.
FEATURE: 91273

svn path=/trunk/kdebase/kwin/; revision=361708
2004-11-09 14:32:30 +00:00
George Staikos
2ce16d70ba On second thought, titlebars like this are silly:
"user@host:~@host"

make it:

"user@host:~ <@host>"

svn path=/trunk/kdebase/kwin/; revision=361700
2004-11-09 13:45:21 +00:00
George Staikos
c75eb7297f use @ instead of <> for the hostname, approved by Lubos (Thanks for the feature!)
svn path=/trunk/kdebase/kwin/; revision=361688
2004-11-09 12:28:58 +00:00
Luboš Luňák
d40ba7b252 Show hostname in the title if it's different from KWin's hostname.
FEATURE:40969

svn path=/trunk/kdebase/kwin/; revision=361687
2004-11-09 12:17:18 +00:00
Allan Sandfeld Jensen
c80d47549c Link to the right libraries
svn path=/trunk/kdebase/kwin/; revision=361677
2004-11-09 11:07:34 +00:00
Luboš Luňák
a24fc0b2a0 Ok, one more subtle fix: If the WM_CLASS components differ, use complete
WM_CLASS.

This allows e.g. having extra settings for one specific Konsole, all that's
needed is to launch it as "konsole -name konsole_special", and make KWin's
window-specific settings match for complete window class
"konsole_special konsole". Generic Konsole settings will apply to all Konsole's,
while these specific ones will apply only to instances using -name.

The nice advantage is this shouldn't have all those weird issues kstart has
(die, kstart, die!).

svn path=/trunk/kdebase/kwin/; revision=360769
2004-11-05 17:05:40 +00:00
Sandro Giessl
27be3a1885 consistent preview label
svn path=/trunk/kdebase/kwin/; revision=360767
2004-11-05 17:02:03 +00:00
Luboš Luňák
c75b0cf867 Pre-fill also the hostname.
svn path=/trunk/kdebase/kwin/; revision=360740
2004-11-05 15:36:03 +00:00
Luboš Luňák
725a92792c Empty, remove.
svn path=/trunk/kdebase/kwin/; revision=360738
2004-11-05 15:34:59 +00:00
Sandro Giessl
e0bd1cf554 now all clients kdebase announce their supported buttons.
CCBUG: 83499

svn path=/trunk/kdebase/kwin/; revision=360736
2004-11-05 15:33:09 +00:00