Commit Graph

313 Commits (a51cbf7b9e9a72e193d45f0ca248de3376b5bcc6)

Author SHA1 Message Date
Lucas Murray 3855b9253b Added global setting to allow opening automatically grouped windows in
the background.

svn path=/trunk/KDE/kdebase/workspace/; revision=1050313
2009-11-17 07:51:55 +00:00
Lucas Murray 00e131a1a5 Allow window tabbing titlebar actions to be configurable; Set default
middle-click titlebar action to tab drag; Fix KCM config file corruption
caused by r1015273.
BUG: 214898

svn path=/trunk/KDE/kdebase/workspace/; revision=1050309
2009-11-17 07:17:49 +00:00
Lucas Murray 8fee828536 Set the correct default for the titlebar mouse wheel action in KWin core
svn path=/trunk/KDE/kdebase/workspace/; revision=1050022
2009-11-16 12:23:01 +00:00
Lucas Murray 535737e1fe Add "automatically group identical windows" feature to window tabbing.
svn path=/trunk/KDE/kdebase/workspace/; revision=1049953
2009-11-16 10:09:03 +00:00
Lucas Murray 72c3a553ca Add ability to switch the active window tab to the left/right by
scrolling on the titlebar or when using the WM modifier key.

svn path=/trunk/KDE/kdebase/workspace/; revision=1049547
2009-11-15 12:34:46 +00:00
Lucas Murray 3364165bc8 Enable quick maximization and tiling by default.
svn path=/trunk/KDE/kdebase/workspace/; revision=1041135
2009-10-27 13:11:58 +00:00
Marco Martin 4be6a1295a this makes sense under Windows, not Compositing
svn path=/trunk/KDE/kdebase/workspace/; revision=1026294
2009-09-21 11:15:28 +00:00
Marco Martin 154b0296a2 add a new (hidden for now) option: hide (and delete) the window borders
when the window is maximized, restoring them wen it's unmaximized. will
be used for small screen setups


svn path=/trunk/KDE/kdebase/workspace/; revision=1025694
2009-09-19 12:48:28 +00:00
Robin Harold Burchell f585e4e1d9 A number of small warning fixes (bracketing, etc) to help pick up real problems when working.
svn path=/trunk/KDE/kdebase/workspace/; revision=1022531
2009-09-11 23:44:29 +00:00
Martin Gräßlin 9e3484e2f0 Adding new option to disable the legacy fullscreen mode (borderless, not netwm compliant windows with screen geometry).
It is disabled by default, but if it causes problems we will enable it again. In that case the "3rd party" (netbook shell) should set the option.
BUG: 206789
CC-MAIL: notmart@gmail.com

svn path=/trunk/KDE/kdebase/workspace/; revision=1021309
2009-09-08 20:19:20 +00:00
Martin Gräßlin 53aaaf471d Adding a new option to disable the cursor pushback for active screen edges.
I haven't added it to the UI as the screen edges kcm is already a little bit cluttered with complicated options.
So if you want to disable the pushback add option "ElectricBorderPushbackPixels" to section [Windows].
FEATURE: 198225

svn path=/trunk/KDE/kdebase/workspace/; revision=1021306
2009-09-08 20:01:16 +00:00
Martin Gräßlin 754f5d0829 Quick maximize and tiling when moving a window to the left/right or top screen edge.
Top screen edge (un)maximizes. Left screen edge sets window to left half of screen geometry, right edge to other half.

svn path=/trunk/KDE/kdebase/workspace/; revision=1021305
2009-09-08 20:01:08 +00:00
Lucas Murray c3a07890f5 Add close window ability to customizable title bar mouse button actions.
Patch by Thomas Lundgaard.
CCMAIL: thomaslundgaard@gmail.com

svn path=/trunk/KDE/kdebase/workspace/; revision=1015273
2009-08-25 04:10:11 +00:00
Martin Gräßlin 369910865a Add "show desktop" to screen edges.
FEATURE: 195359

svn path=/trunk/KDE/kdebase/workspace/; revision=988839
2009-06-28 20:32:50 +00:00
A. Lynn Spehr 2893eac8fe Added setting to control whether scrolling on a background window focuses it.
Patch by Alex Danila. Approved by lmurray. 
BUG: 164261

svn path=/trunk/KDE/kdebase/workspace/; revision=964140
2009-05-06 06:38:54 +00:00
Lucas Murray 0ffcc70c18 Add support for hardcoded non-KWin-related active screen edge actions,
first to be added is one to display the Plasma dashboard. Implemented
the "trigger cooldown" option. Fixed a few edge action conflicts such
as forcing desktop switches when moving windows and the like.
BUG: 170393

svn path=/trunk/KDE/kdebase/workspace/; revision=933166
2009-02-28 08:33:16 +00:00
Lucas Murray 5821e6f9d7 Reverted all code relating to automatic X crash detection with agreement
from David. Due to an elusive bug somewhere in kdelibs we have not been
able to find out how to fix the issues that some people were having.
There seems to be a race condition as I cannot reproduce at all, David
can reproduce sporadically and some reporters can always reproduce.

