Commit graph

158 commits

Author SHA1 Message Date
Martin Gräßlin
987bc837d9 Remove define KWIN_HAVE_OPENGL_COMPOSITING
Due to changes in build system we have always either OpenGL or OpenGL ES.
This allows to remove the KWIN_HAVE_OPENGL_COMPOSITING define. In the
effects the define is kept as KWIN_HAVE_OPENGL which can be used in
future to build also an XRender only effect system.
2011-08-13 16:46:43 +02:00
Martin Gräßlin
5213c4aff6 Drop direct rendering setting
The advanced compositing option "direct rendering" could only
correctly be honored in the case of proprietary NVIDIA drivers.
In all other cases playing with the setting was most likely
harmful as it could result in inconsistent states and the
option not to be honored at all.

This patch resolves this issue by moving the detection whether
to use a direct rendering context completely into the hands of
 the set environment variables or the helper program:
* if LIBGL_ALWAYS_INDIRECT is set, we use an indirect context
* if KWIN_DIRECT_GL is set, we use a direct context
* if none of the two are set, we use the helper program, if it
  returns 0 we create a direct context, otherwise we set
  LIBGL_ALWAYS_INDIRECT and create an indirect context

If a user really wants to influence the behavior the
environment variables can be used.

REVIEW: 102074
2011-07-31 17:40:03 +02:00
Martin Gräßlin
6cfdbfe1dc Remove compositing self-check
Removes the last bits of the self-check at compositing startup.
It seems like they were only added to XRender because they were
in OpenGL and there they are not available for quite some time.

Also removes the now obsolete disable functionality checks from UI.

REVIEW: 101756
2011-06-26 09:19:22 +02:00
Martin Gräßlin
a81ddf2949 Disable Unredirect Fullscreen Windows by default
Well we don't have another choice if half of the drivers crash kwin
whenever you watch a fullscreen flash video or use a screen saver.
Unredirect Fullscreen Window was quite useful in case you used
to play heavy OpenGL games, but pretty useless for anything else.
For the game and hd video usecase we nowadays have the better way
of really suspending compositing (either by the client indicating or
with a window specific rule). The plus of suspending compositing is
that the driver doesn't crash.

And yes we are "supposed" to no longer workaround driver bugs.
Good joke, I like to redirect my inbox to everyone who things we
are not allowed to workaround driver bugs.

CCBUG: 252817
2011-05-15 09:40:19 +02:00
Thomas Lübking
364ce6fbfc Allow the user to rearm OpenGLIsUnsafe KWIn autocrash protection
Also add a usable "doesn't work why" info and WARN! the user about clicking the rearm button.
Merge "OpenGLIsUnsafe" and "CheckIsSafe" config keys
Move the entire checking into CompositingPrefs

BUG:250865
FIXED-IN:4.7
2011-05-11 20:16:08 +02:00
Martin Gräßlin
c37b7cdcba GUI option to control new GLLegacy option
Needs to be removed when compiled against GLES.
2011-05-01 13:04:29 +02:00
Thomas Lübking
0c5d47f3ae unify composite activation, 'Enable' only controls initial state 2011-03-06 22:35:13 +01:00
Martin Gräßlin
0a7e48f7aa KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
Martin Gräßlin
cf03487331 Remove Shadow Effect.
The shadow effect is known to be broken since at least 4.5.
It is unfortunately in a state which makes it difficult to maintain
and the architecture has some serious drawbacks. Therefore it is the
best solution to replace the effect with a new and better
implementation. For more information about the new implementation
please see the discussion on KWin mailinglist:
http://lists.kde.org/?l=kwin&m=129607406517609&w=2

This also "fixes" all existing bug reports about the shadow effect.
Most of the bugs will really be fixed when the new shadow system is
implemented, if not it is a new bug and a new report should be created
for it.

