Commit graph

2810 commits

Author SHA1 Message Date
Luboš Luňák
bb1c008e1b If the decoration doesn't announce which titlebar buttons it supports,
make the default only those buttons that were available before the time
the possibility to announce the support came, not all buttons.

svn path=/trunk/kdebase/kwin/; revision=408565
2005-04-29 09:44:40 +00:00
Luboš Luňák
64ab03402b When removing window, set it first to withdrawn state, then start cleaning
it up.
CCBUG: 103301

svn path=/trunk/kdebase/kwin/; revision=408336
2005-04-28 09:47:57 +00:00
Luboš Luňák
a062f627ed Change the order of the shortcuts to Right,Left right with the other actions.
BUG: 104618

svn path=/trunk/kdebase/kwin/; revision=408150
2005-04-27 11:39:52 +00:00
Script Kiddy
f7e239b251 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=406767
2005-04-20 17:42:24 +00:00
André Wöbbeking
841b7887a1 --warnings: unused variable
svn path=/trunk/kdebase/kwin/; revision=406133
2005-04-17 18:05:08 +00:00
Sandro Giessl
33e72465bd fix two warnings
svn path=/trunk/kdebase/kwin/; revision=405521
2005-04-14 10:57:54 +00:00
Aaron J. Seigo
86594e3fe8 make moving of maximized windows off by default. have had this patch for a
while and talked about it with Seli on March 9th but never got around to
committing it. after being asked about it _again_ i decided to do `cvs ci`
this allows well designed window decorations to allow the user to jam the
mouse into the corner of the screen and close the window.

svn path=/trunk/kdebase/kwin/; revision=405269
2005-04-13 10:59:58 +00:00
Script Kiddy
7abbaf3bc8 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=405178

The following changes were in SVN, but were removed from git:

M	wallpapers/Blkmarble.jpg.desktop
M	wallpapers/No-Ones-Laughing-3.jpg.desktop
M	wallpapers/Planning-And-Probing-1.jpg.desktop
M	wallpapers/Time-For-Lunch-2.jpg.desktop
M	wallpapers/Won-Ton-Soup-3.jpg.desktop
M	wallpapers/andes-venezolanos.svgz.desktop
M	wallpapers/celtic.svgz.desktop
M	wallpapers/default_blue.jpg.desktop
M	wallpapers/default_gears.jpg.desktop
M	wallpapers/fulmine.jpg.desktop
M	wallpapers/gear-flowers.svgz.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
M	wallpapers/kde_box.png.desktop
M	wallpapers/lineart.svgz.desktop
M	wallpapers/seaofconero.jpg.desktop
M	wallpapers/triplegears.jpg.desktop
2005-04-12 22:04:49 +00:00
Luboš Luňák
98aaf1ee02 Fix last commit and remove the old code.
svn path=/trunk/kdebase/kwin/; revision=405106
2005-04-12 17:44:05 +00:00
Luboš Luňák
e1fb4aa2b6 Move all code responsible for showing/hiding windows, setting mapping
state, NET::Hidden etc. to one function: Client::updateVisibility().

svn path=/trunk/kdebase/kwin/; revision=405104
2005-04-12 17:22:47 +00:00
Luboš Luňák
de67ff5bad Update geometry also of NET::Desktop windows e.g. on xrandr resolution changes.
BUG: 103586

svn path=/trunk/kdebase/kwin/; revision=404767
2005-04-11 11:43:20 +00:00
Luboš Luňák
3fd88cc165 Revert part of the change done for #47757, using a shortcut without
a modifier for KDE-style Alt+Tab simply doesn't make sense.
BUG: 103262

svn path=/trunk/kdebase/kwin/; revision=404069
2005-04-08 14:31:00 +00:00
Adrian Schroeter
6e884b34c6 fix possible kwin crash on dcop call, if no kompmgr is running
svn path=/trunk/kdebase/kwin/; revision=403731
2005-04-07 10:20:44 +00:00
Luboš Luňák
65c8167754 64bit fixes for translucency.
svn path=/trunk/kdebase/kwin/; revision=403116
2005-04-04 13:11:53 +00:00
Andrew Coles
181c2b4bb0 CVS_SILENT
Corrected typo (evelen -> eleven).

