Commit Graph

751 Commits (d6861e06e5377d6ef4f4f825de84b893c4595982)

Author SHA1 Message Date
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
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 0ae5a772e7 Add EffectWindow as a window representation for effects,
to hide the change from Client/Unmanaged and eventually also
act as the only API available to effects.


svn path=/branches/work/kwin_composite/; revision=626360
2007-01-22 22:57:22 +00:00
Luboš Luňák 77f803a563 Instead of the somewhat fragile way of trying to clean up Client/Unmanaged
instances and keeping them around after the window is closed, create
class Deleted as a representation of a closed window.


svn path=/branches/work/kwin_composite/; revision=626356
2007-01-22 22:51:30 +00:00
Luboš Luňák ff6f889ffc Add support for showing effects for windows which have already been deleted.
Add a fade-out effect.


svn path=/branches/work/kwin_composite/; revision=623872
2007-01-15 18:03:04 +00:00
Luboš Luňák 579f174e63 Make sure to track only mapped override-redirect windows.
svn path=/branches/work/kwin_composite/; revision=621333
2007-01-08 16:54:32 +00:00
Luboš Luňák de4d1bc518 Implement cursorPos() as an optimized version of QCursor::pos()
that tries to reduce the number of X roundtrips.


svn path=/branches/work/kwin_composite/; revision=620326
2007-01-05 17:45:54 +00:00
Laurent Montel 9350d02134 Use signal to refresh config into all kwin instance
svn path=/trunk/KDE/kdebase/workspace/; revision=619161
2007-01-02 21:48:19 +00:00
Luboš Luňák 19b9b0cd09 svn merge -r614882 from trunk (autogenerated kwinadaptor)
svn path=/branches/work/kwin_composite/; revision=614905
2006-12-19 12:53:26 +00:00
Laurent Montel f1588814af Add signal to reload config on all kwin instance
(fix all dbus call)
CCMAIL: l.lunak@kde.org
(could you merge it please)

svn path=/trunk/KDE/kdebase/workspace/; revision=614887
2006-12-19 11:13:01 +00:00
Laurent Montel c5efec7d9c Now kwinadaptor is autogenerated and adaptor is registred
now we can use dbus interface to change it.
CCMAIL: l.lunak@kde.org
(Lubos could you merge it with your branch please .Thanks)

svn path=/trunk/KDE/kdebase/workspace/; revision=614882
2006-12-19 10:43:49 +00:00
Luboš Luňák 0cbf093fdd 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=613681
2006-12-14 16:32:55 +00:00
Luboš Luňák c271dd819a Few more consistency checks.
svn path=/trunk/KDE/kdebase/workspace/; revision=613666
2006-12-14 15:35:36 +00:00
Luboš Luňák f4b75f439e Don't steal focus from windows using globally active input focus.
svn path=/branches/work/kwin_composite/; revision=612731
2006-12-12 13:40:02 +00:00
Luboš Luňák 525f761325 Merge in r610651 from trunk (KAction->QAction changes).
svn path=/branches/work/kwin_composite/; revision=611022
2006-12-06 13:31:57 +00:00
Simon Hausmann 92ded6a343 Merging branches/work/kaction-cleanup-branch, done by Kevin and me.
This removes some usage of KAction in our public API so that one can use QActions
with KDE classes, too, and it removes some use of deprecated API in the apps.

svn path=/trunk/KDE/kdebase/workspace/; revision=610651
2006-12-04 20:44:12 +00:00
Luboš Luňák 840364cd2a Merge r608181 from trunk (KShortcut/KAction changes).
svn path=/branches/work/kwin_composite/; revision=610146
2006-12-03 13:43:37 +00:00
Luboš Luňák 6a66250620 Better synchronization of refresh rate and vsyncing,
patch by Philip Falkner.


