Commit Graph

740 Commits (622828eba427d79caafc91461431ab6fbe7bde98)

Author SHA1 Message Date
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 199bf254c5 Make internal QWidget's override_redirect, just in case.
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=845646
2008-08-12 08:31:07 +00:00
Luboš Luňák 163fb3a572 Make internal QWidget's override_redirect, just in case.
svn path=/trunk/KDE/kdebase/workspace/; revision=845645
2008-08-12 08:29:33 +00:00
Luboš Luňák 32e991c8d8 Don't lose the desktop submenu in Alt+F3.
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=843598
2008-08-07 11:51:42 +00:00
Luboš Luňák 085abe58b2 Don't lose the desktop submenu in Alt+F3.
svn path=/trunk/KDE/kdebase/workspace/; revision=843596
2008-08-07 11:51:20 +00:00
Luboš Luňák ed2d087f9b Shortcut for temporarily suspending compositing. Useful when
one wants to run something graphically intensive like a game
or when compositing goes awry and one wants to see the checkbox
that turns it off.
FEATURE: 155581


svn path=/trunk/KDE/kdebase/workspace/; revision=810031
2008-05-19 21:48:47 +00:00
Luboš Luňák 53cc35b649 Show the composite overlay window only before the first painting pass
actually needs to flush the output to the screen. Avoids windows
temporarily disappearing during KDE startup or similar visual glitches.


svn path=/trunk/KDE/kdebase/workspace/; revision=806387
2008-05-11 09:48:34 +00:00
Luboš Luňák 2f8d2751a1 Fix handling of stacking order of unmanaged windows. Could maybe use a little
bit more of optimization.
BUG: 157878


svn path=/trunk/KDE/kdebase/workspace/; revision=800581
2008-04-24 12:53:03 +00:00
Luboš Luňák 26b79d9177 Use QVector instead of plain-C-error-prone-memory-leaking arrays.
svn path=/trunk/KDE/kdebase/workspace/; revision=798503
2008-04-18 12:57:16 +00:00
Luboš Luňák 01d9d88580 Add a dbus call to query which color settings the current decoration
supports, to be used by kcmcolors.


svn path=/trunk/KDE/kdebase/workspace/; revision=788598
2008-03-21 22:17:10 +00:00
Luboš Luňák fbbe94753e Repaint decoration after configuration change when it doesn't need a reset.
svn path=/trunk/KDE/kdebase/workspace/; revision=788371
2008-03-21 12:57:41 +00:00
Luboš Luňák 38291eb82c Make border sizes while maximizing take effect even when the actual
geometry does not change.
BUG: 158252


svn path=/trunk/KDE/kdebase/workspace/; revision=787741
2008-03-19 19:32:32 +00:00
Luboš Luňák 70f6d9c36c Keeping a QTimer around rather than using QTimer::singleShot()
is more efficient, gives 1295->1320fps improvement with glxgears.


svn path=/trunk/KDE/kdebase/workspace/; revision=787722
2008-03-19 18:13:22 +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
Luboš Luňák b053544c72 Trigger full repaint after configuration change and after switching to X,
just in case.
BUG: 154825


svn path=/trunk/KDE/kdebase/workspace/; revision=761857
2008-01-15 13:06:26 +00:00
Luboš Luňák 82ad4e01ce Report old buttons and modifiers state in mouseChanged() as well.
svn path=/trunk/KDE/kdebase/workspace/; revision=755995
2008-01-02 15:34:12 +00:00
Luboš Luňák 3b2b091c34 Make a clear distinction between types we support only for compositing
and types that are actually supported when managing windows.


svn path=/trunk/KDE/kdebase/workspace/; revision=746036
2007-12-07 15:53:43 +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 d18e4933a0 Make DesktopGrid useful also from keyboard.
svn path=/trunk/KDE/kdebase/workspace/; revision=739147
2007-11-20 16:17:08 +00:00
Luboš Luňák ab70575d1f Make the outline for moving/resizing work with Qt4, which bothers
to support XOR painting only when XRender is available. Given that
outline should be mainly used with older systems, go for a DIY Xlib-based
solution. Needs changes in decorations using it.
BUG: 149997