svn path=/trunk/kdebase/kwin/; revision=401890
2005-03-30 12:25:28 +00:00
Luboš Luňák
0f3ffecc76 We support up to 20 virtual desktops in the GUI these days.
svn path=/trunk/kdebase/kwin/; revision=401648
2005-03-29 15:40:40 +00:00
Script Kiddy
6e125c8da2 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kwin/; revision=401480
2005-03-29 03:02:37 +00:00
Sandro Giessl
314e5d6f0a port KDE2 to KCommonDecoration
svn path=/trunk/kdebase/kwin/; revision=401260
2005-03-28 13:43:49 +00:00
Script Kiddy
19b29aad1d CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=401169

The following changes were in SVN, but were removed from git:

M	wallpapers/All-Good-People-1.jpg.desktop
M	wallpapers/Chicken-Songs-2.jpg.desktop
M	wallpapers/Circuit.jpg.desktop
M	wallpapers/Foggy1.jpg.desktop
M	wallpapers/Island-of-Elba.jpg.desktop
M	wallpapers/KDE34.png.desktop
M	wallpapers/Marble01.jpg.desktop
M	wallpapers/Paper01.jpg.desktop
M	wallpapers/Totally-New-Product-1.jpg.desktop
M	wallpapers/aurora.svgz.desktop
M	wallpapers/blue-bend.jpg.desktop
M	wallpapers/kde_passion.jpg.desktop
M	wallpapers/konqui.svgz.desktop
M	wallpapers/moon.svgz.desktop
M	wallpapers/only_k.jpg.desktop
2005-03-28 03:34:02 +00:00
Luciano Montanaro
7f5bb05567 Fix the preview rendering bug, some cleanup.
svn path=/trunk/kdebase/kwin/; revision=400989
2005-03-27 14:01:20 +00:00
Sandro Giessl
06e5b5b960 revert the recent change which introduced button masking as it breaks Fitt's Law..
svn path=/trunk/kdebase/kwin/; revision=400875
2005-03-26 22:52:18 +00:00
Luís Pedro Coelho
a8c2702d6c shadow.h doesn't exist anymore.
svn path=/trunk/kdebase/kwin/; revision=400829
2005-03-26 19:13:11 +00:00
Sandro Giessl
0160e12bc2 better OnAllDesktop icons
svn path=/trunk/kdebase/kwin/; revision=400827
2005-03-26 19:02:02 +00:00
Sandro Giessl
0e63cf7cef bigger icons for small buttons
svn path=/trunk/kdebase/kwin/; revision=400826
2005-03-26 19:01:40 +00:00
Sandro Giessl
b8e51cef98 Oups... bad icon cache index resulting in a crash for toolwindows.
BUG: 102544

svn path=/trunk/kdebase/kwin/; revision=400813
2005-03-26 18:06:22 +00:00
Sandro Giessl
bd9c556471 better minimumSize()
svn path=/trunk/kdebase/kwin/; revision=400788
2005-03-26 16:43:48 +00:00
Sandro Giessl
46482b1d0e improved calcHiddenButtons()
svn path=/trunk/kdebase/kwin/; revision=400782
2005-03-26 16:26:31 +00:00
Sandro Giessl
99c7f10187 fall back to KCommonDecoration::layoutMetric
svn path=/trunk/kdebase/kwin/; revision=400746
2005-03-26 13:18:32 +00:00
Sandro Giessl
286696268e - add LM_ButtonMarginTop for more control on how to position buttons.
- don't make layoutMetric() abstract, instead implement it with sane defaults
  and let decorations fall back to it in case they can't handle a LayoutMetric
  case...

