Commit graph

2604 commits

Author SHA1 Message Date
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
Sandro Giessl
cd66337cff now do all painting through cached pixmaps and only paint things that are
in the PaintEvent region. makes it a bit easier to modify the look and saves
another ~15% for 100000 repaint resp. 10000 caption changes... :)

svn path=/trunk/kdebase/kwin/; revision=399339
2005-03-20 21:07:11 +00:00
Sandro Giessl
a80216662a oups... no shadow.cpp anymore.
svn path=/trunk/kdebase/kwin/; revision=399004
2005-03-19 16:30:34 +00:00
Sandro Giessl
ab29b1a699 forgot to remove shadow.h/.cpp
svn path=/trunk/kdebase/kwin/; revision=399002
2005-03-19 16:17:56 +00:00
Sandro Giessl
4e10228f75 - minor changes to button drawing
- button icon changes: don't use recolored+scaled .xpm files as icons, instead
  create bitmaps on the fly in code which can easily be colored and don't need
  to be scaled... looks much cleaner IMHO.

svn path=/trunk/kdebase/kwin/; revision=399001
2005-03-19 16:16:33 +00:00
Sandro Giessl
50a21c6be9 minor titlebar edge cleanup
remove the ShadowEngine... it is just too slow and even makes e.g. kmail feel
slower when dragging messages over the folder list. have a bogus shadow
instead (various drawText calls with blended colors) which also looks quite nice and
is twice as fast. Still no kwin decoration seems to feel as fast as metacity when it
comes to caption changes such as in the kmail example... This is something that should
be looked into IMHO.

svn path=/trunk/kdebase/kwin/; revision=398994
2005-03-19 16:01:36 +00:00
Sandro Giessl
c77a4202fb inform buttons of state change
svn path=/trunk/kdebase/kwin/; revision=398989
2005-03-19 15:44:10 +00:00