This commit attempts to also keep the code style changes that were made
at the same time as the original commit as well as some minor bug fixes
that were made between then and now. Hopefully I didn't miss anything.

We will be revisit this in KDE 4.3.

BUG: 177178

svn path=/trunk/KDE/kdebase/workspace/; revision=894182
2008-12-08 05:08:31 +00:00
Lucas Murray eca9561ab7 Possible fix for corrupting KWin settings on some systems.
Also fixed setting revert message to only display when actually
reverting.

svn path=/trunk/KDE/kdebase/workspace/; revision=890193
2008-11-28 14:57:22 +00:00
David Nadlinger 5f835b7c31 Modified a few comments; changed indenting to comply with the KWin coding standards.
svn path=/trunk/KDE/kdebase/workspace/; revision=888660
2008-11-25 01:45:09 +00:00
David Nadlinger d79ef83183 When modifying the compositing settings, save a backup of kwinrc to another file to be able to revert if the X server crashes while testing the new config.
Also fixed a little bug in kcmkwincompositing (dropdowns on the general tab were not updated correctly) and cleaned up the code a bit (removed a few unneeded function calls and stale connects).

See the conversation on the mailing list ("Patch for bug 174769", http://lists.kde.org/?l=kwin&m=122696916611602) for further information.

BUG 174769


svn path=/trunk/KDE/kdebase/workspace/; revision=888659
2008-11-25 01:42:30 +00:00
Lucas Murray c84d39b5df Complete port to Kephal.
svn path=/trunk/KDE/kdebase/workspace/; revision=884554
2008-11-15 11:38:26 +00:00
Luboš Luňák 5a7557fc6f Force OpenGL compositing to be off if OpenGL rendering is done in software
(second X session with Intel).


svn path=/trunk/KDE/kdebase/workspace/; revision=871752
2008-10-15 13:41:53 +00:00
Aaron J. Seigo 893c2c4c1d * we don't have kdesktop around in kde4, so don't bother with its config file
* kwin doesn't seem to have a top level menu display impl anymore; we have a non-working one in playground for plasma, but that hardly counts; since this is breaking things for people upgrading, disable the setting until we get this sorted out properly

svn path=/trunk/KDE/kdebase/workspace/; revision=867480
2008-10-03 15:49:45 +00:00
Luboš Luňák a6d092a221 Better handling of hidden previews WRT backwards compatibility,
since the values don't quite map to 4.1 meaning, use new values
and treat old ones as the default (previews for shown windows).


svn path=/trunk/KDE/kdebase/workspace/; revision=866692
2008-10-01 17:27:12 +00:00
Luboš Luňák 79c05cde7d Fix default of hidden previews to be for shown windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=866676
2008-10-01 17:01:47 +00:00
Luboš Luňák 23724e35b2 Add an advanced option to override kwin's compositing checks
(i.e. currently it allows to enable compositing even if self-check fails).
Not recommended of course, and it's be still nice to get self-check work
reliably.
CCBUG: 170085


svn path=/trunk/KDE/kdebase/workspace/; revision=860196
2008-09-12 10:26:19 +00:00
Luboš Luňák 2a87593638 Add a global configuration option for animation speed. See description
of Effect::animationTime() for how-to-use.
TODO: Effects need to reload config after doing the change in the kcm.
NOTE: Default TimeLine constructor now creates invalid object, it is
necessary to explicitly call setDuration() in order to ensure all
animations respect this setting.

CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=854690
2008-08-30 07:25:54 +00:00
Luboš Luňák 14ae8d2dc9 Support for unredirecting fullscreen windows, i.e. games etc. can paint directly
and not be slowed down by going through compositing. Turned on and no UI option
in the naive hope that it won't cause any real problems. Maybe effects doing
window previews should get API to suspend unredirect though.


svn path=/trunk/KDE/kdebase/workspace/; revision=851742
2008-08-24 13:32:57 +00:00
Luboš Luňák 63b01aff5d Rework handling of mapping and unmapping windows, in particular:
- the NormalState/IconicState things in ICCCM need to match exactly
  the real mapping state, so ensure that, no matter how superfluous that is
- extend the option for having live window previews either for all
  windows or for only all shown windows (default)
FEATURE: 163385


svn path=/trunk/KDE/kdebase/workspace/; revision=845772
2008-08-12 11:02:58 +00:00
Lucas Murray f01bfcc62b Added center snap zone to windows.
BUG: 133637


svn path=/trunk/KDE/kdebase/workspace/; revision=830029
2008-07-09 15:18:47 +00:00
Jonathan Riddell 7304f7471d maximise on double click, see kde-core-devel 'Kubuntu Settings in KDE' thread
svn path=/trunk/KDE/kdebase/workspace/; revision=789256
2008-03-23 19:06:30 +00:00
Luboš Luňák e25943a913 No need to load kdeglobals, again, use app's config.
svn path=/trunk/KDE/kdebase/workspace/; revision=786326
2008-03-16 18:46:23 +00:00
Luboš Luňák 877810b4c6 Don't disable xinerama options if xinerama is not available, this may
change with xrandr1.2 and in the worst case those options simply
will degenerate to the trivial one-screen case.
BUG: 142860


svn path=/trunk/KDE/kdebase/workspace/; revision=786319
2008-03-16 18:42:27 +00:00
Luboš Luňák 685e1d2361 Make it possible to use KDecorationOptions without private headers.
svn path=/trunk/KDE/kdebase/workspace/; revision=768271
2008-01-29 16:44:41 +00:00
Luboš Luňák 01bf6cbb4c License cleanup - add headers where missing, be explicit about GPL
being v2+ (right now it says just GPL, which according to GPL itself
means any GPL). Decoration clients will come later.
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=742302
2007-11-27 19:40:25 +00:00
Luboš Luňák eb0d793157 Default to SeparateScreenFocus being false, to be consistent with KDE3.
(and e.g. #141997).


svn path=/trunk/KDE/kdebase/workspace/; revision=739693
2007-11-21 15:54:06 +00:00
Luboš Luňák c83210c60a Remove all code for non-composited animations - they don't work anyway.
svn path=/trunk/KDE/kdebase/workspace/; revision=739143
2007-11-20 16:07:20 +00:00
Rivo Laks 9043373394 Add config option for keeping pixmaps of hidden windows up to date.
svn path=/trunk/KDE/kdebase/workspace/; revision=736174
2007-11-13 16:40:28 +00:00
Oswald Buddenhagen aff1787ff9 KConfig* API overhaul. only cosmetics, so don't panic.
KConfigBase:
- remove separator argument from list entry reading/writing functions
- introduce {read,write}XdgListEntry()
- kill readPathListEntry(), add readPathEntry() overload
  instead. the default value is not optional any more, as it defines the
  return type. this is consistent with the readEntry() functions.
- rename clean() => markAsClean(), remove rollback()
- rename ConfigState => AccessMode, getConfigState() => accessMode()
- rename {entry,group}IsImmutable() => is{Entry,Group}Immutable()
- remove NLS alias to Localized

KConfig:
- remove setGroup() & group()
- reshuffle OpenFlag enum, introduce NoCascade for symmetry
- remove setExtraConfigFiles() alias to addConfigSources()

KConfigGroup:
- inherit KConfigBase::deleteGroup() overloads
- make convertToQVariant() private, it will probably change somehow

- KConfig & KConfigGroup: deprecate entryMap()
- remove bogus declarations: KConfigGroup::setReadDefaults(),
  KConfig::readEntryUntranslated()
- apidox
- reshuffle the declarations in the headers


svn path=/trunk/KDE/kdebase/workspace/; revision=728852
2007-10-24 13:08:37 +00:00
Luboš Luňák 745d101733 Disable hidden previews, they are still a bit buggy (wrong focus after desktop change).
svn path=/trunk/KDE/kdebase/workspace/; revision=726698
2007-10-18 16:23:18 +00:00
Laurent Montel 61fa445581 Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=726663
2007-10-18 14:02:54 +00:00
Luboš Luňák 56b2c4ed8e Don't use two groups for compositing, keep everything in [Compositing].
svn path=/trunk/KDE/kdebase/workspace/; revision=726358
2007-10-17 15:39:04 +00:00
Luboš Luňák fef0d1ff29 Detect xgl and whether to use strict binding.
svn path=/trunk/KDE/kdebase/workspace/; revision=726357
2007-10-17 15:37:14 +00:00
Andreas Pakulat 39e322fc83 Merge the KConfig branch. This are the 3 main modules (+kdeadmin), which are
needed now because friday is the last BC day. The rest of the modules will
follow as fast as my laptop allows.

svn path=/trunk/KDE/kdebase/workspace/; revision=721704
2007-10-05 22:21:25 +00:00
Luboš Luňák 8985ca0b7f Properly reload compositing settings on reconfigure.
svn path=/trunk/KDE/kdebase/workspace/; revision=716806
2007-09-25 09:41:23 +00:00
Rivo Laks 840818e39a Add separate option for smooth scaling in XRender mode.
It's slow (software scaling), so it's disabled by default.

svn path=/trunk/KDE/kdebase/workspace/; revision=715200
2007-09-21 13:27:56 +00:00
Rivo Laks 59f21e39fe Add automatic driver detection for compositing options.
This is used to set sane defaults and work around possible driver bugs.
Also, if you have a "whitelisted" driver (nvidia >= 96.39 or intel >= 20061017)
  then compositing will be enabled by default for you.

svn path=/trunk/KDE/kdebase/workspace/; revision=714004
2007-09-18 13:59:06 +00:00
Rivo Laks e8c43c91bf This should've gone into svn quite some time ago
svn path=/trunk/KDE/kdebase/workspace/; revision=706141
2007-08-29 14:35:22 +00:00
Rivo Laks 5d21a58b44 Migrate some OpenGL options to new config module
svn path=/trunk/KDE/kdebase/workspace/; revision=690341
2007-07-20 18:50:51 +00:00
Rivo Laks 9dabc20ad9 Compositing is still off by default
svn path=/trunk/KDE/kdebase/workspace/; revision=689967
2007-07-19 18:25:45 +00:00
Rivo Laks 824f005f58 Add beginnings of kwincompositing config module, meant to replace kwintranslucency one
svn path=/trunk/KDE/kdebase/workspace/; revision=689947
2007-07-19 16:20:05 +00:00
Luboš Luňák 9052116e4f Support for having previews even for unmapped windows - they're
actually kept mapped, so that they still have the backing pixmap.
Plus some small tricks to prevent such windows from interfering.
Only two basic modes are implemented right now.


svn path=/trunk/KDE/kdebase/workspace/; revision=683156
2007-07-04 09:51:10 +00:00
Luboš Luňák cdb2d046c3 Always rebinding should not make sense anymore.
svn path=/trunk/KDE/kdebase/workspace/; revision=677309
2007-06-18 21:24:01 +00:00
Luboš Luňák d9583cd3f6 Option for strict binding: kwinrc:Translucency:GLStrictBinding .
Non-nvidia users will probably need it set to true with TFP.


svn path=/trunk/KDE/kdebase/workspace/; revision=676673
2007-06-17 12:17:03 +00:00
Luboš Luňák 35689df388 Still some kompmgr remnants.
svn path=/trunk/KDE/kdebase/workspace/; revision=672295
2007-06-06 17:05:12 +00:00
Pino Toscano 38267e8ac6 less qt3support
svn path=/trunk/KDE/kdebase/workspace/; revision=672194
2007-06-06 10:37:37 +00:00
Rivo Laks 44b293211c Options now longer provides list of effects to be loaded.
Instead, EffectsHandler itself loads the list of enabled effects (saved by the effects selector widget),
  also making use of their EnabledByDefault property, so if you haven't touched the config, you'll
  automatically get default effects.

svn path=/trunk/KDE/kdebase/workspace/; revision=669036
2007-05-28 11:23:00 +00:00
Luboš Luňák c0412fbf23 Option for specifying Xinerama screen where new windows open.
FEATURE: 56827


svn path=/trunk/KDE/kdebase/workspace/; revision=662071
2007-05-07 12:27:19 +00:00
Luboš Luňák d510baf365 Option for separating focus between Xinerama screens.
svn path=/trunk/KDE/kdebase/workspace/; revision=662065
2007-05-07 12:18:19 +00:00
Luboš Luňák 2700b9d5a2 Default to no compositing support.
svn path=/trunk/KDE/kdebase/workspace/; revision=659601
2007-04-30 13:23:22 +00:00
Luboš Luňák f52b8e48cd branches/work/kwin_composite becomes new trunk kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
2007-04-29 17:35:43 +00:00
Luboš Luňák 2b7e1f4993 Remove kwin, kwin_composite will become new trunk kwin, missing merges
from trunk will be merged in.


svn path=/trunk/KDE/kdebase/workspace/; revision=659200
2007-04-29 17:34:49 +00:00
Laurent Montel 2178c6dc31 Include fix
svn path=/trunk/KDE/kdebase/workspace/; revision=656565
2007-04-21 18:28:47 +00:00
Luboš Luňák 58fdb149a8 Convert ShowFps effect to plugins.
svn path=/branches/work/kwin_composite/; revision=652275
2007-04-10 15:38:36 +00:00
Luboš Luňák 2c928221a4 namespace KWinInternal -> KWin - shorter typing of names in gdb, yay
svn path=/trunk/KDE/kdebase/workspace/; revision=650773
2007-04-05 12:12:10 +00:00
Luboš Luňák e3b865cd5f namespace KWinInternal -> KWin - shorter typing of names in gdb, yay
svn path=/branches/work/kwin_composite/; revision=650770
2007-04-05 12:07:35 +00:00
Luboš Luňák faa99fd5a7 Compile.
svn path=/branches/work/kwin_composite/; revision=636612
2007-02-23 14:42:00 +00:00
Luboš Luňák 2167e9a44a Merge r636311 from trunk.
svn path=/branches/work/kwin_composite/; revision=636611
2007-02-23 14:41:01 +00:00
Luboš Luňák 8af21ee5b3 merge r635823 from trunk
svn path=/branches/work/kwin_composite/; revision=636609
2007-02-23 14:38:01 +00:00
Barış Metin a7e940891f use changeGroup instead of creating redundant objects
svn path=/trunk/KDE/kdebase/workspace/; revision=636311
2007-02-22 19:48:09 +00:00
Barış Metin 12d1b8b0fd setGroup to KConfigGroup
svn path=/trunk/KDE/kdebase/workspace/; revision=635823
2007-02-21 02:59:04 +00:00
Dirk Mueller 249a84c5d9 merge in kconfig changes to make it compile
svn path=/branches/work/kwin_composite/; revision=635791
2007-02-20 22:31:26 +00:00
Stephan Kulow ab1fe691d8 merged kconfiggroup_port branch
svn path=/trunk/KDE/kdebase/workspace/; revision=635490
2007-02-20 07:00:30 +00:00
Philip Falkner a71753e5cd Change effects->windowOpacityChanged to also pass the old opacity; thanks Lubos!
Clean up FadeEffect a bit, and make it replace FadeOut in the default effects list.

svn path=/branches/work/kwin_composite/; revision=633032
2007-02-12 23:14:50 +00:00
Luboš Luňák 36afaf2efc Merge r632199 from kwin_composite.
svn path=/trunk/KDE/kdebase/workspace/; revision=632843
2007-02-12 13:29:36 +00:00
Dirk Mueller 6c224134db porting simplifications regarding KConfig::readEntry
svn path=/branches/work/kwin_composite/; revision=632199
2007-02-10 09:12:35 +00:00
Luboš Luňák 00136f014f Configurable effects loading by Cedric Borgese.
svn path=/branches/work/kwin_composite/; revision=630276
2007-02-04 22:19:17 +00:00
Philip Falkner f060c3bfbb Improved filtering algorithm. Now fast filtering is used by default, while (depending on SmoothScale in kwinrc) bilinear filtering is used on transformed windows and screens.
Optionally, if SmoothScale is set to 2, trilinear filtering will be attempted instead of bilinear.  This requires GL_ARB_texture_non_power_of_two, GL_EXT_framebuffer_object, and valid mipmaps.

svn path=/branches/work/kwin_composite/; revision=629453
2007-02-02 19:58:35 +00:00
Philip Falkner 45aeae3273 Merge from trunk (now it should build)
r581402:
 Not used.
r628276:
 merge the kinstance-redesign branch
r628350:
 This directory doesn't exist on my computer :)

svn path=/branches/work/kwin_composite/; revision=628706
2007-01-30 23:57:40 +00:00
Matthias Kretz 3003c4ecf8 merge the kinstance-redesign branch back to trunk.
svn path=/trunk/KDE/kdebase/workspace/; revision=628276
2007-01-29 17:14:20 +00:00
Luboš Luňák 4607cab829 Config option for whether zooming should be smooth or fast.
svn path=/branches/work/kwin_composite/; revision=610138
2006-12-03 13:38:57 +00:00
Luboš Luňák 38f4f76b31 Detect screen refresh rate for finding out optimal compositing
redraw speed. Patch by Philip Falkner.


svn path=/branches/work/kwin_composite/; revision=607253
2006-11-23 21:16:49 +00:00
Luboš Luňák 9c4218d4bf Sync to vblank, patch by Philip Falkner.
svn path=/branches/work/kwin_composite/; revision=606795
2006-11-21 20:59:59 +00:00
Luboš Luňák 0e53720687 Finish the showfps effect, including adding some configuration
and making it work even with XRender. I think it shows that
making non-trivial effects for both OpenGL and XRender
would be a) quite possible b) quite pain.