svn path=/trunk/kdebase/kwin/; revision=400745
2005-03-26 13:09:52 +00:00
Sandro Giessl
9ecf800caf do not cover the menu button with the menu
svn path=/trunk/kdebase/kwin/; revision=400739
2005-03-26 12:40:56 +00:00
Sandro Giessl
b63d495fb9 Port to KCommonDecoration and add custom button position support.
svn path=/trunk/kdebase/kwin/; revision=400660
2005-03-25 23:31:21 +00:00
Malcolm Hunter
6424908f90 CVS_SILENT Typographical corrections and changes
svn path=/trunk/kdebase/kcontrol/; revision=400361
2005-03-24 23:21:52 +00:00
Sandro Giessl
f26dffe5e3 make the button background lighter again as suggested on kde-devel...
svn path=/trunk/kdebase/kwin/; revision=400269
2005-03-24 17:01:04 +00:00
Sandro Giessl
33438df578 no need to fake the titlebar background except for the menu button
svn path=/trunk/kdebase/kwin/; revision=400268
2005-03-24 16:56:58 +00:00
Sandro Giessl
b356373b1e remove unnecessary includes
svn path=/trunk/kdebase/kwin/; revision=400264
2005-03-24 16:34:08 +00:00
Sandro Giessl
a8eb2711fa Port to KCommonDecoration; add menu button; less flicker in the titlebar
svn path=/trunk/kdebase/kwin/; revision=400263
2005-03-24 16:33:13 +00:00
Luboš Luňák
c32d95f0f2 Since hasTransient() can search bottom-up or top-bottom depending
on which is cheaper, make sure to block recursion for the proper
client that has been already checked.
BUG: 94800

svn path=/trunk/kdebase/kwin/; revision=400008
2005-03-23 14:52:54 +00:00
Luboš Luňák
a950f75673 When activation is forced, always request focus for the window, even
with unreasonable focus policies. Fixes focusing kicker applets.
BUG: 96028

svn path=/trunk/kdebase/kwin/; revision=399988
2005-03-23 13:49:50 +00:00
Stephan Binner
ca22bd2f4e compile (with builddir!=srcdir)
svn path=/trunk/kdebase/kwin/; revision=399977
2005-03-23 12:42:34 +00:00
Sandro Giessl
2fd48c13e9 No need for a hard reset for SettingButtons changes, KCommonDecoration can handle button reset.
svn path=/trunk/kdebase/kwin/; revision=399854
2005-03-22 23:08:50 +00:00
Sandro Giessl
e70e385bf9 add copyright...
svn path=/trunk/kdebase/kwin/; revision=399851
2005-03-22 23:06:32 +00:00
Sandro Giessl
f8f7122877 Port to KCommonDecoration. Also tried to eliminate the flickering by
not using PaletteBackground background mode for the widget anymore and instead
painting everything myself (also results in ~35% less rendering time for
100000 repaints).

svn path=/trunk/kdebase/kwin/; revision=399849
2005-03-22 23:03:13 +00:00
Script Kiddy
3538912028 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/ksysguard/; revision=399711
2005-03-22 13:52:14 +00:00
Sandro Giessl
8ee563139d um... fix titleRect()
svn path=/trunk/kdebase/kwin/; revision=399602
2005-03-22 00:15:29 +00:00
Sandro Giessl
1b1d7df406 more const-correctness and titleRect() convenience method...
svn path=/trunk/kdebase/kwin/; revision=399599
2005-03-21 23:45:54 +00:00
Sandro Giessl
6b0a36f911 Port Web to KCommonDecoration, add buttons keep above/below others, shade, menu while I'm at it...
svn path=/trunk/kdebase/kwin/; revision=399527
2005-03-21 19:57:25 +00:00
Sandro Giessl
079ac8c9f9 take the button width into account for the calculation of minBtnHideWidth
svn path=/trunk/kdebase/kwin/; revision=399466
2005-03-21 16:33:59 +00:00
Sandro Giessl
77567c923c port quartz to KCommonDecoration
svn path=/trunk/kdebase/kwin/; revision=399465
2005-03-21 15:53:41 +00:00
Sandro Giessl
f1ad43864f - Add KCommonDecoration::isLeft() for Quartz.
- Hide buttons one by another when the window size shrinks below a certain
  width. Implemented so that Quartz doesn't use any functionality, but it's
  quite useful in other decos, too -> enabled by default.
  Minimum size calculation still needs some tweaking...

svn path=/trunk/kdebase/kwin/; revision=399463
2005-03-21 15:47:39 +00:00
Sandro Giessl
6a8e5c41d8 Add an option for a titlebar-colored window border. I think it looks better than
before, enabled by default.

FEATURE: 98922

svn path=/trunk/kdebase/kwin/; revision=399363
2005-03-20 22:24:04 +00:00