Commit Graph

778 Commits (94c301a0895c9d8d0839544d1b4e7fed8cd23fba)

Author SHA1 Message Date
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
Richard J. Moore 59e2f7ef98 - Ported SadEagle's XShape support code from ksnapshot to the kwin
window grabbing code.

svn path=/trunk/kdebase/kwin/; revision=205331
2003-02-06 23:11:27 +00:00
Luboš Luňák 32830fe4c6 Disable legacy session support in HEAD KWin too, as ksmserver is not
branched.

svn path=/trunk/kdebase/kwin/; revision=203113
2003-01-27 13:49:15 +00:00
Luboš Luňák 739d1c454c No need for this warning in HEAD I guess.
svn path=/trunk/kdebase/kwin/; revision=201780
2003-01-21 19:09:07 +00:00
Luboš Luňák 45e2d67eb2 Make hasClient() check NET::Desktop windows too.
svn path=/trunk/kdebase/kwin/; revision=198738
2003-01-10 12:36:17 +00:00
Luboš Luňák 86cccebde6 Don't lower topmenu when lowering a window.
svn path=/trunk/kdebase/kwin/; revision=198737
2003-01-10 12:33:09 +00:00
Luboš Luňák 05063a30f5 Above -> KeepAbove
svn path=/trunk/kdebase/kwin/; revision=198736
2003-01-10 12:31:57 +00:00
Luboš Luňák 63fbbb6f83 Just in case.
svn path=/trunk/kdebase/kwin/; revision=197782
2003-01-06 13:16:03 +00:00
Luboš Luňák 70784e0433 Bah, one screws up KWin a bit for the weekend, and there are already
3 bugreports for it.
With KStartupInfo, I unintentionally introduced KWinModule in KWin,
and after the kdecore/netwm* cleanup, it started getting events,
and doing XSelectInput() on clients :(.

svn path=/trunk/kdebase/kwin/; revision=197771
2003-01-06 12:28:28 +00:00
Luboš Luňák aa007a7b63 Enable --enable-final again, and also get rid of that ugly select() hack
that apparently came from Qt - we don't support every stupid Nullix-0.1
out there.

svn path=/trunk/kdebase/kwin/; revision=197769
2003-01-06 12:19:14 +00:00
Luboš Luňák c0b5ad09d0 List all supported features (up to now).
svn path=/trunk/kdebase/kwin/; revision=197213
2003-01-03 17:01:52 +00:00
Luboš Luňák 67b77176dd I missed one propagateClients() call.
svn path=/trunk/kdebase/kwin/; revision=197007
2003-01-02 17:09:00 +00:00
Luboš Luňák a4b6ba8032 Save some duplicated code.
svn path=/trunk/kdebase/kwin/; revision=197003
2003-01-02 16:57:08 +00:00
Luboš Luňák 73e6f75ab7 _NET_NUMBER_OF_DESKTOPS is ok now
svn path=/trunk/kdebase/kwin/; revision=196975
2003-01-02 14:41:22 +00:00
Luboš Luňák 68eb8a80fb _NET_CLIENT_LIST is now ok, except for small stupid detail.
svn path=/trunk/kdebase/kwin/; revision=196944
2003-01-02 13:00:52 +00:00
Luboš Luňák 5100e63107 Client::is_sticky_ is dead and would be gone, if it weren't for BIC.
No need to this duplication of Client::desk == NET::OnAllDesktops.
It's simple, desk == NET::OnAllDesktops - sticky
             desk == 0 - not mapped yet
             desk something else - the desktop the window is on

svn path=/trunk/kdebase/kwin/; revision=196529
2002-12-30 20:34:38 +00:00
Luboš Luňák fc34663134 Fix #52376. Maybe.
svn path=/trunk/kdebase/kwin/; revision=196526
2002-12-30 20:21:50 +00:00
Luboš Luňák 09b8f2b184 Client::is_sticky will go soon, as it may become inconsistent with
Client::desk . But this fixes the problem for now.

svn path=/trunk/kdebase/kwin/; revision=196351
2002-12-29 18:41:54 +00:00
Luboš Luňák 7d89180191 <= numberOfDesktops().
svn path=/trunk/kdebase/kwin/; revision=196350
2002-12-29 18:39:01 +00:00
Ryan Cumming a80aa9abc7 Compile
svn path=/trunk/kdebase/kwin/; revision=196087
2002-12-28 00:25:19 +00:00
Luboš Luňák 92396f254d Work areas (_NET_WORKAREA) are actually to be supposed per-desktop.
svn path=/trunk/kdebase/kwin/; revision=196073
2002-12-27 22:32:17 +00:00
Luboš Luňák 5ad28f6c67 Docks are not required to be sticky, and Kicker etc. set it, so let's not
force it.

svn path=/trunk/kdebase/kwin/; revision=196071
2002-12-27 22:29:22 +00:00
Luboš Luňák 249d025c75 Set the _NET_DESKTOP_GEOMETRY property.
svn path=/trunk/kdebase/kwin/; revision=196068
2002-12-27 22:26:30 +00:00
Luboš Luňák 13620c1952 Update necesary _NET_WM_ properties on the desktop count change.
Also save the desktop names only to kwinrc, there's no reason for them
to be in kdeglobals.

svn path=/trunk/kdebase/kwin/; revision=196064
2002-12-27 22:22:50 +00:00
Luboš Luňák 30a6b25432 Make sure _NET_ACTIVE_WINDOW is always up to date, and set to None
if there's no active window.

svn path=/trunk/kdebase/kwin/; revision=196063
2002-12-27 22:18:10 +00:00
Luboš Luňák a396827dee I wonder if this makes a real difference.
svn path=/trunk/kdebase/kwin/; revision=194589
2002-12-18 08:48:11 +00:00
Luboš Luňák 7b3f3bdd3b CCMAIL: klas.kalass@gmx.de
You managed to backport a nice crash to both 3.1 and 3.0 branches. It would
be nice if you posted your patches for review to kwin@kde.org next time,
especially when backporting.

svn path=/trunk/kdebase/kwin/; revision=194498
2002-12-17 19:27:19 +00:00
Luboš Luňák 336667733e keyboard shortcuts for always-on-top & on-all-desktops
(#49083).

svn path=/trunk/kdebase/kwin/; revision=194462
2002-12-17 16:09:08 +00:00
Klas Kalass 17c4c1f75c do not force desktop menu on top of windows that want to be on top, fixes fullscreen behaviour for non-kde apps with multiple windows (i.e. mplayer)
svn path=/trunk/kdebase/kwin/; revision=193897
2002-12-14 15:20:45 +00:00
Luboš Luňák 6a0c7144b6 KProcess::setUseShell() doesn't make sense here.
svn path=/trunk/kdebase/kwin/; revision=192246
2002-12-05 17:22:46 +00:00
Luboš Luňák 1519056ee1 Grmbl. Make the NET::Menu -> NET::TopMenu hack less strict.
svn path=/trunk/kdebase/kwin/; revision=189732
2002-11-19 14:44:11 +00:00
Luboš Luňák dfcc58b00f Fix #49369 and generally try to improve window matching.
Use WM_WINDOW_ROLE also for fake sessions (Save window settings).
Remember also window type.

svn path=/trunk/kdebase/kwin/; revision=185456
2002-10-24 16:22:15 +00:00
Luboš Luňák 6a1b175c7f Damn, I hate keeping BC in an application.
svn path=/trunk/kdebase/kwin/; revision=184473
2002-10-18 11:26:55 +00:00
Luboš Luňák e494dc3161 Fix #47757. Approved by Gallium.
svn path=/trunk/kdebase/kwin/; revision=184026
2002-10-15 13:42:35 +00:00
Luboš Luňák 35c890d029 Fix #44133. Approved by Gallium.
svn path=/trunk/kdebase/kwin/; revision=184025
2002-10-15 13:41:37 +00:00
Luboš Luňák ad2369b5ac Fix #48378.
svn path=/trunk/kdebase/kwin/; revision=181220
2002-09-30 08:34:24 +00:00
Ellis Whitehead f86f8f1378 Only print out the primary shortcuts (not the secondary) in Workspace::clientPopup()
svn path=/trunk/kdebase/kwin/; revision=180120
2002-09-24 14:23:13 +00:00
Aaron J. Seigo 4706a46264 disambiguate the window manager references in the titlebar menu
Sto&re Settings => Sto&re Window Settings
Configur&e => Configur&e Window Behavior...

svn path=/trunk/kdebase/kwin/; revision=179542
2002-09-22 03:33:06 +00:00
Matthias Ettrich 251c8ec906 disable the close icon (rather than not-checking it!) on non-closeable
windows. Make toolbars closeable by default (I really love to be able
to close kpager again)

svn path=/trunk/kdebase/kwin/; revision=178978
2002-09-19 17:22:31 +00:00
Matthias Ettrich 7a9e7dbb24 WM applet fixes: ignore withdrawn windows on a few more places, and (slightly hacky)
set the skip-taskbar NETWM hin on windows that have an initial_state of WithDrawn

svn path=/trunk/kdebase/kwin/; revision=176459
2002-09-08 15:45:26 +00:00
Luboš Luňák 3d3c5fa658 Fix #47434 .
svn path=/trunk/kdebase/kwin/; revision=175815
2002-09-05 07:57:53 +00:00
Luboš Luňák df05c96459 Ok, looks like it wasn't BIC after all.
svn path=/trunk/kdebase/kwin/; revision=175636
2002-09-04 07:27:06 +00:00
Luboš Luňák 427941efea Keep BC.
svn path=/trunk/kdebase/kwin/; revision=175540
2002-09-03 16:47:41 +00:00
Matthias Ettrich e3dddfb21d the return of the popup_client, at least a tiny little bit :-) See
discussion on kwin@mail.kde.org

svn path=/trunk/kdebase/kwin/; revision=175528
2002-09-03 16:05:30 +00:00
Cristian Tibirna e5d7df3d7f CT: revert non-feature (revision 1.345)
svn path=/trunk/kdebase/kwin/; revision=175049
2002-09-01 11:39:51 +00:00
Luboš Luňák 3b57952b03 Take care of #46042. [...resisted to say here something about Motif >;> ]
svn path=/trunk/kdebase/kwin/; revision=174310
2002-08-28 15:17: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
Luboš Luňák 220206e6dd Make sure the window operations popup works for the active window.
Plugin developers should use only Workspace::showWindowMenu() instead
of calling Workspace::clientPopup() and playing with the popup.

svn path=/trunk/kdebase/kwin/; revision=173296
2002-08-22 17:16:47 +00:00
Luboš Luňák 0714a8d003 Get rid of client_popup, as (not) discussed on kwin@.
This patch should fix such interesting things like closing the toplevel
menubar with Alt+F4 or moving Kicker to a different desktop using
keyboard shortcuts.

svn path=/trunk/kdebase/kwin/; revision=170646
2002-08-06 07:45:29 +00:00
Karol Szwed bbb9426543 Fix bug #45759 - CDE window cycling lockup
svn path=/trunk/kdebase/kwin/; revision=168816
2002-07-26 06:26:35 +00:00
Luboš Luňák 487f30a4ec Some fixes for the NET::TopMenu/NET::Menu hack.
svn path=/trunk/kdebase/kwin/; revision=168742
2002-07-25 20:08:09 +00:00
Oliver Bausinger 8824060f12 fix the disappearence of kwinoptions and provide the other (new)
control modules in the Configure... menu

svn path=/trunk/kdebase/kwin/; revision=166110
2002-07-11 20:54:54 +00:00
Luboš Luňák 3e236f2416 I don't think it's a good idea to show menubar belonging to another app.
svn path=/trunk/kdebase/kwin/; revision=165442
2002-07-07 18:54:20 +00:00
Luboš Luňák 37f217a8ce No, it was QObject-style owned by the Workspace object, not that the delete breaks anything.
BTW, the check in 'if(ptr) delete ptr;' is useless, 'delete NULL;' is a no-op.

svn path=/trunk/kdebase/kwin/; revision=165288
2002-07-06 20:16:36 +00:00
Luboš Luňák df4449b0bf Show at least the desktop's toplevel menubar if the app's one isn't visible yet.
svn path=/trunk/kdebase/kwin/; revision=165078
2002-07-05 20:08:17 +00:00
Luboš Luňák 1fab5c76ce NET::Menu -> NET::TopMenu, and make NET::Menu mean what it is supposed to mean.
+ backward compatibility hack

svn path=/trunk/kdebase/kwin/; revision=165076
2002-07-05 20:05:22 +00:00
Luboš Luňák 6d7f113304 Implemented _NET_WM_MOVERESIZE.
Fixed some minor bugs with resizing.

svn path=/trunk/kdebase/kwin/; revision=165071
2002-07-05 20:00:02 +00:00
Cristian Tibirna 2e99608428 CT: re-place a window when it is moved between desktops.
svn path=/trunk/kdebase/kwin/; revision=164082
2002-07-01 04:22:02 +00:00
Gioele Barabucci 9f0f7accc6 KShellProcess -> KProcess + setUseShell(true)
svn path=/trunk/kdebase/kdm/; revision=163814
2002-06-29 15:05:20 +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
Luboš Luňák 8366e220bf NETWM says we have to set this property to (0,0) if we don't support it
svn path=/trunk/kdebase/kwin/; revision=163694
2002-06-28 20:28:33 +00:00
Luboš Luňák 5380502347 Toplevel menubar is not sticky.
svn path=/trunk/kdebase/kwin/; revision=163046
2002-06-25 07:42:01 +00:00
Nadeem Hasan b36c644b72 Don't show desktop menu when there is only one desktop configured. Thanks
to aseigo for the original patch.

svn path=/trunk/kdebase/kwin/; revision=160391
2002-06-11 19:49:38 +00:00
Gioele Barabucci 21f19dd604 avoid "&" becoming "_" in desk_popup
svn path=/trunk/kdebase/kwin/; revision=158508
2002-05-29 21:31:32 +00:00
Nadeem Hasan 23902d7580 Use proper icon for "Close"
svn path=/trunk/kdebase/kwin/; revision=158507
2002-05-29 21:28:57 +00:00
Waldo Bastian 1448e53da5 Don't show the desktop menubar when a full-screen app is shown.
svn path=/trunk/kdebase/kwin/; revision=157263
2002-05-23 23:57:47 +00:00
Matthias Ettrich a99e99eacc restore legacy session after notifying ksplash that we are up and running
svn path=/trunk/kdebase/kwin/; revision=149562
2002-04-15 13:06:01 +00:00
Waldo Bastian ca1a4a27fa (BR40234)
Fixes disappearing kdesktop-menubar in combination with "desktop icons disabled"

svn path=/trunk/kdebase/kwin/; revision=148030
2002-04-08 23:43:19 +00:00
Cristian Tibirna 6f14920e91 CT: fix for bug:28599 (by M. Ettrich). Update copyright
svn path=/trunk/kdebase/kwin/; revision=147882
2002-04-08 12:58:27 +00:00
Cristian Tibirna de30273aad CT: fix the desktop cascading (got broken sometime during my 2 years sleep).
Closes bug:5370, the oldest kwin bug (filed as a wish, but really a bug).

svn path=/trunk/kdebase/kwin/; revision=147571
2002-04-07 06:55:48 +00:00
Cristian Tibirna e104c57e6a GUI:
CT: close bug:40009

svn path=/trunk/kdebase/kwin/; revision=147552
2002-04-07 02:22:25 +00:00
Alexander Kellett d343b3a1a3 Recommiting PopupInfo after several thousand cleanups inspired by CT
svn path=/trunk/kdebase/kwin/; revision=147307
2002-04-05 19:54:21 +00:00
Matthias Ettrich 789bb8c535 1. fix the "kill kicker with -9 and loose system tray icons" problem:
// If the system tray gets destroyed, the system tray
	    // icons automatically get unmapped, reparented and mapped
	    // again to the closest non-client ancestor due to
	    // QXEmbed's SaveSet feature. Unfortunatly with kicker
	    // this closest ancestor is not the root window, but our
	    // decoration, so we reparent explicitely back to the root
	    // window.


2. Removed popupinfo feature for now. The feature is a great idea, but the
implementation was too much copy&paste and code duplication with the
tab box. Plus it was buggy (no vertical center alignment) and contained
many unused codelines.

3. Fixed and simplified the session management handling (thanks to
KSessionManaged in libkdecore). This way we actually get a proper
discardCommand generated by KApplication, something that was missing
previously.

svn path=/trunk/kdebase/kwin/; revision=146580
2002-04-02 12:36:24 +00:00
Alexander Kellett 3e43789786 "wmaker-like" popup messages on desktop switch.
svn path=/trunk/kdebase/kwin/; revision=146349
2002-04-01 02:54:00 +00:00