Commit Graph

127 Commits (19f400578fa122259526bb3cee2410dc8525dbdb)

Author SHA1 Message Date
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
Matthias Ettrich bad93649e3 fixed min/max handling, handle palette changes properly
svn path=/trunk/kdebase/kwin/; revision=35018
1999-11-25 12:53:17 +00:00
Matthias Ettrich 1884091309 update, usable with kicker now
svn path=/trunk/kdebase/kwin/; revision=33064
1999-11-07 01:43:06 +00:00
Kalle Dalheimer 21ae659168 More get()
svn path=/trunk/kdebase/kwin/; revision=30392
1999-10-09 11:12:26 +00:00
Matthias Ettrich 311db796c6 Say hello to kwin. WARNING: NOT USABLE YET. See README.
svn path=/trunk/kdebase/kwin/; revision=27871
1999-08-19 23:26:42 +00:00