svn path=/branches/work/kwin_composite/; revision=606271
2006-11-19 20:25:04 +00:00
Luboš Luňák b956650b2d Make some aspects affecting performance configurable in kwinrc,
group [Translucency]:
GLMode=TFP|SHM|Fallback - select rendering mode
GLAlwaysRebind=<bool> - force rebinding a texture
GLDirect=<bool> - direct rendering
CCMAIL: kwin@kde.org


svn path=/branches/work/kwin_composite/; revision=606268
2006-11-19 20:13:49 +00:00
Luboš Luňák fa8cd7541f It wasn't a very good idea to do even compositing-unrelated
work in the work/kwin_composite branch.
svn merge revs 558154,558180,558236,558243,558258,562201


svn path=/trunk/KDE/kdebase/workspace/; revision=571776
2006-08-10 17:00:14 +00:00
Luboš Luňák bab62bf88f Use kwinrc:[Translucency]:UseTranslucency for controlling compositing.
svn path=/branches/work/kwin_composite/; revision=558712
2006-07-05 21:46:01 +00:00
Luboš Luňák f4f07d4fd3 Remove kompmgr-related code except for the generic parts like
the slider in Alt+F3.


svn path=/branches/work/kwin_composite/; revision=558258
2006-07-04 23:30:05 +00:00
Luboš Luňák 750d4f1d03 #67406 - config option kwinrc:Windows:ShowDesktopIsMinimizeAll.
But I hope this actually won't be needed with KDE4.


