Commit Graph

154 Commits (783cde7bbd131ca6a943595fd5f702832acfe320)

Author SHA1 Message Date
Philip Falkner ce89ed0716 Allow effects to replace the tabbox.
svn path=/branches/work/kwin_composite/; revision=640628
2007-03-08 16:49:44 +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
Philip Falkner 908a3e708e Port tabbox from QFrame to Q3Frame.
svn path=/branches/work/kwin_composite/; revision=640446
2007-03-08 04:44:06 +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 47f5535e6a Make the tabbox also show when compositing.
svn path=/branches/work/kwin_composite/; revision=632602
2007-02-11 18:36:10 +00:00
Dirk Mueller 6c224134db porting simplifications regarding KConfig::readEntry
svn path=/branches/work/kwin_composite/; revision=632199
2007-02-10 09:12:35 +00:00
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 f9555cf69e Revert r427993 (#106013) as it causes #140023.
BUG: 140023


svn path=/trunk/KDE/kdebase/workspace/; revision=626731
2007-01-24 13:49:28 +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
Tim Beaulen 01d8fe1308 Build
svn path=/branches/work/kwin_composite/; revision=615763
2006-12-22 15:09:35 +00:00
Simon Hausmann ca449ecaee merge branches/work/kaction-cleanup-branch: Simplify and clean up KShortcut
svn path=/trunk/KDE/kdebase/workspace/; revision=614599
2006-12-18 12:25:10 +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
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
Tobias Koenig 175b6677e5 deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=587952
2006-09-24 14:51:14 +00:00
Dirk Mueller ad3acbfa6e avoid empty body warning
svn path=/trunk/KDE/kdebase/workspace/; revision=577080
2006-08-25 13:51:38 +00:00
Luboš Luňák 8032ae2117 Thinner outline.
svn path=/trunk/KDE/kdebase/workspace/; revision=576666
2006-08-24 15:01:28 +00:00
Luboš Luňák cb46043efd Don't show outline when tabbox is not visible or for clients
that are not visible (#132510).


svn path=/trunk/KDE/kdebase/workspace/; revision=573637
2006-08-16 21:20:34 +00:00
Luboš Luňák 9dea2bffd7 Draw outlines around the selected window while doing Alt+Tab (#108142).
svn path=/trunk/KDE/kdebase/workspace/; revision=572784
2006-08-13 22:45:44 +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
Thorsten Roeder e000f78091 fixing some EBN issues
svn path=/trunk/KDE/kdebase/workspace/; revision=542916
2006-05-20 15:56:37 +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
Stephan Kulow a54ba477c3 you can crash in debug output too (CID 1520)
svn path=/trunk/KDE/kdebase/workspace/; revision=534313
2006-04-26 20:34:07 +00:00
Luboš Luňák 423fc126d5 Obey automatic un-hover option also when switching to a shaded window with alt+tab.
(#126291)


svn path=/trunk/KDE/kdebase/workspace/; revision=534187
2006-04-26 15:08:02 +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 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
Luboš Luňák 5d1255dd73 Ok, I've had enough with Alt+Tab and mouse focus policies:
- use click to focus or focus follows mouse and I'll be fine
- with the remaining unreasonable focus policies only the CDE-style
  tabbox works that raises and lowers windows and ignores
  keep above/below windows
- if you don't like that, provide a patch for kwin/tabbox.cpp
- tabbox should be completely redesigned for KDE4
(#123890,#105263,#84424)


svn path=/trunk/KDE/kdebase/workspace/; revision=528579
2006-04-11 12:59:59 +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
Dirk Mueller 2b87139c6b always cycle on current desktop, even when no client was given
svn path=/trunk/KDE/kdebase/workspace/; revision=525955
2006-04-03 13:05:47 +00:00
Dirk Mueller bcb3ad4ada kwin: stop crashing
svn path=/trunk/KDE/kdebase/workspace/; revision=524824
2006-03-31 10:43:57 +00:00
Laurent Montel 99f8ff81b5 Deprecated--
svn path=/trunk/KDE/kdebase/kmenuedit/; revision=516274
2006-03-06 14:30:06 +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
Laurent Montel 029becd298 Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=512302
2006-02-22 08:31:58 +00:00
Allen Winter ae65a40c7a TRUE->true, FALSE->false
svn path=/trunk/KDE/kdebase/workspace/; revision=511180
2006-02-19 01:33:48 +00:00
Allen Winter 441523a689 Replace obsolete QMAX() and QMIN() with qMax() and qMin().
svn path=/trunk/KDE/kdebase/workspace/; revision=510739
2006-02-17 21:54:55 +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
Luboš Luňák b627b8b43e Avoid infinite loop with CDE-style Alt+Tab (#112737).
svn path=/trunk/KDE/kdebase/workspace/; revision=488475
2005-12-14 17:02:29 +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 0370410f0f qt3support--
svn path=/trunk/KDE/kdebase/workspace/; revision=474743
2005-10-27 09:07:06 +00:00
Stephan Kulow a3c86fb4e4 compile
svn path=/trunk/KDE/kdebase/workspace/; revision=473002
2005-10-22 11:25:47 +00:00
Shaheed Haque 8d2e997ce3 Restore ability to compile against kdelib4_snapshot
svn path=/trunk/KDE/kdebase/workspace/; revision=460303
2005-09-13 10:14:32 +00:00
Roland Gigler 17acdedd36 fix syntax error
svn path=/trunk/KDE/kdebase/workspace/; revision=457874
2005-09-06 21:10:35 +00:00
Caleb Tennis 393eeac4a0 Take advantage of the new KKeyNative functions per my commit #457838.
svn path=/trunk/KDE/kdebase/workspace/; revision=457839
2005-09-06 19:02:49 +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 170111c4e9 Find out what keys are mapped to Alt and Win modifiers instead of having it hardcoded.
I fail to see why anybody would want Alt bound to anything else
than Alt keys, but oh well.
BUG: 106013


svn path=/trunk/KDE/kdebase/kwin/; revision=427993
2005-06-22 15:44:24 +00:00
Luboš Luňák cf7679b7cd Gee ... indeed there is a better way to pass 8 integers to a function.
svn path=/trunk/KDE/kdebase/kwin/; revision=427984
2005-06-22 15:16:31 +00:00
Luboš Luňák 7f5e7219c9 Make KDE Alt+Tab style possible even with unreasonable focus policies.
It doesn't work that well, but oh well.
BUG: 105263

svn path=/trunk/KDE/kdebase/kwin/; revision=411473
2005-05-09 12:09:24 +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 664224c7f2 Start from the active window in CDE-style Alt+Tab, not from the topmost window.
Not that I'm sure that's the way it works in CDE, but I don't think it
makes any real difference, and it works with windows kept on top/bottom.
BUG:84424


svn path=/trunk/KDE/kdebase/kwin/; revision=409245
2005-05-04 12:19:00 +00:00
Luboš Luňák 3fd88cc165 Revert part of the change done for #47757, using a shortcut without
a modifier for KDE-style Alt+Tab simply doesn't make sense.
BUG: 103262

svn path=/trunk/kdebase/kwin/; revision=404069
2005-04-08 14:31:00 +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 bfbc879603 Limit tabbox maximum width to 80% of screen width.
FEATURE: 92418

svn path=/trunk/kdebase/kwin/; revision=366425
2004-11-26 16:14:32 +00:00
Luboš Luňák 04d286e87e Make minimized windows grayed out, just like in kicker's taskbar.
FEATURE: 91273

svn path=/trunk/kdebase/kwin/; revision=361708
2004-11-09 14:32:30 +00:00
Luboš Luňák d7cfd3204a Show even minimized dialogs in Alt+Tab. Apparently this was intentional,
but I don't see the point.
CCMAIL: 91194-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=354400
2004-10-14 09:15:57 +00:00
Luboš Luňák aab098daaa I hate unsigned variables.
svn path=/trunk/kdebase/kwin/; revision=341287
2004-08-26 10:27:09 +00:00
Luboš Luňák ddf5c4261c Make also secondary key in the shortcut work properly with the tabbox.
CCMAIL: 82103-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=340983
2004-08-25 16:54:36 +00:00
Pascal Létourneau 8c8429074e Fix the geometry of the tabbox
Most of the time, the longest entry was squeezed unnecessarily

svn path=/trunk/kdebase/kwin/; revision=333017
2004-07-26 19:14:30 +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
Bram Schoenmakers 078ca783a9 o "Tasks" -> "Windows" when no windows are on current virtual desktop
when pressing alt-tab

o Space cleanups (thanks to Kate)

svn path=/trunk/kdebase/kwin/; revision=320065
2004-06-12 20:11:53 +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
Martin Koller 3c26c240fe GUI: Alt/Tab shows list of icon+window title; Ctrl/Tab shows
list of desktop number+name+icon of apps

svn path=/trunk/kdebase/kwin/; revision=285419
2004-02-05 21:58:22 +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 f91bd865af Don't show windows that have modals in the Alt+Tab dialog, show the modals instead.
svn path=/trunk/kdebase/kwin/; revision=258584
2003-10-13 16:22:58 +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
Harri Porten f7eaa4af77 Hah ! The new QPainter check pays off.
svn path=/trunk/kdebase/kwin/; revision=221436
2003-04-22 10:05:58 +00:00
George Staikos e34b22234d Have you seen a lady fairer?
CCMAIL: l.lunak@kde.org

svn path=/trunk/kdebase/kwin/; revision=208077
2003-02-20 05:52:39 +00:00
George Staikos 3fae0948db Last of the dual-head non-xin fixes. I would appreciate if someone can test
non-xin dualhead with HEAD to see how it works now, and what major things are
broken.

Meanwhile I have ~29 fixes still remaining to be committed.

svn path=/trunk/kdebase/kdesktop/lock/; revision=207745
2003-02-18 17:48:04 +00:00
George Staikos f85406ae15 Fix up lots of Xinerama behaviour to conform to the new settings
grep says ~36 left to fix

svn path=/trunk/kdebase/kdesktop/lock/; revision=207632
2003-02-18 08:09:54 +00:00
John Firebaugh 6c612ea8de Remove obsolete #ifdefs
svn path=/trunk/kdebase/kwin/; revision=173635
2002-08-24 22:00:57 +00:00
Malte Starostik f10a38655b Don't make the tabbox wider than the screen if some window has a too
long title

svn path=/trunk/kdebase/kwin/; revision=140220
2002-03-02 16:03:29 +00:00
Stephan Kulow f6911fcec7 init some more variables
svn path=/trunk/kdebase/kwin/; revision=136001
2002-02-11 18:25:38 +00:00
Matthias Elter 1f02fc2275 blackies patch to fix the tabbox position for dual screens setups
svn path=/trunk/kdebase/kwin/; revision=130535
2002-01-08 10:33:05 +00:00
Waldo Bastian a29eb333d0 Don't crash when you happen to select a window with alt-tab that has just
disappeared. (forward port)

svn path=/trunk/kdebase/kwin/; revision=121076
2001-11-07 01:09:29 +00:00
Simon Hausmann c8f1508b36 - moved netwm.h inclusions after indirect qvariant.h inclusions
(fixes Bool clash)
- missing includes (qcursor,qstyle,qpainter,qvaluelist)
- minor qstyle api fixlet

svn path=/trunk/kdebase/kwin/; revision=110958
2001-08-18 23:06:16 +00:00
Ellis Whitehead 9e0653455e kdebase/kcontrol/keys/: add ability to separate between 'normal' shortcuts and a shortcut series
kdebase/kwin/tabbox: allow for choosing between switching between desktops in focus order versus numeric order.

kdebase/kwin/workspace: add key bindings for focus-order-desktop-walking and sending a window to a specific desktop.

*bindings.cpp: add labels for kcontrol

svn path=/trunk/kdebase/kwin/; revision=101281
2001-06-10 04:10:42 +00:00
Luboš Luňák 944967a8e1 Made Alt+Tab , Ctrl+Tab configurable. Also added in kcontrol module missing option
to make Alt+Tab to go either through all windows or only the ones on the current
desktop. If you get keyboard lock-ups because of this, yell.
I wonder how many bugreports I will be able to close because of this :).

svn path=/trunk/kdebase/kwin/; revision=87801
2001-03-19 20:05:36 +00:00
Thomas Leitner 26772fa04e need to specify external references before the "using namespace" directive
to allow the linker to resove them!

svn path=/trunk/kdebase/kwin/; revision=83967
2001-02-22 09:45:19 +00:00
Waldo Bastian 2f90225543 Put stuff in KWinInternal namespace.
Export client.h, workspace.h and options.h so that people can write plugins.

svn path=/trunk/kdebase/kwin/; revision=83707
2001-02-20 01:20:38 +00:00
Rik Hemsley 81e348e6cf Increasing delay time to 90. I think higher might still be better.
svn path=/trunk/kdebase/kwin/; revision=60091
2000-08-07 23:18:48 +00:00
Werner Trobin 13aebff097 Commented out some more #define QT_CLEAN_NAMESPACE statements
svn path=/trunk/kdebase/kscreensaver/; revision=59186
2000-07-29 07:59:24 +00:00
Rik Hemsley 62e30dc0dc KDE 2 style is now default. KDE 1 style now available as plugin.
KDE 2 style still needs work, but bear with me. I'll get on it...

svn path=/trunk/kdebase/kwin/; revision=57252
2000-07-16 10:20:29 +00:00
Matthias Ettrich 7dcedd2f0d show desktop names in some other places as well (and use utf8 rather than local 8 bit)
svn path=/trunk/kdebase/kwin/; revision=56902
2000-07-14 19:56:47 +00:00
Matthias Ettrich 4bec1c366d improved focus follows mouse support with Alt-Tab
svn path=/trunk/kdebase/kwin/; revision=55750
2000-07-08 11:57:38 +00:00
David Faure b9cc5b7cb1 Hmm, somebody went on holidays and forgot to commit killwindow.h apparently :->
Commented out the feature (you didn't think I would reimplement it, did you ?) :)

And took the opportunity of touching Makefile.am for including *.moc in *.cpp
(faster compilation, smaller link lines, less files...)

svn path=/trunk/kdebase/kwin/; revision=52667
2000-06-09 00:20:21 +00:00
Matthias Ettrich 900e2e6c0b Use the new windowmanager interaction API
svn path=/trunk/kdebase/kwin/; revision=52623
2000-06-08 17:05:51 +00:00
Waldo Bastian b42ee22030 WABA: Focus fixes.
svn path=/trunk/kdebase/kwin/; revision=51431
2000-06-01 05:32:06 +00:00
Rik Hemsley 5fc7cf3f1f Implemented delayed-show for tab box. Configurable, by default off.
To set it, put this in kwinrc:
[TabBox]
ShowDelay=true
DelayTime=200 (or whatever you want, in ms)

svn path=/trunk/kdebase/kwin/; revision=49379
2000-05-14 01:58:13 +00:00
Matthias Ettrich b49151074f Session management for KDE-2.x : say hello to the ksmserver
svn path=/trunk/kdebase/kwin/; revision=44552
2000-03-24 22:23:02 +00:00
Cristian Tibirna dc7f396179 CT: erase crash in tabbox thanks to Malte Starostik
svn path=/trunk/kdebase/kwin/; revision=39262
2000-01-26 01:43:26 +00:00
Matthias Ettrich b441f40a7e configurable mouse bindings (see README)
svn path=/trunk/kdebase/kwin/; revision=35388
1999-11-29 02:06:41 +00:00
Matthias Ettrich bd1e4878ba keep transients together, support various input modes, handle
wm_change_state messages properly

svn path=/trunk/kdebase/kwin/; revision=35353
1999-11-28 20:10:58 +00:00
Matthias Ettrich 49f894fa51 nicer tabbox
svn path=/trunk/kdebase/kwin/; revision=35151
1999-11-26 22:10:25 +00:00