Please excuse that we go this unnormal approach to mark bugs as
fixed with code removal.
BUG: 164084
BUG: 160948
BUG: 189241
BUG: 229164
BUG: 258663
BUG: 216709
BUG: 243890
FIXED-IN: 4.7.0
2011-01-30 14:26:58 +01:00
Martin Gräßlin
2f56415a21 Removing SHM and Fallback OpenGL Compositing modes.
Our primary target is Texture From Pixmap and it is supported
by all important drivers nowadays. If a driver is not able to
support TFP using OpenGL at all is probably no good idea and
XRender is more suited.
2011-01-30 14:24:48 +01:00
Fredrik Höglund
16bd68ec5f Add a translated string for future use.
svn path=/trunk/KDE/kdebase/workspace/; revision=1195846
2010-11-12 05:36:07 +00:00
Thomas Lübking
029f93127f kick trilinear filtering if favor of the lanczos filter (now default, unless blacklisted)
make the scale method configurable and align the UI for GL and Xrender

CCBUG: 243181


svn path=/trunk/KDE/kdebase/workspace/; revision=1195698
2010-11-11 19:53:19 +00:00
Laurent Montel
e810dbc582 Use script to add QLatin1String in setObjectName directly
svn path=/trunk/KDE/kdebase/workspace/; revision=1177599
2010-09-20 18:18:36 +00:00
Martin Gräßlin
5dc513e6a4 Adding checkbox for unredirecting fullscreen windows.
FEATURE: 232532
CCBUG: 177495
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/workspace/; revision=1176432
2010-09-17 17:46:34 +00:00
Aaron J. Seigo
c83c168c16 'composit[e|ing]' is technical jargon; use the terminology we use elsewhere in the UI (particularly the config UI) consistently everywhere. tested on real life users(tm)
svn path=/trunk/KDE/kdebase/workspace/; revision=1103845
2010-03-16 01:17:36 +00:00
Lucas Murray
8960c552d2 Remove OpenGL driver whitelist; Add protection against crashy glXQuery
functions and share the value with the KCM; Fallback to XRender
compositing if OpenGL fails to work correctly; Rearrange setting order
in options.h slightly and fix variable names

svn path=/trunk/KDE/kdebase/workspace/; revision=1079919
2010-01-25 10:02:08 +00:00
Martin Gräßlin
9715014b4d Less krazy issues: fix spelling errors in comments.
SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1063337
2009-12-17 21:16:10 +00:00
Luboš Luňák
7cef1eadd5 use recommendation from compositing prefs only if there's
no explicit choice (because of driver crashes)


svn path=/trunk/KDE/kdebase/workspace/; revision=1058248
2009-12-04 09:29:08 +00:00
Andreas Hartmetz
82f6efa7d0 clearer, spelling++
svn path=/trunk/KDE/kdebase/workspace/; revision=1058185
2009-12-04 06:23:24 +00:00
Thomas Lübking
564843d76f (hopefully) bypass detection if stumbled -due to broken drivers- before
svn path=/trunk/KDE/kdebase/workspace/; revision=1056312
2009-11-29 20:35:47 +00:00
Lucas Murray
424d358fd2 Less Krazy warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1042583
2009-10-30 08:10:35 +00:00
Lucas Murray
8a8428e41c Less Krazy warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1042572
2009-10-30 06:51:59 +00:00
Burkhard Lück
ccd997de2e fix typo spotted by mvillarino@gmail.com on kde-i18n-doc@kde.org
svn path=/trunk/KDE/kdebase/workspace/; revision=1029459
2009-09-29 20:17:36 +00:00
Martin Gräßlin
76f17e6de1 Here comes the new TabBox. It is a complete rewrite using a MVC approach. Here some highlights:
* Models and Delegates for Clients and Desktops
 * Horizontal, vertical and tabular layout
 * Layout of one item can be configured by an XML definition
 * A desktop item can include a client list
 * An optional second list view showing only the selected item
 * A new KCM "kwintabbox"
 * An alternative TabBox with independent settings and keybindings
 * Optional Highlight Windows effect integration
 * List scrolls instead of removing items
 * Scroll wheel support
 * Cursor key support
 * Middle click on item closes window
BUG: 195745
BUG: 197187
BUG: 201103
FEATURE: 118184
FEATURE: 156723
FEATURE: 177441
FEATURE: 182897
FEATURE: 193882
GUI:

svn path=/trunk/KDE/kdebase/workspace/; revision=1022861
2009-09-13 11:36:45 +00:00
Robin Harold Burchell
f892ffb0e7 Remove flicker when changing effect plugins by not fully reloading compositing plugins anymore.
Replaces one hack with another hack (due to having to support multiple kwin instances),  but provides a much better user experience.
Big thanks to mgraesslin for comments,  review,  and fixes.