svn path=/trunk/KDE/kdebase/workspace/; revision=739136
2007-11-20 16:00:58 +00:00
Luboš Luňák 1b8b326c7b Replace warnings about KShortcutDialog being dead with something that is not dead.
Now, since I don't see any shortcuts-related hacks, why exactly am I supposed
to contact you?
CCMAIL: ahartmetz@gmail.com
BUG: 151642 


svn path=/trunk/KDE/kdebase/workspace/; revision=731744
2007-11-01 19:24:35 +00:00
Luboš Luňák 0e55f109c5 Don't do any compositing when nothing is visible anyway (e.g. when switched
away from the X session).


svn path=/trunk/KDE/kdebase/workspace/; revision=726713
2007-10-18 17:58:08 +00:00
David Faure c0ef0450c7 kcmshell renamed to kcmshell4 to fix co-installability between kdelibs3 and kdebase4-runtime
svn path=/trunk/KDE/kdebase/workspace/; revision=725652
2007-10-15 22:24:08 +00:00
Rivo Laks 6f6a3ad3bf Update settings in reinitCompositing() (otherwise changes won't take effect)
svn path=/trunk/KDE/kdebase/workspace/; revision=716963
2007-09-25 18:32:26 +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 89b9872eef Remove kwineffects config module as it's functionality is now offered by kwincompositing module
svn path=/trunk/KDE/kdebase/workspace/; revision=714019
2007-09-18 14:44:03 +00:00
Pino Toscano f337ec8cfd give the proper names for kcm modules to load; not sure about the KAuthorized thing, though
svn path=/trunk/KDE/kdebase/workspace/; revision=709211
2007-09-06 20:34:44 +00:00
Arto Hytönen e1c6433c8e pass-by-value -> reference-to-count fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=707741
2007-09-02 20:01:17 +00:00
Pino Toscano ee84e19a8f less qt3support
svn path=/trunk/KDE/kdebase/workspace/; revision=707454
2007-09-01 22:29:47 +00:00
Luboš Luňák 89467f4afc QCursor::pos() -> cursorPos()
svn path=/trunk/KDE/kdebase/workspace/; revision=704207
2007-08-24 09:54:21 +00:00
Laurent Montel 994c800d79 Adapt to new KWarning/kFatal/kDebug api
svn path=/trunk/KDE/kdebase/workspace/; revision=695877
2007-08-03 06:59:24 +00:00
Luboš Luňák ab1582de27 It's really interesting that KWin has had support for an arbitrary root
window, but I don't think it really works these days, and it's probably
also not useful at all.


svn path=/trunk/KDE/kdebase/workspace/; revision=689949
2007-07-19 16:24:51 +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 634ca3041c Minimize the offset for electric borders warp.
CCBUG: 129423


svn path=/trunk/KDE/kdebase/workspace/; revision=678503
2007-06-21 15:07:14 +00:00
Luboš Luňák 0de8f314a8 Add a comment.
svn path=/trunk/KDE/kdebase/workspace/; revision=677630
2007-06-19 15:03:26 +00:00
Luboš Luňák 27f67f3428 Dump support for the KDE systray mechanism. Hurray.
svn path=/trunk/KDE/kdebase/workspace/; revision=677076
2007-06-18 12:28:11 +00:00
Laurent Montel a38f0d95e1 K3Process--
svn path=/trunk/KDE/kdebase/workspace/; revision=676771
2007-06-17 17:09:40 +00:00
Luboš Luňák afd0dae2a8 Allow also diagonal desktop switching with electric borders.
Don't warp the mouse so much after the switch.

BUG: 81170
BUG: 129423


svn path=/trunk/KDE/kdebase/workspace/; revision=675918
2007-06-15 13:06:17 +00:00
Luboš Luňák 0c75e67ced svn path=/trunk/KDE/kdebase/workspace/; revision=675860 2007-06-15 10:37:34 +00:00
Luboš Luňák ba8b014c82 Set usable destop layout default if none is given.
svn path=/trunk/KDE/kdebase/workspace/; revision=671715
2007-06-05 12:41:15 +00:00
Aaron J. Seigo 5521cc8ae9 prevent crash where effects doesn't get set up properly; e.g. opengl is selected or is the default but it can't initialize / find support as needed in the opengl implementation
svn path=/trunk/KDE/kdebase/workspace/; revision=671104
2007-06-03 19:48:27 +00:00
Luboš Luňák a47797e80a Read desktop layout also during startup.
svn path=/trunk/KDE/kdebase/workspace/; revision=669892
2007-05-30 18:17:18 +00:00
Rivo Laks f8613ab4bd Reload effects when config changes
svn path=/trunk/KDE/kdebase/workspace/; revision=669037
2007-05-28 11:24:21 +00:00
Rivo Laks d26528afb7 Add effects' config module to the window that pops up after RMB on window title -> Configure
svn path=/trunk/KDE/kdebase/workspace/; revision=668253
2007-05-25 17:33:30 +00:00
Luboš Luňák 1040404a2a Track stacking order of unmanaged windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=667686
2007-05-23 16:22:59 +00:00
Luboš Luňák 2c1ca75e3a Oops, there should not be zero screens.
svn path=/trunk/KDE/kdebase/workspace/; revision=665694
2007-05-17 17:25:08 +00:00
Thorsten Roeder 0666147473 some krazy fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=664331
2007-05-13 17:47:20 +00:00
Luboš Luňák b99fcd4862 Remove deleted clients also from the list for 'show desktop'.
BUG: 145147


svn path=/trunk/KDE/kdebase/workspace/; revision=662907
2007-05-09 14:48:45 +00:00
Luboš Luňák 57b7967d66 When a user clicks on a window, set active Xinerama screen to be the screen
where the click occured.


svn path=/trunk/KDE/kdebase/workspace/; revision=662864
2007-05-09 12:30:29 +00:00
Luboš Luňák 02405eccd7 Set active Xinerama screen when moving.
svn path=/trunk/KDE/kdebase/workspace/; revision=662863
2007-05-09 12:26:32 +00:00
Luboš Luňák 1dd1daec48 Shortcuts for switching and moving windows between Xinerama screens.
CCBUG: 80755


svn path=/trunk/KDE/kdebase/workspace/; revision=662089
2007-05-07 13:13:48 +00:00
Luboš Luňák 47232a2c17 Support _NET_WM_FULL_PLACEMENT.
svn path=/trunk/KDE/kdebase/workspace/; revision=662075
2007-05-07 12:37:12 +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 754d9f9589 Merging from old trunk:
r655709 | binner | 2007-04-19 07:39:44 +0200 (Thu, 19 Apr 2007) | 2 lines

SVN_SILENT i18n style guide fixes


svn path=/trunk/KDE/kdebase/workspace/; revision=659588
2007-04-30 12:50:10 +00:00
Luboš Luňák 932444eeef Merging from old trunk:
r645397 | lunakl | 2007-03-22 15:27:04 +0100 (Thu, 22 Mar 2007) | 4 lines

Suspend updating of window-specific settings during shutdown,
so that KWin doesn't have to be killed as the first one during shutdown.


svn path=/trunk/KDE/kdebase/workspace/; revision=659567
2007-04-30 12:24:10 +00:00
Luboš Luňák 6c91ced7a0 Fix compile.
svn path=/trunk/KDE/kdebase/workspace/; revision=659564
2007-04-30 12:21:31 +00:00
Luboš Luňák 8bb79367cd Merging from old trunk:
r633205 | lunakl | 2007-02-13 15:09:23 +0100 (Tue, 13 Feb 2007) | 3 lines

Implement _NET_DESKTOP_LAYOUT.


svn path=/trunk/KDE/kdebase/workspace/; revision=659545
2007-04-30 12:00:32 +00:00
Luboš Luňák 3d50459834 No QVariant for KConfig.
svn path=/trunk/KDE/kdebase/workspace/; revision=659537
2007-04-30 11:50:48 +00:00
Luboš Luňák 0a26dc39aa Merging from old trunk:
r630817 | lunakl | 2007-02-06 14:55:12 +0100 (Tue, 06 Feb 2007) | 4 lines

Don't accidentally set _NET_ACTIVE_WINDOW to 0 when there is an active window.
And r612728 from 3.5 branch.


svn path=/trunk/KDE/kdebase/workspace/; revision=659533
2007-04-30 11:46:54 +00:00
Luboš Luňák 047ad1b80a Merging from old trunk:
r619161 | mlaurent | 2007-01-02 22:48:19 +0100 (Tue, 02 Jan 2007) | 2 lines

Use signal to refresh config into all kwin instance


svn path=/trunk/KDE/kdebase/workspace/; revision=659520
2007-04-30 11:32:47 +00:00
Luboš Luňák ff5d1fe5ad Merging from old trunk:
r614887 | mlaurent | 2006-12-19 12:13:01 +0100 (Tue, 19 Dec 2006) | 5 lines

Add signal to reload config on all kwin instance
(fix all dbus call)


svn path=/trunk/KDE/kdebase/workspace/; revision=659491
2007-04-30 09:57:03 +00:00
Luboš Luňák b8ceefc820 Merging from old trunk:
r613681 | lunakl | 2006-12-14 17:32:55 +0100 (Thu, 14 Dec 2006) | 4 lines

Check for references to no longer existing windows in transiency checks
only when the list of windows is in consistent state.


svn path=/trunk/KDE/kdebase/workspace/; revision=659481
2007-04-30 09:47:59 +00:00
Luboš Luňák 1f40973a83 Merging from old trunk:
r613666 | lunakl | 2006-12-14 16:35:36 +0100 (Thu, 14 Dec 2006) | 3 lines

Few more consistency checks.


svn path=/trunk/KDE/kdebase/workspace/; revision=659479
2007-04-30 09:46:31 +00:00
Luboš Luňák 2e39d12ff6 Merging from old trunk:
r603033 | lunakl | 2006-11-07 17:19:39 +0100 (Tue, 07 Nov 2006) | 3 lines

Keep stacking order and focus chain order e.g. after doing "kwin --replace".


svn path=/trunk/KDE/kdebase/workspace/; revision=659303
2007-04-29 22:33:55 +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
Dirk Mueller e218e7e01d move the "To Desktop" menu to the right place again
instead of just appending it

svn path=/trunk/KDE/kdebase/workspace/; revision=657251
2007-04-23 16:49:41 +00:00
Luboš Luňák 3f5213101d Actually use the old position.
svn path=/branches/work/kwin_composite/; revision=656780
2007-04-22 11:18:51 +00:00
Luboš Luňák f43b53ef7d Trigger TrackMouseEffect using Ctrl+Meta rather than mouse buttons.
svn path=/branches/work/kwin_composite/; revision=656455
2007-04-21 12:50:02 +00:00
Luboš Luňák 9d7f64013b Trigger full repaint when changing virtual desktop.
svn path=/branches/work/kwin_composite/; revision=654639
2007-04-16 17:14:55 +00:00
Luboš Luňák e1406c3e42 Utility function for XGrabKeyboard().
svn path=/branches/work/kwin_composite/; revision=654227
2007-04-15 14:39:10 +00:00
Luboš Luňák 672c95e435 Work properly even with idle paint passes (react on mouse events).
svn path=/branches/work/kwin_composite/; revision=653927
2007-04-14 16:10:58 +00:00
Luboš Luňák 15c8a4220e Fix and re-enable optimized cursorPos().
svn path=/branches/work/kwin_composite/; revision=653895
2007-04-14 14:15:43 +00:00
Rivo Laks 02032f8587 Move most (all?) internal methods from EffectsHandler to EffectsHandlerImpl.
The ugly side effect of this is that there are tons of static_casts in the code now... maybe it
  would be better to add effectImpl() convenience method and use that?

svn path=/branches/work/kwin_composite/; revision=652348
2007-04-10 18:47:13 +00:00
Luboš Luňák aee0ae9760 With compositing there's no need for tricks with obscuring windows.
svn path=/branches/work/kwin_composite/; revision=652256
2007-04-10 14:49:30 +00:00
Laurent Montel 4fa16a5039 deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=651556
2007-04-08 11:58:58 +00:00
Luboš Luňák c38dc5e099 Change the DesktopChangeSlideEffect so that the new desktop doesn't
always slide in from the top but from the position where it is
according to the desktop layout.


svn path=/branches/work/kwin_composite/; revision=651083
2007-04-06 13:46:29 +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 35bbf89aed Add support for activating features using window borders/corners.
Enabled it for PresentWindowsEffect for now.


svn path=/branches/work/kwin_composite/; revision=650532
2007-04-04 19:08:03 +00:00
Luboš Luňák 3617d1bf8a Merge r649608, r649403, r649230 and r648582 from trunk (porting).
svn path=/branches/work/kwin_composite/; revision=649948
2007-04-03 13:24:05 +00:00
Andreas Hartmetz ee217245fb Ported/compile-fixed some code in khotkeys and kwin (that was not fun)
Small changes in other places, removed some unnecessary #include <kkeydialog.h> where they showed up.

Related to this kdelibs commit:
KKeyDialog: Renamed to KShortcutsDialog
KKeyChooser: Renamed to KShortcutsEditor
KKeyButton: Replaced by KKeySequenceWidget and KShortcutWidget. KKeySequenceWidget uses modified code from KKeyButton.
KShortcutDialog: Removed

svn path=/trunk/KDE/kdebase/workspace/; revision=648582
2007-03-31 19:04:28 +00:00
Rivo Laks d809643245 Make it compile:
- KProcess -> K3Process rename
- fix KKeyServer::xEventToQt() argument

svn path=/branches/work/kwin_composite/; revision=647255
2007-03-27 19:59:04 +00:00
Oswald Buddenhagen 3ee016f50d KProcess -> K3Process
KShellProcess -> K3ShellProcess
KProcIO -> K3ProcIO
KProcessController -> K3ProcessController

not deprecating, as we don't have a replacement yet.
not moving yet, as kdelibs still has heavy dependencies on it.

agreed upon with dfaure.


svn path=/trunk/KDE/kdebase/workspace/; revision=646732
2007-03-26 15:07:10 +00:00
Luboš Luňák 082c4e95e3 Suspend updating of window-specific settings during shutdown,
so that KWin doesn't have to be killed as the first one during shutdown.


svn path=/trunk/KDE/kdebase/workspace/; revision=645397
2007-03-22 14:27:04 +00:00
Philip Falkner db53353349 Make the tabbox update if windows are added/removed while the tabbox is active.
svn path=/branches/work/kwin_composite/; revision=640626
2007-03-08 16:48:48 +00:00
Laurent Montel ee2db61df1 Fix port
svn path=/trunk/KDE/kdebase/workspace/; revision=637745
2007-02-27 16:30:25 +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 12d1b8b0fd setGroup to KConfigGroup
svn path=/trunk/KDE/kdebase/workspace/; revision=635823
2007-02-21 02:59:04 +00:00
Luboš Luňák 82c96c4bc7 Implement _NET_DESKTOP_LAYOUT.
svn path=/trunk/KDE/kdebase/workspace/; revision=633205
2007-02-13 14:09:23 +00:00
Luboš Luňák 4019dff500 Distinguish between damage and repaints - damage is when windows contents
change, repaint just triggers repaint of the area (without e.g. the texture
updating for OpenGL).
addDamage() -> addRepaint()
CCMAIL: kwin@kde.org


svn path=/branches/work/kwin_composite/; revision=632866
2007-02-12 15:22:43 +00:00
Luboš Luňák 47f5535e6a Make the tabbox also show when compositing.
svn path=/branches/work/kwin_composite/; revision=632602
2007-02-11 18:36:10 +00:00
Luboš Luňák 12478151a2 Don't accidentally set _NET_ACTIVE_WINDOW to 0 when there is an active window.
And r612728 from 3.5 branch.


svn path=/trunk/KDE/kdebase/workspace/; revision=630817
2007-02-06 13:55:12 +00:00
Luboš Luňák 6f8de578b4 From trunk: desktopResized() is called only after the desktop is resized.
svn path=/branches/work/kwin_composite/; revision=629749
2007-02-03 17:09:10 +00:00
Luboš Luňák 4e20ef71e4 r629143 was supposed to go to trunk, kwin_composite is only for compositing work.
svn path=/trunk/KDE/kdebase/workspace/; revision=629362
2007-02-02 14:24:00 +00:00
Luboš Luňák 63a97b7d3d Add DesktopChangeSlideEffect, an effect that on virtual desktop
change slides the old desktop out and the new one in. Should not
be really technically different from the cube.


svn path=/branches/work/kwin_composite/; revision=629163
2007-02-01 17:20:48 +00:00
Dirk Mueller b34d4ac7c4 xrandr support (hopefully this compiles, can't test here)
svn path=/branches/work/kwin_composite/; revision=629143
2007-02-01 15:39:44 +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