svn path=/trunk/KDE/kdebase/workspace/; revision=546548
2006-05-30 11:47:16 +00:00
Laurent Montel 5725624c8b #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/workspace/; revision=540496
2006-05-13 16:33:18 +00:00
Laurent Montel 7f7ce52d78 #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/workspace/; revision=539617
2006-05-11 08:04:23 +00:00
Laurent Montel c73394f756 Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=516258
2006-03-06 13:11:58 +00:00
Allen Winter ae65a40c7a TRUE->true, FALSE->false
svn path=/trunk/KDE/kdebase/workspace/; revision=511180
2006-02-19 01:33:48 +00:00
Laurent Montel fbd0bea1fc readListEntry--
svn path=/trunk/KDE/kdebase/workspace/; revision=502264
2006-01-25 14:25:30 +00:00
Laurent Montel 42937f76a7 read*entry--
svn path=/trunk/KDE/kdebase/workspace/; revision=500998
2006-01-21 19:36:31 +00:00
Luboš Luňák c830db4d22 Match the default in the kcm.
svn path=/trunk/KDE/kdebase/workspace/; revision=494327
2006-01-04 17:28:58 +00:00
Laurent Montel b0a95318bc readBoolEntry->readEntry
svn path=/trunk/KDE/kdebase/workspace/; revision=493850
2006-01-03 14:01:15 +00:00
Stephan Kulow 6c821aba01 some more compiling
svn path=/trunk/KDE/kdebase/workspace/; revision=473006
2005-10-22 11:35:06 +00:00
Stephan Kulow b464518b3c svn merge svn+ssh://coolo@svn.kde.org/home/kde/trunk/KDE/kdebase@438057
svn+ssh://coolo@svn.kde.org/home/kde/branches/work/kde4/kdebase
          .