svn path=/branches/work/kwin_composite/; revision=610110
2006-12-03 13:29:14 +00:00
Andreas Hartmetz 8fc2b1843b Adapt dependent code to KShortcut/KAction changes.
svn path=/trunk/KDE/kdebase/khotkeys/; revision=608181
2006-11-27 00:32:31 +00:00
Luboš Luňák 04072fa089 Fix the opacity submenu in Alt+F3.
svn path=/branches/work/kwin_composite/; revision=606428
2006-11-20 12:55:06 +00:00
Luboš Luňák 154d8a588b Use the compositing manager _NET_WM_CM_S<n> manager selection.
svn path=/branches/work/kwin_composite/; revision=603322
2006-11-08 15:08:20 +00:00
Luboš Luňák 3a0e22ebe3 Ok, with a compositing manager running, VisibilityNotify no longer
considers windows not visible just because a window is above them,
so the code from r198017 no longer works.
(#128648)


svn path=/trunk/KDE/kdebase/workspace/; revision=603295
2006-11-08 13:59:27 +00:00
Luboš Luňák 4110fc1c3a Support for XComposite overlay window.
svn path=/branches/work/kwin_composite/; revision=603137
2006-11-07 22:44:39 +00:00
Luboš Luňák 0a829c4ece Keep stacking order and focus chain order e.g. after doing "kwin --replace".
svn path=/trunk/KDE/kdebase/workspace/; revision=603033
2006-11-07 16:19:39 +00:00
Luboš Luňák 532449c852 svn merge r568236,r568494,r568780,r599652,r599655 from trunk
(global shortcuts fixes)


svn path=/branches/work/kwin_composite/; revision=600169
2006-10-29 19:40:24 +00:00
Luboš Luňák d92d3a8165 Document the compositing framework and the scene backends,
describe the design, add links to external docs.
Restructure COMPOSITE_TODO into sections and add sort of priorities.


svn path=/branches/work/kwin_composite/; revision=600163
2006-10-29 19:23:45 +00:00
Scott Wheeler bc4375ca2a These I'm also sure should be globalShortcuts(). Last up are the client actions.
svn path=/trunk/KDE/kdebase/workspace/; revision=599655
2006-10-28 02:01:19 +00:00
Luboš Luňák 10b31e7222 Support for animations, still some todo's pending.
svn path=/branches/work/kwin_composite/; revision=598831
2006-10-24 19:17:48 +00:00
Luboš Luňák 1c7e7bb2b7 Keeping scene-related data in opengl scene.
svn path=/branches/work/kwin_composite/; revision=590319
2006-09-29 19:05:36 +00:00
Luboš Luňák 626d2700c1 Merge compile fixes from trunk to work with current SVN.
svn path=/branches/work/kwin_composite/; revision=586383
2006-09-19 12:20:19 +00:00
David Faure d65f3d93d1 KIPC is gone, dbus signals replace it.
The API has been cleaned up too: the signals moved from kapp to kglobalsettings
[which now provides a singleton], as well as most of the gui-settings-related code.

svn path=/trunk/KDE/kdebase/workspace/; revision=582977
2006-09-11 08:25:29 +00:00
Stephan Kulow 4472c82d68 port to new qt 4.2 snapshot
svn path=/trunk/KDE/kdebase/workspace/; revision=575652
2006-08-21 20:18: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 e24815411a Keep damage info separately for every window.
svn path=/branches/work/kwin_composite/; revision=561966
2006-07-13 18:17:49 +00:00
Luboš Luňák 64bf5bc51e Don't track InputOnly windows.
svn path=/branches/work/kwin_composite/; revision=560591
2006-07-10 18:20:25 +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 f400646a6d xrender compositing work - now it uses damage areas
to reduce amount of painting


svn path=/branches/work/kwin_composite/; revision=558580
2006-07-05 16:04:11 +00:00
Luboš Luňák afcc9b6897 Prepare for scene rendering with different engines.
svn path=/branches/work/kwin_composite/; revision=558442
2006-07-05 12:30:03 +00:00
Luboš Luňák dfe8968d8e Handle expose events for root window.
svn path=/branches/work/kwin_composite/; revision=558264
2006-07-04 23:46:02 +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 571ba9cf9e Basic compositing support. It doesn't actually do anything
besides drawing what should be drawn anyway, and there are
still some things missing like stacking order for override
redirect windows, but KWin is basically a compositing manager now.


svn path=/branches/work/kwin_composite/; revision=558168
2006-07-04 20:02:07 +00:00
Luboš Luňák e0dcc3ba46 Some convenience functions for QX11Info stuff.
svn path=/branches/work/kwin_composite/; revision=558154
2006-07-04 19:36:19 +00:00
Dirk Mueller ecd63e0d90 merge changes from bleeding edge branch
svn path=/trunk/KDE/kdebase/workspace/; revision=557225
2006-07-02 18:31:00 +00:00
Dirk Mueller 8c2cd937d8 fix strict aliasing issue
svn path=/trunk/KDE/kdebase/workspace/; revision=553714
2006-06-21 20:23:12 +00:00
Luboš Luňák 04c9d42dfd DBUS changes - make it compile. The DBUS HOWTO is pretty lacking
in some areas and I wonder how many things will be broken by
people not quite knowing what they're doing :-/.


svn path=/trunk/KDE/kdebase/workspace/; revision=549400
2006-06-08 13:43:23 +00:00
Laurent Montel f7de3f2974 Start to port it to new dbus interface
svn path=/trunk/KDE/kdebase/workspace/; revision=549046
2006-06-07 09:05:46 +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
Riccardo Iaconelli 014ff479d9 Fixed some typos
svn path=/trunk/KDE/kdebase/workspace/; revision=538338
2006-05-07 15:22:08 +00:00
Luboš Luňák daf4e723ea Save also stacking order when doing session save.
svn path=/trunk/KDE/kdebase/workspace/; revision=531882
2006-04-20 14:57:10 +00:00
Tobias Koenig 848bc14335 deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=529106
2006-04-12 15:13:31 +00:00
Thorsten Roeder 98fa3320c5 deprecated--
basically:
QRegExp::search() --> QRegExp::indexIn()
QString::find() --> QString::indexOf()
QString::findRev() --> QString::lastIndexOf()
QString::lower() --> QString::toLower()
QString::upper() --> QString::toUpper()
QString::setLength() --> QString::resize()
QByteArray::find() --> QByteArray::indexOf()
QByteArray::findRev() --> QByteArray::lastIndexof()
QTimer::start(ms,sShot) --> {QTimer::setSingleShot() ; QTimer::start()}
QList::remove() --> QList::removeAll()
iterator QList::remove() --> iterator QList::erase()
QComboBox::text() --> QComboBox::itemText()
QByteArray::upper() --> QByteArray::toUpper()
QByteArray::lower() --> QByteArray::toLower()
QString::contains() --> QString::contains()
QEvent::accept(bool) --> QEvent::setAccepted(bool)


svn path=/trunk/KDE/kdebase/workspace/; revision=528719
2006-04-11 17:12:05 +00:00
Luboš Luňák 4d8462f579 Move minimized windows to the right place in focus chain.
(#124807)


svn path=/trunk/KDE/kdebase/workspace/; revision=528632
2006-04-11 14:52:27 +00:00
Luboš Luňák e906595aaf Separate focus chains are nice, but KDE-style Alt+Tab not limited
to the current desktop still needs the global one for MRU (#124721).


svn path=/trunk/KDE/kdebase/workspace/; revision=528612
2006-04-11 14:14:38 +00:00
Hamish Rodda 77bc9cd63d Merging in from bleeding edge kdebase branch
- i18n ported
- KAccel removed
- Some fixes for OS X

svn path=/trunk/KDE/kdebase/workspace/; revision=528190
2006-04-10 11:57:13 +00:00
Luboš Luňák 95e16abda2 Don't force new windows to be at the beginning of the focus chain
(windows with focus stealing prevention shouldn't be there).


svn path=/trunk/KDE/kdebase/workspace/; revision=526557
2006-04-04 22:04:34 +00:00
Luboš Luňák 3c6af0ff28 Use a separate focus chain for each virtual desktop - this prevents onalldesktop
windows from usually getting focus after every virtual desktop switch.
Thanks for most of the work go to Guido Fiala <gfiala@s.netic.de>.
(#33701)


svn path=/trunk/KDE/kdebase/workspace/; revision=514057
2006-02-27 10:13:31 +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 0fa10f318d Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=506323
2006-02-06 14:47:18 +00:00
Laurent Montel 42937f76a7 read*entry--
svn path=/trunk/KDE/kdebase/workspace/; revision=500998
2006-01-21 19:36:31 +00:00
Laurent Montel b0a95318bc readBoolEntry->readEntry
svn path=/trunk/KDE/kdebase/workspace/; revision=493850
2006-01-03 14:01:15 +00:00
Urs Wolfer 05ca19960c fix compile with new snapshot
svn path=/trunk/KDE/kdebase/workspace/; revision=493669
2006-01-02 21:32:34 +00:00
Laurent Montel a48328e5bc QString::null->QString()
.clear()
etc

svn path=/trunk/KDE/kdebase/workspace/; revision=493536
2006-01-02 16:27:55 +00:00
Laurent Montel d0d0ce9dbb setGlobalMouseTracking not necessary inline static QT3_SUPPORT void setGlobalMouseTracking(bool) {};
svn path=/trunk/KDE/kdebase/workspace/; revision=492220
2005-12-29 09:35:30 +00:00
Laurent Montel fe6805d25c Use qobject_cast
svn path=/trunk/KDE/kdebase/workspace/; revision=486278
2005-12-07 10:51:10 +00:00
Urs Wolfer 1cf79a8556 less Q3:
* remove unused Q3 includes
* port some Q3VBox, Q3HBox, Q3Frame, Q3PopupMenu

svn path=/trunk/KDE/kdebase/workspace/; revision=484457
2005-11-30 21:17:50 +00:00
Stephan Kulow 0c904fde9e reverting misunderstanding
svn path=/trunk/KDE/kdebase/workspace/; revision=481441
2005-11-19 08:06:46 +00:00
Laurent Montel 0695439fe1 Replace sessionConfig()
svn path=/trunk/KDE/kdebase/workspace/; revision=481342
2005-11-18 21:05:14 +00:00
Laurent Montel 73f9f051ec flushX->slush
svn path=/trunk/KDE/kdebase/workspace/; revision=479456
2005-11-10 15:28:02 +00:00
Laurent Montel bb61c66b88 qt3support--
svn path=/trunk/KDE/kdebase/workspace/; revision=479406
2005-11-10 11:50:13 +00:00
Laurent Montel f6df1151f9 s/saver/group as asked by David
svn path=/trunk/KDE/kdebase/workspace/; revision=476072
2005-10-31 13:06:25 +00:00
Laurent Montel 1a9537c873 Compile/link
svn path=/trunk/KDE/kdebase/workspace/; revision=476069
2005-10-31 12:57:20 +00:00
Laurent Montel c6736e00c9 Fix some error
Now I must look at new KKeyNative api

svn path=/trunk/KDE/kdebase/workspace/; revision=469283
2005-10-10 15:52:58 +00:00
Stephan Kulow 7a441e1b7a the easy cases
svn path=/trunk/KDE/kdebase/workspace/; revision=466852
2005-10-03 15:13:54 +00:00
Laurent Montel 5de42c4b68 Remove qt3_support into qstring
svn path=/trunk/KDE/kdebase/workspace/; revision=463544
2005-09-24 12:26:22 +00:00
Laurent Montel 61b822ba3d Remove "QT_VERSION <3.x"
svn path=/trunk/KDE/kdebase/workspace/; revision=459329
2005-09-10 15:39:39 +00:00
Luboš Luňák 3ec72118f2 Some fixes for placement code, so that e.g. placing a dialog
on its mainwindow also still maximizes it if maximizing placement
policy is used.


svn path=/trunk/KDE/kdebase/kwin/; revision=444048
2005-08-08 14:25:41 +00:00
Luboš Luňák 512fb17a95 Forward port of #108961.
svn path=/trunk/KDE/kdebase/kwin/; revision=442363
2005-08-02 13:25:20 +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
Luboš Luňák c18591eb57 Support _NET_FRAME_EXTENTS as the official spec name
for _KDE_NET_WM_FRAME_STRUT.


svn path=/trunk/KDE/kdebase/kwin/; revision=427612
2005-06-21 09:00:28 +00:00
Luboš Luňák 20f80af287 Make it possible to use the window-specific settings dialog
to also set some things only temporarily. E.g. in order
to set skiptaskbar flag on a window, it's just
Alt+F3/Advanced/Special Window Settings/Preferences ->
Apply Now for Skip taskbar, and turn on the checkbox.


svn path=/trunk/KDE/kdebase/kwin/; revision=423112
2005-06-07 15:31:15 +00:00
Luboš Luňák 5722d3fac8 Implement _NET_SHOWING_DESKTOP, giving control of the 'show desktop'
feature to KWin. There shouldn't hopefully be any visible user
difference other than fixed bugs.
BUG: 78109
BUG: 99524


svn path=/trunk/KDE/kdebase/kwin/; revision=413066
2005-05-13 08:57:21 +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 d4c5fd676a Show the desktop switch popupinfo also when using mouse, and whatever.
BUG: 80698


svn path=/trunk/KDE/kdebase/kwin/; revision=409960
2005-05-06 09:24:51 +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
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 ffad4694b2 Revert part of r1.491, I'm not sure anymore why I raised the timeout so much,
but if nobody had complained until then, perhaps it's better that way
after all.
CCMAIL: Gábor Lehel <illissius@gmail.com>

svn path=/trunk/kdebase/kwin/; revision=382907
2005-01-27 14:37:32 +00:00
Thomas Lübking dfbb9c362e added some dcop functions/signals to support a kompmgr handling kicker applet
svn path=/trunk/kdebase/kwin/; revision=380671
2005-01-21 04:58:54 +00:00
Stephan Binner 2306f67f6b CVS_SILENT i18n style guide fixes
svn path=/trunk/kdebase/kwin/; revision=380564
2005-01-20 21:09:28 +00:00
Thomas Lübking c6a2534495 avoid useless action if the user tries to stop kompmgr while it's not running
svn path=/trunk/kdebase/kwin/; revision=379571
2005-01-17 23:16:28 +00:00
Luboš Luňák 7f8505d6f0 No message boxes directly in KWin - it cannot manage windows created
by itself.

svn path=/trunk/kdebase/kwin/; revision=379470
2005-01-17 17:32:27 +00:00
Luboš Luňák 5f824cbed0 Don't crash.
svn path=/trunk/kdebase/kwin/; revision=379453
2005-01-17 16:42:34 +00:00
Luboš Luňák 07203ba5b6 Window-specific rules for dynamic windows shortcuts, so that it's
possible to always have certain shortcuts assigned to their windows
if such windows are open. Still few TODO items left, but let's consider
it enough for #44268 to be marked as done.
FEATURE: 44268

svn path=/trunk/kdebase/kwin/; revision=379444
2005-01-17 15:53:14 +00:00
Andrew Coles 9a9d4a590e CVS_SILENT
Corrected typos.

svn path=/trunk/kdebase/kwin/; revision=379392
2005-01-17 12:50:27 +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 65c3b55e05 Revert last revert, dynamic keybidings are back in.
svn path=/trunk/kdebase/kwin/; revision=377118
2005-01-10 09:56:21 +00:00
Luboš Luňák c7d0776f01 Revert last changes because of temporary freeze.
svn path=/trunk/kdebase/kwin/; revision=375467
2005-01-04 14:57:42 +00:00
Luboš Luňák d04ce83410 Custom shortcuts for windows (#44268). It still needs some testing, window
rules for them to be assigned automatically, and some way to indicate
every window's shortcut, but it more or less works.

svn path=/trunk/kdebase/kwin/; revision=375458
2005-01-04 14:24:55 +00:00
Luboš Luňák 2fd9ce3a64 Am I so clumsy, or are the thresholds for electric borders insanely low?
svn path=/trunk/kdebase/kwin/; revision=361726
2004-11-09 15:39:41 +00:00
Luboš Luňák a2a55c8436 Make electric borders work also during DND. Blame David and George
for getting me in Santa Claus mood.
FEATURE:86998

svn path=/trunk/kdebase/kwin/; revision=361725
2004-11-09 15:38:33 +00:00
Luboš Luňák 8255bc2749 Client::isManaged() should not be true before it's added to the client
list :(. At least work around a possible desktop switching and invisible
window because of this.

svn path=/trunk/kdebase/kwin/; revision=360436
2004-11-04 17:56:05 +00:00
Luboš Luňák 816f3bd86e Force updating electric borders on resize change.
BUG:92583

svn path=/trunk/kdebase/kwin/; revision=359883
2004-11-02 15:19:01 +00:00
Luboš Luňák 1161bd5713 Fix #90794 - make sure dialogs are sent to another virtual desktop
with their mainwindow.
CCMAIL: 90794-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=353949
2004-10-12 14:56:08 +00:00
Luboš Luňák 43e7580cf0 Shortcuts for moving a window to left/right/up/down.
CCMAIL: 87411-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=348524
2004-09-22 16:49:41 +00:00
Luboš Luňák cd99ad5168 kwinrc is KGlobal::config(). This maybe fixes #87253.
svn path=/trunk/kdebase/kwin/; revision=341348
2004-08-26 14:06:33 +00:00
Luboš Luňák 8a961f2879 #81171
CCMAIL: 81171-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=338310
2004-08-16 13:52:21 +00:00
Luboš Luňák 72504ad4a4 Include window specific settings in Alt+F3/Configure .
svn path=/trunk/kdebase/kwin/; revision=335896
2004-08-04 09:05:53 +00:00
Luboš Luňák 9a4776a350 This most probably fixes #86475.
svn path=/trunk/kdebase/kwin/; revision=335543
2004-08-03 14:15:41 +00:00
Luboš Luňák ed4a1bd766 Keep the topmenu space widget below the support window, just like all
other windows created by kwin.
CCMAIL: 85030-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=330910
2004-07-19 15:00:37 +00:00
Luboš Luňák 094befa1de Make it possible to have several rules matching one window.
svn path=/trunk/kdebase/kwin/; revision=321637
2004-06-18 08:57:42 +00:00
Luboš Luňák 6e44fc30b8 Autosave for window rules.
svn path=/trunk/kdebase/kwin/; revision=319665
2004-06-11 15:12:29 +00:00
Luboš Luňák 0f972d789f Instead of snatching the window temporarily from kwin simply tell kwin
what to do with it. I've never liked this hack much, and this should
also take care of #49375, and should make sure kstart options will
have higher priority than settings configured in kwin.

svn path=/trunk/kdebase/kwin/; revision=319662
2004-06-11 15:10:09 +00:00
Luboš Luňák 83657d963d Hide utility windows for inactive applications even right after being shown.
Don't hide utility windows that are standalone or for special windows.

svn path=/trunk/kdebase/kwin/; revision=318750
2004-06-08 14:04:29 +00:00
Luboš Luňák 8e09a9bc22 I guess I could finally find some time to work on things for 3.3.
Initial work on kwin rules, i.e. #36377 , per window specific settings.
So far only desktop/above/below work, no GUI, and settings from the old
'Save window settings' are ignored for now.

svn path=/trunk/kdebase/kwin/; revision=315446
2004-05-28 13:51:11 +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
Luboš Luňák d551f871fb Prefer the newer way of getting startup timestamp from the ASN startup id.
svn path=/trunk/kdebase/kwin/; revision=314706
2004-05-26 09:24:14 +00:00
Andrew Coles 75db450e8b Finished correcting typos in kdebase, phew!
Andrew

svn path=/trunk/kdebase/ksysguard/; revision=312639
2004-05-19 14:32:18 +00:00
Luboš Luňák 12b4954267 Revertlast, already fixed as ##79252 , and this unnecessarily takes
up screen edges.

svn path=/trunk/kdebase/kwin/; revision=312031
2004-05-17 12:06:45 +00:00
Cristian Tibirna 9a48b329fe Also create electric borders for moving only.
CCMAIL: 81599-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=311541
2004-05-15 02:38:47 +00:00
Luboš Luňák 6d919922e2 Better implementation for ##36065.
svn path=/trunk/kdebase/kwin/; revision=305578
2004-04-22 12:30:57 +00:00
Luboš Luňák 23ac6a4381 Initialize values needed for electric borders even in the only-move case.
(#79252).

svn path=/trunk/kdebase/kwin/; revision=304267
2004-04-16 16:17:32 +00:00
Luboš Luňák f701524d4e Experimental support for #36065 (dragging from a window shouldn't raise it).
Needs a Qt patch.

svn path=/trunk/kdebase/kwin/; revision=304194
2004-04-16 10:23:42 +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
Waldo Bastian 30faf2c53e KIOSK: Hide configure option if control modules have not been authorized
svn path=/trunk/kdebase/kwin/; revision=296848
2004-03-18 13:18:41 +00:00
Luboš Luňák cc59587052 Don't lock up after doing Ctrl+Alt+Esc and clicking on the root window.
svn path=/trunk/kdebase/kwin/; revision=294662
2004-03-09 13:05:29 +00:00
Luboš Luňák edbcd03ce9 Fix a problem with topmenu which shows up when turning topmenus off,
adding menu applet, turning them on, removing applet -> kwin won't
notice it has to manage them.

svn path=/trunk/kdebase/kwin/; revision=294455
2004-03-08 15:31:09 +00:00
Luboš Luňák aee628e008 Fix #76408 - do range checking on _NET_WM_DESKTOP values.
CCMAIL: 76408-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=292889
2004-03-01 17:20:19 +00:00
Luboš Luňák d2e94b988e Watch properties also on the group leader window, for now only
the startup notification property, but it could be extended
to read icons etc. as well if needed (ICCCM 4.1.2.7).

svn path=/trunk/kdebase/kwin/; revision=291218
2004-02-25 09:51:47 +00:00
Luboš Luňák 339c7a297f Change the alt+f3 warning to avoid saying 'use the keyboard shortcut'
when the shortcut is unset.

svn path=/trunk/kdebase/kwin/; revision=290553
2004-02-23 14:25:55 +00:00
Luboš Luňák 37d83f6c9c No need for quoting with KProcess.
svn path=/trunk/kdebase/kwin/; revision=290537
2004-02-23 13:45:36 +00:00
Luboš Luňák 89aefe8811 Before using the global desktop topmenu, try to find any topmenu
belonging to the application.
CCMAIL: 72113-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=289122
2004-02-18 18:27:04 +00:00
Luboš Luňák bf814c45e0 Handle two todo comments from the recent partial struts commit,
and fix a problem with clientArea( WorkArea ) ignoring struts.

svn path=/trunk/kdebase/kwin/; revision=289110
2004-02-18 17:57:57 +00:00
Peter Rockai 2eb784cf35 Support for NETWM partial struts (_NET_WM_STRUT_PARTIAL, we call them
extended here, ask Lubos why :>). This patch also includes workaround
for kicker (in its current state, without extended-strut support), so it
works in xinerama setups as expected. Thanks go to Lubos for help with
implementation and for review.

svn path=/trunk/kdebase/kwin/; revision=288758
2004-02-17 17:34:00 +00:00
Luboš Luňák ed511fc454 Reshuffle the options in the Alt+F3 menu a bit and see what is does ...
svn path=/trunk/kdebase/kwin/; revision=287759
2004-02-13 15:15:37 +00:00
Luboš Luňák 5f079f5e3d Fix for #67416 by Martin Koller + my grab code changes to get mouse
clicks even for the active window.

svn path=/trunk/kdebase/kwin/; revision=286702
2004-02-10 09:24:57 +00:00
Luboš Luňák e5d090ff4d When the X focus gets set to None, reset it to the null focus window,
so that keyboard shortcuts still work.

svn path=/trunk/kdebase/kwin/; revision=284489
2004-02-02 14:17:01 +00:00
Luboš Luňák 1f3ee9b39c Fix problem with: Topmenus enabled, konqueror started, Ctrl+N,
html form submitted -> first window is raised above second,
because the dialog is group transient, and the second's window topmenu
was not above the first's one.

svn path=/trunk/kdebase/kwin/; revision=283817
2004-01-30 14:55:47 +00:00
Luboš Luňák 455e128802 Minor fix - don't show the empty topmenu area for fullscreen windows,
it would obscure the top part of the window.

svn path=/trunk/kdebase/kwin/; revision=280267
2004-01-16 17:03:14 +00:00
Luboš Luňák c1d1b6289f Make sure there aren't two windows given focus with the same X timestamp,
because if one timestamp is reused for activating window A and then
immediatelly window B, and A will want to set focus to one
of its subwindows after receiving WM_TAKE_FOCUS, and will lag a bit,
it will actually set the focus after B, and will win. Fixes #71704.

If somebody still gets the warning, I'd be interested in the backtrace.

svn path=/trunk/kdebase/kwin/; revision=278208
2004-01-09 17:35:21 +00:00
Luboš Luňák 997f45b25e Show the topmenu_space window reserving the space for standalone menubars
only if there's no menubar active. Helps Fredrik to have the menu shadow
exactly in the color he wants :).

svn path=/trunk/kdebase/kwin/; revision=273185
2003-12-15 18:30:14 +00:00
Luboš Luňák 0ba12a0837 Perform whole new window managing with X server grab, in order to prevent
"smart" apps from doing stupid things before they get MapNotify.
This avoids the recent Java+OracleInstaller strange problem too.
The patch may look huge, but it's only adding two KWin wrappers
for X(Un)GrabServer() and uncommenting the calls in Client::manage().

svn path=/trunk/kdebase/kwin/; revision=271152
2003-12-04 13:54:10 +00:00
Luboš Luňák 897e67f79a Partially revert the recent xinerama commit - !isMapped == useCursorPos
was always true, no need for another argument.

svn path=/trunk/kdebase/kwin/; revision=269308
2003-11-24 15:05:50 +00:00
George Staikos 875fc62836 Reimplement Xinerama placement. Patch from Balaji Ramani.
CCMAIL: balaji@yablibli.com

svn path=/trunk/kdebase/kwin/; revision=268719
2003-11-21 23:00:38 +00:00
Luboš Luňák b3c1af874a Temporarily comment out Q_ASSERT's about stacking order, as they're quite
harmless, but everybody blames them in their bugreports.

svn path=/trunk/kdebase/kwin/; revision=268335
2003-11-20 09:05:32 +00:00
Luboš Luňák 95cc10f6ca Try harder to find the matching topmenu for kdesktop.
svn path=/trunk/kdebase/kwin/; revision=268022
2003-11-18 18:10:36 +00:00
Luboš Luňák e636ef9f6b Windows on all desktops are indeed on all desktops.
svn path=/trunk/kdebase/kwin/; revision=266850
2003-11-13 17:13:17 +00:00
Luboš Luňák d46c7413c4 Hopefully final fixes for topmenus managed by KWin to work (#66152).
Written by Schizo, reviewed by Frenia. As it was broken anyway, I don't
think this can break it more.

svn path=/trunk/kdebase/kwin/; revision=266813
2003-11-13 14:34:05 +00:00
Luboš Luňák 0ec4c11585 Small topmenu fixes.
svn path=/trunk/kdebase/kwin/; revision=266534
2003-11-12 10:03:42 +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 f4604d4162 Make sure topmenu is on the same virtual desktop as the active window
for which it's shown.

svn path=/trunk/kdebase/kwin/; revision=266399
2003-11-11 18:51:10 +00:00
Luboš Luňák bd81e83d55 Override-redirect windows in the window manager itself don't make any
difference, and Keith Packard said it's better without it for some
translucency toy or whatever it is, so let's get rid of WX11BypassWM in KWin.

svn path=/trunk/kdebase/kwin/; revision=266398
2003-11-11 18:38:19 +00:00
Luboš Luňák f8886f4f01 Make sure desktop is active after startup if there's no other window active
svn path=/trunk/kdebase/kwin/; revision=266152
2003-11-10 18:09:16 +00:00
Luboš Luňák 70645a691a When a new window appears in a group, make sure group transients are
transient for it.

svn path=/trunk/kdebase/kwin/; revision=266151
2003-11-10 18:08:59 +00:00
Luboš Luňák 07b08d5d99 Don't use struts if KWin itself restricts workarea size by topmenus.
svn path=/trunk/kdebase/kwin/; revision=266150
2003-11-10 18:08:04 +00:00
Luboš Luňák 323806acbe Don't obscure windows that are not visible, otherwise switching between
two empty desktops can flicker.

svn path=/trunk/kdebase/kwin/; revision=263247
2003-10-30 17:22:06 +00:00
Luboš Luňák 240ad036d0 Make system tray temporarily set _KDE_SYSTEM_TRAY_EMBEDDING property on
windows while embedding them, allowing KWin to figure out it's being used
and that it's not going away. This hack avoids the reparenting fight
between KWin and QXEmbed where QXEmbed started to loose after the recent
fixes.
In order to make systray really work, QXEmbed still needs some fixes
related to not destroying the embedded window.

svn path=/trunk/kdebase/kwin/; revision=263178
2003-10-30 10:10:54 +00:00
Luboš Luňák 26a5b0bfb4 I'm not sure anymore what that was, but pointing out that kwin could
simply use kdialog was right.

svn path=/trunk/kdebase/kwin/; revision=261293
2003-10-23 13:38:42 +00:00
Luboš Luňák 8b5159bb1a Warn when somebody plays too much, turns off a border and doesn't know how
to put it back *sigh*.

CCMAIL: 64938-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=258583
2003-10-13 16:22:39 +00:00
Luboš Luňák 09f1ceb353 Looks like I reversed this condition in r1.398.2.49 .
svn path=/trunk/kdebase/kwin/; revision=257811
2003-10-10 17:28:47 +00:00
Luboš Luňák d45a853dd4 Fixes related to shown shaded windows.
svn path=/trunk/kdebase/kwin/; revision=257726
2003-10-10 13:00:01 +00:00
Luboš Luňák 83835a8757 Small cleanup related to timestamp handling.
svn path=/trunk/kdebase/kwin/; revision=257715
2003-10-10 12:48:09 +00:00
Luboš Luňák 6b3d8e134a Implemented _NET_MOVERESIZE_WINDOW.
Moved KWin code related to configure request to geometry.cpp to a common function.

svn path=/trunk/kdebase/kwin/; revision=255355
2003-10-01 12:08:53 +00:00
Luboš Luňák 9226142471 Announce support for restacking.
svn path=/trunk/kdebase/kwin/; revision=255113
2003-09-30 15:15:21 +00:00
Stephan Binner 2ec6c54769 Moved window options into a sub-menu. Still not convinced that having full
screen and noborder there is a good idea. How does an application get notified
that it was switched to full screen mode? How do you revert these settings?

svn path=/trunk/kdebase/kwin/; revision=254230
2003-09-26 21:32:49 +00:00
Luboš Luňák dcb2349a19 Fix #64769.
CCMAIL:64769-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=253884
2003-09-25 15:36:10 +00:00
Luboš Luňák f91b62ba2f Disable the "curtain" when changing decoration, it actually seems
to make things worse now.

svn path=/trunk/kdebase/kwin/; revision=253541
2003-09-24 11:00:57 +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
Luboš Luňák 71d30b5813 At least very basic support for _NET_WM_WINDOW_TYPE_SPLASHSCREEN also in HEAD.
svn path=/trunk/kdebase/kwin/; revision=239649
2003-07-28 13:26:08 +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
Stephan Binner 68698772c7 replace('&',"&&")
svn path=/trunk/kdebase/kwin/; revision=237355
2003-07-16 07:04:20 +00:00
Waldo Bastian 1e3aa4ef97 KIOSK: Make it possible to disable window menu entirely
svn path=/trunk/kdebase/kwin/; revision=234965
2003-07-01 21:12:55 +00:00
Dirk Mueller 9113dc840b spelling fixes
svn path=/trunk/kdebase/ksysguard/; revision=234293
2003-06-28 10:31:39 +00:00
Luboš Luňák be51d65058 Fix #60277.
svn path=/trunk/kdebase/kwin/; revision=233897
2003-06-26 13:09:45 +00:00
Luboš Luňák 6dc2810d6a Support NET::DemandsAttention in HEAD too.
svn path=/trunk/kdebase/kwin/; revision=231921
2003-06-17 09:24:14 +00:00
Luboš Luňák 3ea533d147 Filter out FocusIn/FocusOut events. Should help #44881.
svn path=/trunk/kdebase/kwin/; revision=230888
2003-06-11 08:48:13 +00:00
Luboš Luňák 314b20731c Fix warning in HEAD too.
svn path=/trunk/kdebase/kwin/; revision=229645
2003-06-04 18:06:21 +00:00
Luboš Luňák 62dcc1120f I'm honestly not sure why that XAllowEvents() is needed for mouse events
to work, when only keyboard is grabbed with GrabModeAsync for pointer,
but it fixed #59059, and it shouldn't break anything.

svn path=/trunk/kdebase/kwin/; revision=228598
2003-05-29 12:16:27 +00:00
Waldo Bastian 7857c16713 KIOSK: Disable "Configure Window Behavior" menu option when kwinrc is immutable.
svn path=/trunk/kdebase/kwin/; revision=222215
2003-04-26 15:43:20 +00:00
Luboš Luňák 0778f37a58 #44972 too.
svn path=/trunk/kdebase/kwin/; revision=221616
2003-04-23 11:15:54 +00:00
Luboš Luňák 19ce45b1c4 Damn, I managed to commit one file to HEAD and one to 3_1_BRANCH with
the last commit.

svn path=/trunk/kdebase/kwin/; revision=220410
2003-04-16 07:23:17 +00:00
Luboš Luňák 9cb2c00de3 Cleanup of KWin::Info -> KWin::WindowInfo.
Correct detection of minimized windows for KWin HEAD and kwin_iii.
Correct detection of window type even if the list includes unsupported ones.

svn path=/trunk/kdebase/kwin/; revision=219298
2003-04-09 14:20:55 +00:00
Luboš Luňák a25f11125a Fix #55164.
CCMAIL: 55164-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=211101
2003-03-03 18:08:46 +00:00
Luboš Luňák 1f87831837 XRANDR support in HEAD too, so that curious people don't have to use
kwin_iii. It's still #ifdef-ed out by XRANDR_SUPPORT, just like elsewhere
in kdelibs/kdebase.

svn path=/trunk/kdebase/kwin/; revision=211041
2003-03-03 14:03:56 +00:00
Luboš Luňák bb43159a79 Fix for #52206.
svn path=/trunk/kdebase/kwin/; revision=211015
2003-03-03 13:08:36 +00:00
Luboš Luňák 325e45ee26 With 'konqueror --preload', create a KonqMainWindow too.
And KWin related fixes - hack for _KDE_NET_USER_TIME, and don't display
topmenus for non-active windows.

svn path=/trunk/kdebase/kwin/; revision=210251
2003-02-28 14:16:31 +00:00
Luboš Luňák 8557bf1108 I knew I forgot something. Make the API naming match the new ASN spec.
svn path=/trunk/kdebase/kwin/; revision=209110
2003-02-24 18:51:54 +00:00
Luboš Luňák 9bed3f02fe Well, where to start ... ah, yes : Fix #34640 - make startup notification
work with kdesu.
This means
- support for suspending visual feedback for startup notification
- use it in kdesu
- pass KDE_STARTUP_ENV correctly to kdesu-ed apps
- leave only empty now-obsolete StubProcess::notifyTaskbar()

svn path=/trunk/kdebase/kicker/taskmanager/; revision=209053
2003-02-24 15:50:36 +00:00
George Staikos 67c0282087 one more place where we weren't obeying settings
svn path=/trunk/kdebase/kwin/; revision=207612
2003-02-18 05:12:11 +00:00