BUG: 183107

svn path=/trunk/KDE/kdebase/workspace/; revision=1022489
2009-09-11 21:03:24 +00:00
Martin Gräßlin
abe5c4ff04 Complete rewrite of flip switch.
* no more usage of OpenGL directly. Only highlevel API (except multiscreen :-()
 * better animations by adjusting the TimeLine's curve shape
 * new configuration options for window positions
 * Usage without tabbox (also supporting electric border)
 * Effect Frame showing the window title
 * many more things I have forgotten to mention
BUG: 187761

svn path=/trunk/KDE/kdebase/workspace/; revision=1000437
2009-07-21 10:18:48 +00:00
Lucas Murray
d4647a3fbc Display a warning message when compositing is enabled during KDE
failsafe mode.
BUG: 197874

svn path=/trunk/KDE/kdebase/workspace/; revision=987757
2009-06-26 15:29:00 +00:00
Christoph Feck
58b9127b3e Fix layout issues in kwin kcm
* remove fixed layout spacing and margin
* respect style's QFormLayout field policy
* reduce vertical space in compositing "General" tab
* layout desktop names in two columns


svn path=/trunk/KDE/kdebase/workspace/; revision=986282
2009-06-24 13:09:58 +00:00
David Nadlinger
13b1a0580d Removed stale connect() – it was causing a runtime warning since compositingModeChanged() does not exist any more.
svn path=/trunk/KDE/kdebase/workspace/; revision=959605
2009-04-26 17:04:41 +00:00
Martin Gräßlin
63edbaff81 Show current compositing state (disabled/suspended/active) in Desktop Effects KCM and add a button to resume/suspend compositing. So it should be easier for the user to resume compositing if he does not know about the shortcut.
CCBUG: 188118

svn path=/trunk/KDE/kdebase/workspace/; revision=955636
2009-04-18 10:07:16 +00:00
Albert Astals Cid
e74249083f const & for foreach 'iterators'
svn path=/trunk/KDE/kdebase/workspace/; revision=952187
2009-04-11 11:11:50 +00:00
Martin Gräßlin
dd0ee8f1e0 Use a custom notification for not supported effects instead of a generic notification.
svn path=/trunk/KDE/kdebase/workspace/; revision=949998
2009-04-06 11:53:58 +00:00
Martin Gräßlin
faee334ed5 Only show notification about not loaded effects if compositing is enabled.
svn path=/trunk/KDE/kdebase/workspace/; revision=948323
2009-04-02 19:22:01 +00:00
Martin Gräßlin
8ed4c44539 Send notification about effects that could not be activated because they are not supported by hardware or compositing backend.
FEATURE: 168841

svn path=/trunk/KDE/kdebase/workspace/; revision=947920
2009-04-01 16:24:40 +00:00
Lucas Murray
ac9c37c64d Merged "active screen edges" and "active desktop borders" into a single
GUI panel. This panel is currently located in System Settings -> Desktop
-> Screen Edges.
BUG: 174709

svn path=/trunk/KDE/kdebase/workspace/; revision=932929
2009-02-27 15:40:53 +00:00
Martin Gräßlin
4fa09b63b4 Sphere and Cylinder become part of Cube effect. That is much more convenient than having an own effect for each (only loading the shader is actually required).
Btw caps of cylinder and sphere are working correctly again.

svn path=/trunk/KDE/kdebase/workspace/; revision=925809
2009-02-14 09:29:01 +00:00
Frederik Schwarzer
a604e4a60d global typo fix
svn path=/trunk/KDE/kdebase/workspace/; revision=922431
2009-02-07 01:12:28 +00:00
Martin Gräßlin
f7f5bc8326 Split cube mode and animation of desktop switching in separate effects: say hello to CubeSlide effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=922342
2009-02-06 18:53:16 +00:00
Lucas Murray
117c719c7d Merge branch 'fadeeffect'
Conflicts:
	kcmkwin/kwincompositing/main.cpp

svn path=/trunk/KDE/kdebase/workspace/; revision=911326
2009-01-15 09:55:15 +00:00
Loic Marteau
1543c9ec02 Add an icon to the confirmation dialog the user gets when he try to set composition on.
svn path=/trunk/KDE/kdebase/workspace/; revision=903054
2008-12-29 20:09:15 +00:00
Lucas Murray
5f3b538cde Readd the decoration reloading code when compositing settings are
changed that I accidently removed in r894182.

svn path=/trunk/KDE/kdebase/workspace/; revision=898166
2008-12-17 15:30:50 +00:00
Lucas Murray
433bea2003 Load and save electric borders separately from the general settings.
Fixes bug preventing users from changing active screen edges.
BUG: 176900

svn path=/trunk/KDE/kdebase/workspace/; revision=897888
2008-12-17 03:10:51 +00:00
Lucas Murray
3f1f5b8686 Do the previous commit at buildtime instead of runtime.
CCMAIL: espen.hustad@gmail.com

svn path=/trunk/KDE/kdebase/workspace/; revision=894258
2008-12-08 11:00:01 +00:00
Lucas Murray
d760d90eb6 When compiled without OpenGL or XRender support do not show it in the
advanced settings. Patch based on one by Espen Hustad.
BUG: 162094

svn path=/trunk/KDE/kdebase/workspace/; revision=894252
2008-12-08 10:48:38 +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
David Nadlinger
21f64ffffe kcmkwincompositing: Brought back a slot which I recently removed because it was seemingly unneeded (at least nobody could tell why it was there in the first place).
I don't expect this to fix the plugin selection bug, but it could aid in tracking the issue down.

svn path=/trunk/KDE/kdebase/workspace/; revision=893015
2008-12-05 18:41:24 +00:00
David Nadlinger
81966b29e9 Removed now unneeded temporary config workaround from kcmkwincompositing.
If there appears any new, possibly related bug, be quick to suspect this commit, because it is not really tested, but should help to track the plugin selection bug down.

svn path=/trunk/KDE/kdebase/workspace/; revision=893010
2008-12-05 18:13:42 +00:00
Lucas Murray
01d167d463 Reverted part of r890193 as it didn't fix the problem.
svn path=/trunk/KDE/kdebase/workspace/; revision=890200
2008-11-28 15:23:28 +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
Lucas Murray
141dae20ed Reload decorations when enabling or disabling compositing as well.
svn path=/trunk/KDE/kdebase/workspace/; revision=890055
2008-11-28 12:34:41 +00:00
Lucas Murray
7c0628f337 Reload decorations when any shadow-related settings are changed.
svn path=/trunk/KDE/kdebase/workspace/; revision=888747
2008-11-25 10:06:44 +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
Stephan Binner
7929582374 i18n style guide fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=885677
2008-11-17 18:35:18 +00:00
Lucas Murray
b0ed226d94 Fixed hideen previews and smooth scaling advanced options not triggering
a compositing reinitialization when changed.

svn path=/trunk/KDE/kdebase/workspace/; revision=884221
2008-11-14 13:18:03 +00:00
Lucas Murray
ff8c9c2468 SVN_SILENT Disable the advanced tab when desktop effects are disabled.
svn path=/trunk/KDE/kdebase/workspace/; revision=884200
2008-11-14 12:46:11 +00:00
Lucas Murray
2cfcdf66f7 Moved desktop effect advanced options GUI from a dialog into a tab.
svn path=/trunk/KDE/kdebase/workspace/; revision=884186
2008-11-14 12:36:59 +00:00
Lucas Murray
a3f7f13f70 Cleaned up desktop effect GUI, moved screen edges to a separate tab.
svn path=/trunk/KDE/kdebase/workspace/; revision=884135
2008-11-14 11:53:25 +00:00
Martin Gräßlin
585addb450 Add a widget to assign an effect to screen edges in the kwincompositing dialog.
Remove the previous configuration for assigning screen edges from the config dialogs of the single effects.

svn path=/trunk/KDE/kdebase/workspace/; revision=880728
2008-11-06 10:42:36 +00:00
Enrique Matías Sánchez
f5efd9ca28 SVN_SILENT Fix typos in kdebase
svn path=/trunk/KDE/kdebase/workspace/; revision=875089
2008-10-23 09:31:44 +00:00
Davide Bettio
ae957480a0 usability++
see "kwin's KCM usability" mail.

svn path=/trunk/KDE/kdebase/workspace/; revision=871309
2008-10-14 13:23:50 +00:00
Luboš Luňák
1d2c54edcc Support for proper effect reconfiguration instead of reloading them.
Fixes e.g. the global animation combo not taking effect.


svn path=/trunk/KDE/kdebase/workspace/; revision=866903
2008-10-02 09:27:32 +00:00
Luboš Luňák
0ca1edbfe8 Read default values from .desktop files when finding out whether an effect is enabled,
otherwise the effect-for-alt+tab combo resets to no effect when the dialog is used the first time.


svn path=/trunk/KDE/kdebase/workspace/; revision=866648
2008-10-01 15:21:21 +00:00
Lucas Murray
a3e834fb99 Reorganized effect categories.
svn path=/trunk/KDE/kdebase/workspace/; revision=861851
2008-09-17 10:36:28 +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
3528630f80 Qt4/KDE4 dialog ctors don't accept object name or modal flag.
svn path=/trunk/KDE/kdebase/workspace/; revision=854326
2008-08-29 12:03:12 +00:00
Martin Gräßlin
e197a53ca9 Easy to use config options to select the effect for window switching (alt+tab) and for desktop switching. So now more searching through all effects to enable one effect and disable the conflicting effects.
svn path=/trunk/KDE/kdebase/workspace/; revision=852627
2008-08-26 07:31:57 +00:00
Luboš Luňák
49660876c1 When confirming compositing in the configuration module,
wait for KWin to initialize it and report if it fails.
FEATURE: 161900


svn path=/trunk/KDE/kdebase/workspace/; revision=847403
2008-08-15 11:09:07 +00:00
Luboš Luňák
b099f15cee Fix last commit.
svn path=/trunk/KDE/kdebase/workspace/; revision=842502
2008-08-05 12:41:31 +00:00
Luboš Luňák
45c3b4dc0c Tracking mouse is no window management.
svn path=/trunk/KDE/kdebase/workspace/; revision=842489
2008-08-05 12:01:57 +00:00
Sebastian Sauer
6792f27535 switch to general tab before setting defauls else the defaults are not set.
svn path=/trunk/KDE/kdebase/workspace/; revision=835329
2008-07-20 12:59:23 +00:00
Sebastian Sauer
70c0a1a3c7 don't switch changed-state by just switching tabs
svn path=/trunk/KDE/kdebase/workspace/; revision=835311
2008-07-20 12:38:33 +00:00
Lucas Murray
1d6da823a0 Corrected number of default effects. Can someone please backport this.
BUG: 166720
CCMAIL: kwin@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=833261
2008-07-16 15:00:53 +00:00
Sebastian Kügler
a822eadc64 Enable the mouse tracking plugin by default.
svn path=/trunk/KDE/kdebase/workspace/; revision=829757
2008-07-09 02:27:07 +00:00
Luboš Luňák
a59f0a7f5e Revert r768755. There apparently is a need to have two calls.
The wonders of dbus ...


svn path=/trunk/KDE/kdebase/workspace/; revision=768770
2008-01-30 16:08:23 +00:00
Luboš Luňák
47bf19d978 There's really no need to have two dbus functions for reconfiguring.
svn path=/trunk/KDE/kdebase/workspace/; revision=768755
2008-01-30 15:31:44 +00:00
Thomas Zander
4b32f3820b Better fix
svn path=/trunk/KDE/kdebase/workspace/; revision=754680
2007-12-30 14:34:04 +00:00
Thomas Zander
72ea36acce Fix problem(s) that the revert to previous config didn't actually work
for the items on the global tab. So enabling compositing made the whole
screen black for me with no way out.

svn path=/trunk/KDE/kdebase/workspace/; revision=754669
2007-12-30 14:07:38 +00:00
Aurélien Gâteau
35eff66c1f One less double margin.
svn path=/trunk/KDE/kdebase/workspace/; revision=749474
2007-12-17 08:26:19 +00:00
Thomas Zander
539275e0df BUG:153554
Make the checkbox a tri-state when not all items it represents were selected

svn path=/trunk/KDE/kdebase/workspace/; revision=746970
2007-12-10 19:04:21 +00:00
Rivo Laks
652713eac9 Sync tabs before saving.
Prevents settings of one tab from overwriting those of another one.

svn path=/trunk/KDE/kdebase/workspace/; revision=742683
2007-11-28 15:42:40 +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
2fd0261c03 i18n messages for effects.
svn path=/trunk/KDE/kdebase/workspace/; revision=736200
2007-11-13 17:29:46 +00:00
Rivo Laks
c4e55307ce Show reason (extensions not available or kwin support disabled at compile time)
when compositing cannot be used.

svn path=/trunk/KDE/kdebase/workspace/; revision=735788
2007-11-12 16:32:25 +00:00
Luboš Luňák
138428a2be There's a slight difference between & and &&.
svn path=/trunk/KDE/kdebase/workspace/; revision=727083
2007-10-19 18:07:52 +00:00
Rivo Laks
6e2967b573 Use KTimerDialog from randr kcm instead of our own dialog.
svn path=/trunk/KDE/kdebase/workspace/; revision=721602
2007-10-05 16:36:17 +00:00
Luboš Luňák
490531046a A confirmation dialog with timeout does not really make that much sense
when turning compositing off.


svn path=/trunk/KDE/kdebase/workspace/; revision=719249
2007-09-30 17:36:59 +00:00
Rivo Laks
5bc7142bff No newline
svn path=/trunk/KDE/kdebase/workspace/; revision=717760
2007-09-27 14:02:55 +00:00
Rivo Laks
c71b5539cf Show a message when compositing isn't supported
svn path=/trunk/KDE/kdebase/workspace/; revision=717750
2007-09-27 13:26:55 +00:00
Rivo Laks
841780d0a7 Check if compositing is supported and disable everything if it isn't
svn path=/trunk/KDE/kdebase/workspace/; revision=717332
2007-09-26 16:35:30 +00:00
Robert Knight
a0f8c2b681 Remove the Cancel button as there are only two ways out of the 'Confirm' situation.
svn path=/trunk/KDE/kdebase/workspace/; revision=715665
2007-09-22 20:35:35 +00:00
Robert Knight
d22dac6661 Change 'Compositing settings' to 'Dekstop effects settings' in the confirmation dialog.
svn path=/trunk/KDE/kdebase/workspace/; revision=715661
2007-09-22 20:19:17 +00:00
Rivo Laks
69058845e6 Add reinitCompositing dbus signal that reinits compositing (reconfigure signal doesn't and
shouldn't cause that) and use it when advanced compositing settings change.

svn path=/trunk/KDE/kdebase/workspace/; revision=714813
2007-09-20 17:19:19 +00:00
Rivo Laks
45aab602ef Actually restart KWin when new config is rejected
svn path=/trunk/KDE/kdebase/workspace/; revision=714811
2007-09-20 17:14:26 +00:00
Rivo Laks
a93826681a Synchronize effect checkboxes with the effect selector widget by using a
temporary config file for communication when active tab changes.

svn path=/trunk/KDE/kdebase/workspace/; revision=714742
2007-09-20 13:21:49 +00:00
Rivo Laks
3074e126e7 Remove debug line
svn path=/trunk/KDE/kdebase/workspace/; revision=714129
2007-09-18 19:53:30 +00:00
Rivo Laks
36d804a0f5 Set focus to No button initially, so enter = revert changes.
I'm not completely sure about this, but it could help to prevent accidential confirms

svn path=/trunk/KDE/kdebase/workspace/; revision=714128
2007-09-18 19:51:54 +00:00
Rivo Laks
5feeb3f483 Add Cancel button to confirmation dialog
svn path=/trunk/KDE/kdebase/workspace/; revision=714125
2007-09-18 19:47:54 +00:00
Rivo Laks
d32b4a3130 Use KDialog instead of QMessageBox for confirmation dialog (can't use KMessageBox)
svn path=/trunk/KDE/kdebase/workspace/; revision=714120
2007-09-18 19:38:57 +00:00
Rivo Laks
d965cdee99 Beginnings of confirmation dialog shown when critical compositing settings
are changed.
When user doesn't click Yes in 10 secs then changes are reverted.

svn path=/trunk/KDE/kdebase/workspace/; revision=714104
2007-09-18 19:00:23 +00:00