I couldn't resolve one kicker conflict that results from different
development directions, so I rely on Aaron to sort it out - the file
is commited with conflicts

svn path=/trunk/KDE/kdebase/kwin/; revision=439627
2005-07-28 14:59:42 +00:00
Thomas Lübking d6b4366c51 redesigned partial opacity (moved from kompmgr to kwin, allowing to be set e.g. from decos) and (hopefully) fixed CPU hunger (if using fades)
svn path=/trunk/KDE/kdebase/kwin/; revision=430562
2005-07-01 19:55:06 +00:00
Luboš Luňák 5e1f36f580 Added option to turn off hiding utility windows for inactive applications.
BUG: 103921


svn path=/trunk/KDE/kdebase/kwin/; revision=412381
2005-05-11 14:49:01 +00:00
Luboš Luňák fc90a04635 Make it possible to do all kinds of strange things when mousewheeling
the titlebar or Alt+mousewheeling the window.
FEATURE:44318
FEATURE:66519
FEATURE:76188


svn path=/trunk/KDE/kdebase/kwin/; revision=410058
2005-05-06 15:20:49 +00:00
Thomas Lübking cd5ac45b77 added support for applying translucency on the titlebar or the content (not really: anything but the titlebar) only
svn path=/trunk/kdebase/kwin/; revision=387795
2005-02-09 18:31:35 +00:00
Thomas Lübking 05eda26865 added support for unshadowed moving windows, slight changes to updates on shapable windows
svn path=/trunk/kdebase/kwin/; revision=383513
2005-01-28 23:28:11 +00:00
Luboš Luňák 6dd5d6b1f7 XChangeProperty needs long type for 32bit data, especially on 64bit platforms.
Also silence a couple of warnings.
CCMAIL: Thomas Lübking <thomas.luebking@web.de>

svn path=/trunk/kdebase/kwin/; revision=382862
2005-01-27 09:58:34 +00:00
Thomas Lübking 270a071454 [kompmgr] removed /kompmgr/ shapable tag if only the deco is shaped
svn path=/trunk/kdebase/kwin/; revision=380839
2005-01-21 16:19:10 +00:00
Thomas Lübking 2fde6b6cf3 fixed ui of kompmgr support, using kde tools
svn path=/trunk/kdebase/kwin/; revision=379220
2005-01-16 21:03:59 +00:00
Thomas Lübking 8ad47028f6 Added composite (translucency/shadows) support
svn path=/trunk/kdebase/kwin/; revision=378790
2005-01-15 17:07:48 +00:00
Luboš Luňák 43f9553004 Adding yet another option, this time for what happens when clicking
the maximize button.

svn path=/trunk/kdebase/kwin/; revision=342186
2004-08-28 15:27:22 +00:00
Luboš Luňák 36b64e3897 GUI for rules (=window specific settings). Have fun figuring out how it
works, because I haven't written any kind of docs for it yet, and
the most important button doesn't work yet either (yes, that one that
has it written on it). I just hope the GUI doesn't suck too much, because
I'm really bad at such things.

svn path=/trunk/kdebase/kwin/; revision=322524
2004-06-21 16:25:24 +00:00
Luboš Luňák 33b11f1f07 Add a hidden option for the ping timeout before the dialog offering
killing the app appears (for #69211).

svn path=/trunk/kdebase/kwin/; revision=319659
2004-06-11 15:01:18 +00:00
Luboš Luňák 6e34bc5e8a KWin rules for making windows noncloseable, and for changing moveresize
mode.

svn path=/trunk/kdebase/kwin/; revision=318994
2004-06-09 08:33:53 +00:00
Luboš Luňák 2f7d3203aa KWin rules - override placement.
svn path=/trunk/kdebase/kwin/; revision=316411
2004-05-31 14:14:10 +00:00
Luboš Luňák 5632bb5129 Patch from Christopher J. Suleski (linux tildewave com) implementing #30426.
CCMAIL: 30426-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=315341
2004-05-28 08:53:44 +00:00
Xavier Izard ab428d9ab0 Patch for xinerama mode to allow fullscreens both on one or several screen(s)
svn path=/trunk/kdebase/kwin/; revision=310202
2004-05-10 23:22:27 +00:00
Luboš Luňák 854e9cc05a With windows that have are listed for the focus stealing prevention
workaround, don't make their user timestamp newer than the active window's
one (unless a real user activity takes place in them).
As they are belong to the active application and just fail to say so,
this makes sure they won't prevent that application from getting focus
by having newer timestamp. E.g. Alt+F2, typing URL, kio_uiserver dialog
shows (has workaround), SSL certificate dialog shows (shown by kdesktop),
and it wouldn't get focus, because kio_uiserver's timestamp would be later.

svn path=/trunk/kdebase/kwin/; revision=298357
2004-03-24 19:05:49 +00:00
Luboš Luňák 3abd0ebdf0 Oops. Qt3.2 used to set resource class in WM_CLASS all lowercase, but
Qt3.3 capitalizes it (part of my own patch IIRC, hehe :-/), so all
the workarounds for specific apps no longer work -> force resource class
to be always lowercase.

svn path=/trunk/kdebase/kwin/; revision=290521
2004-02-23 12:47:28 +00:00
Luboš Luňák 39e48b3b8d #48786 (comments #7 and later) - focus stealing prevention doesn't work
well with unreasonable focus policies -> disabled.

svn path=/trunk/kdebase/kwin/; revision=284526
2004-02-02 17:02:11 +00:00
Luboš Luňák 92390e6d86 These options are not used anymore.
svn path=/trunk/kdebase/kwin/; revision=273142
2003-12-15 14:43:44 +00:00
Luboš Luňák f4b4647fc3 kwinrc option for listing applications for which focus stealing prevention
should not be used. I have a strange feeling it will come handy :-/.

svn path=/trunk/kdebase/kwin/; revision=273127
2003-12-15 13:33:29 +00:00
Luboš Luňák afee9ba0fb Default to low level of focus stealing prevention, at least for some time.
svn path=/trunk/kdebase/kwin/; revision=272145
2003-12-09 14:10:13 +00:00
Luboš Luňák b7e040b873 Fix #67683 by globally enabling/disabling tooltips. As the buttons are
the only thing in kwin that has tooltips, this is fine.
CCMAIL: 67683-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=268374
2003-11-20 13:01:09 +00:00
Luboš Luňák 1d71c9839b Reserve space for topmenus, so there's no flicker, and the space is taken
even with no topmenu shown. Support topmenus only when enabled in kdeglobals.

svn path=/trunk/kdebase/kwin/; revision=266531
2003-11-12 09:47:13 +00:00
Luboš Luňák 6f272da774 Revert special dialog placement policies. I don't think I need to go
that far with overconfigurability.

svn path=/trunk/kdebase/kwin/; revision=255440
2003-10-01 16:51:19 +00:00
Luboš Luňák 720b988790 Configurable focus stealing prevention aggressivity.
svn path=/trunk/kdebase/kwin/; revision=254817
2003-09-29 11:23:14 +00:00
Luboš Luňák 10f405c73d Merging kwin core from kwin_iii back to HEAD.
svn path=/trunk/kdebase/kwin/; revision=251608
2003-09-16 19:28:03 +00:00
Dirk Mueller 6bbbe69c0e unbreak compilation (gcc 3.4+)
svn path=/trunk/kdebase/kcontrol/; revision=239225
2003-07-26 10:41:28 +00:00
George Staikos 33c578ef0c - Make kwin tooltip obey our placement settings
- Default to having these Xinerama options enabled - cleaner in general.

svn path=/trunk/kdebase/kwin/; revision=207611
2003-02-18 05:05:43 +00:00
George Staikos b14e712158 Repair a bit of damage
svn path=/trunk/kdebase/kcontrol/; revision=207610
2003-02-18 04:55:07 +00:00
George Staikos 7074d14fe9 Move Xinerama settings over to Xinerama KControl module, activate it and enable
it in the build.

I think there are some bugs in kwin though.  I must investigate now.  It seems
to be ignoring the settings and just always using xinerama support

svn path=/trunk/kdebase/kcontrol/; revision=207605
2003-02-18 04:34:53 +00:00
Karol Szwed 4577f0f474 Add a checkbox to enable/disable the geometry tip, making it _OFF_ by default,
as was planned. Also, it should never crash now.

Hopefully this will make pmax a bit happier ;-)

svn path=/trunk/kdebase/kwin/; revision=198711
2003-01-10 10:54:57 +00:00
Luboš Luňák a3bd5ae078 Try to fix #32969 by keeping the mouse grab even for active windows. People
not wanting this can disable click raise. Let's see if it breaks something.
(Related to this: kwin/client.cpp r1.309,r1.308,r1.305,r1.304,r1.303.)
TODO: the grab could be released at least as long as the window is topmost
and active

svn path=/trunk/kdebase/kwin/; revision=196998
2003-01-02 16:36:00 +00:00
Luboš Luňák b743a8297d Just make sure the values are read sanely from the config.
svn path=/trunk/kdebase/kwin/; revision=194510
2002-12-17 20:20:31 +00:00
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
2002-08-27 15:12:14 +00:00
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
2002-08-24 12:02:26 +00:00
Cristian Tibirna 8c9e80f813 CT: "rise" -> "raise", which fixes a bug with raising active windows
with the mouse. Thanks a lot to David Boddie <david@sleepydog.net>
	for discovering it.

svn path=/trunk/kdebase/kwin/; revision=170283
2002-08-03 19:27:21 +00:00
Cristian Tibirna e2ffbc884c CT: commit an older patch which loses "stupidly".
svn path=/trunk/kdebase/kwin/; revision=166870
2002-07-15 20:28:55 +00:00
Aaron J. Seigo 22b5d4ebbc make mouseOptions compare case insensitive in case some screws up the
capitalization in the config file (e.g. by messing with the kcm) ...

svn path=/trunk/kdebase/kwin/; revision=166360
2002-07-13 02:34:13 +00:00
Cristian Tibirna 9b03ba50c2 CT: two new non-placement policies. No GUI config.
Edit kwinrc and use either of:

Placement=StupidlyCentered
Placement=StupidlyZeroCornered

and then, at a prompt:

dcop kwin KWinInterface reconfigure

svn path=/trunk/kdebase/kwin/; revision=163755
2002-06-29 06:31:33 +00:00
Karol Szwed e9b984e3f8 - Make KApp's "appearanceChanged()" signal properly reconfigure the window
decoration's colors by calling the reset() cdecl.
- Change the options::reload() slot into a public method, as the slot is no
  longer required.

Reviewed by Matthias Elter

svn path=/trunk/kdebase/kwin/; revision=143232
2002-03-16 09:26:49 +00:00
Karol Szwed bf079b4498 - Add the resetClients() signal again for backwards compatility, and mark it
as obsolete.

svn path=/trunk/kdebase/kwin/; revision=141463
2002-03-07 03:19:57 +00:00
Luboš Luňák efca85b42a Always default to Alt for Alt+left mouse window moving.
svn path=/trunk/kdebase/kwin/; revision=140165
2002-03-02 13:50:26 +00:00
Matthias Ettrich dd29e3723c faster configuration changes. No crashes when reconfiguring kwin
several times with invalid plugin strings (happens when running
today's kpersonalizer)

svn path=/trunk/kdebase/kwin/; revision=139725
2002-03-01 01:34:54 +00:00
Cristian Tibirna 51268a6d18 CT: make it possible to stop desktop switching when the edge of the desktops group is reached.
Just add RollOverDesktops=false to your kwinrc/[Windows] config file and restart your kwin.
	Thanks to Carsten Pfeiffer for the suggestion

svn path=/trunk/kdebase/kwin/; revision=139620
2002-02-28 21:04:36 +00:00
Stephan Kulow f6911fcec7 init some more variables
svn path=/trunk/kdebase/kwin/; revision=136001
2002-02-11 18:25:38 +00:00
Ellis Whitehead f15d5c7205 Clean-up wrt KKeyNative.
svn path=/trunk/kdebase/kwin/; revision=132461
2002-01-19 04:53:13 +00:00
Dirk Mueller 375f175fbb CVSSILENT: fixincludes
svn path=/trunk/kdebase/khotkeys/; revision=129081
2001-12-29 17:33:05 +00:00
Ellis Whitehead 0fa8002e0d Updates necessary for changes made in the K*Accel* and KKey* classes.
svn path=/trunk/kdebase/kcontrol/; revision=129003
2001-12-29 04:19:24 +00:00
Waldo Bastian 8c5a34d322 Take into account a wide range of pager-layouts, the pager can set the
required layout via DCOP. Used for desktop left/right/up/down.

svn path=/trunk/kdebase/kwin/; revision=124773
2001-11-29 23:59:54 +00:00
Ellis Whitehead e2997d6bc4 Lots and lots and lots of changes all over the place for shortcut changes. Including new KAccel and KGlobalAccel classes.
svn path=/trunk/kdebase/kcontrol/; revision=122759
2001-11-16 23:21:43 +00:00