Commit graph

135 commits

Author SHA1 Message Date
Montel Laurent
62c5a5e276 normalize signal/slots 2011-08-17 23:51:55 +02:00
Jaime Torres
646954ed9d rules must never be null
if rules were null, it was pointing to a local structure, prabably a
crash after leaving if rules where used.

REVIEW: 102057
2011-08-02 17:24:38 +02:00
Martin Gräßlin
12d3b354fc Remove drawbound move/resize functionality
Drawbound was nowadays only used when compositing is disabled.
For the composited case, the drawbound was replaced by the resize
effect and in fact we should always just use the resize effect.

REVIEW: 101411
2011-06-23 12:15:54 +02:00
Thomas Lübking
d233891da7 make kwinrules kcm more user friendly 2011-05-08 21:30:15 +02:00
Thomas Lübking
31278d570e add rule/property based composite blocking 2011-04-04 01:59:52 +02:00
Martin Gräßlin
0a7e48f7aa KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
Martin Gräßlin
fa7f160cb3 Window specific setting to skip window switchers (tabbox, present windows, desktop grid).
FEATURE: 171192
CCBUG: 179723

svn path=/trunk/KDE/kdebase/workspace/; revision=1122404
2010-05-03 20:04:44 +00:00
Nikhil Marathe
5fc7e93d69 Tiling is here!
This commit merges the kwin-tiling branch. Ideally it shouldn't break anything and add a few features ;-)
It was applied as a patch. Do not attempt to merge the branch directly, it has a few issues.
This feature is currently experimental, although it hasn't crashed in quite a long time. It lacks some features and probably leaks some memory. Fixes will be on the way.

Season Of KDE 2009 project by Nikhil Marathe

svn path=/trunk/KDE/kdebase/workspace/; revision=1118677
2010-04-25 16:43:14 +00:00
Jan Gerrit Marker
2f05afa150 Add an icon to the specific window settings dialog. It takes the same icon as the contextual menu uses.
svn path=/trunk/KDE/kdebase/workspace/; revision=1067398
2009-12-29 14:35:53 +00:00
Martin Gräßlin
1114d8efa4 Less Krazy warnings please: Using QPointers when showing modal dialogs via exec().
svn path=/trunk/KDE/kdebase/workspace/; revision=1063328
2009-12-17 21:04:32 +00:00
Lucas Murray
d7b1e5fc53 Added window rule version of opening window tabs in the background.
svn path=/trunk/KDE/kdebase/workspace/; revision=1050444
2009-11-17 10:41:32 +00:00
Lucas Murray
e4ab19a936 Allow automatic grouping of unrelated windows by matching them with a
window rule ID.

svn path=/trunk/KDE/kdebase/workspace/; revision=1050040
2009-11-16 13:31:02 +00:00
Lucas Murray
e096c60502 Allow the autogrouping option to be enabled/disabled on a
per-application level by using window rules.

svn path=/trunk/KDE/kdebase/workspace/; revision=1050000
2009-11-16 11:26:37 +00:00
Lucas Murray
8cbce93613 Less warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1031438
2009-10-05 06:59:10 +00:00
Michael Jansen
dfc55420e7 - Only record single key global shortcuts
- print a debug message when ignoring the entered shortcuts because
  of conflicts.

svn path=/trunk/KDE/kdebase/workspace/; revision=882188
2008-11-10 00:03:17 +00:00
Bill Egert
73f9f36e6e No longer use Obsolete Member for QWidget:
topLevelWidget() => window() 

svn path=/trunk/KDE/kdebase/workspace/; revision=776408
2008-02-18 01:06:50 +00:00
David Johnson
dbb57de9d5 convert rules dialog to qt4 format; remove qt3support dependency
svn path=/trunk/KDE/kdebase/workspace/; revision=770234
2008-02-03 04:37:34 +00:00
Luboš Luňák
3b2b091c34 Make a clear distinction between types we support only for compositing
and types that are actually supported when managing windows.


svn path=/trunk/KDE/kdebase/workspace/; revision=746036
2007-12-07 15:53:43 +00:00
Luboš Luňák
95d28eb246 Ok, I meant KKeySequenceWidget, not KShortcutWidget.
svn path=/trunk/KDE/kdebase/workspace/; revision=731739
2007-11-01 19:01:01 +00:00
Luboš Luňák
26149b29fb Porting uic3->uic4 is fun.
svn path=/trunk/KDE/kdebase/workspace/; revision=731738
2007-11-01 18:51:01 +00:00
Luboš Luňák
7a0f50b298 KWM->KWindowSystem
svn path=/trunk/KDE/kdebase/workspace/; revision=659662
2007-04-30 15:48:34 +00:00
Luboš Luňák
d7f9ad2bde Merging from old trunk:
r648646 | goutte | 2007-03-31 23:40:43 +0200 (Sat, 31 Mar 2007) | 2 lines

SVN_SILENT: xgettext does not like to have unbalanced quotes in a #warning


svn path=/trunk/KDE/kdebase/workspace/; revision=659573
2007-04-30 12:31:56 +00:00
Luboš Luňák
8f6f8bf076 Merging from old trunk:
r632958 | knight | 2007-02-12 20:39:15 +0100 (Mon, 12 Feb 2007) | 4 lines

* Port KListBox to KListWidget
* Port all usage of Q3ListBox / Q3ListBoxItem to QListWidget / QListWidgetItem


svn path=/trunk/KDE/kdebase/workspace/; revision=659542
2007-04-30 11:55:02 +00:00
Luboš Luňák
f52b8e48cd branches/work/kwin_composite becomes new trunk kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
2007-04-29 17:35:43 +00:00
Luboš Luňák
2b7e1f4993 Remove kwin, kwin_composite will become new trunk kwin, missing merges
from trunk will be merged in.


svn path=/trunk/KDE/kdebase/workspace/; revision=659200
2007-04-29 17:34:49 +00:00
Luboš Luňák
6cae287d2a KWM::WindowInfo -> KWindowInfo
svn path=/branches/work/kwin_composite/; revision=653880
2007-04-14 13:35:00 +00:00
Aaron J. Seigo
81f00aa8b8 KWindowInfo
svn path=/trunk/KDE/kdebase/workspace/; revision=651965
2007-04-09 18:30:03 +00:00
Luboš Luňák
2c928221a4 namespace KWinInternal -> KWin - shorter typing of names in gdb, yay
svn path=/trunk/KDE/kdebase/workspace/; revision=650773
2007-04-05 12:12:10 +00:00
Luboš Luňák
e3b865cd5f namespace KWinInternal -> KWin - shorter typing of names in gdb, yay
svn path=/branches/work/kwin_composite/; revision=650770
2007-04-05 12:07:35 +00:00
Luboš Luňák
3617d1bf8a Merge r649608, r649403, r649230 and r648582 from trunk (porting).
svn path=/branches/work/kwin_composite/; revision=649948
2007-04-03 13:24:05 +00:00
Luboš Luňák
10ea80a963 KWin/KWinModule -> KWM
svn path=/trunk/KDE/kdebase/workspace/; revision=649608
2007-04-02 21:30:50 +00:00
Nicolas Goutte
cacd4e8000 SVN_SILENT: xgettext does not like to have unbalanced quotes in a #warning
svn path=/trunk/KDE/kdebase/workspace/; revision=648646
2007-03-31 21:40:43 +00:00
Andreas Hartmetz
ee217245fb Ported/compile-fixed some code in khotkeys and kwin (that was not fun)
Small changes in other places, removed some unnecessary #include <kkeydialog.h> where they showed up.

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

svn path=/trunk/KDE/kdebase/workspace/; revision=648582
2007-03-31 19:04:28 +00:00
Robert Knight
f3fb636b33 * Port KListBox to KListWidget
* Port all usage of Q3ListBox / Q3ListBoxItem to QListWidget / QListWidgetItem


svn path=/trunk/KDE/kdebase/workspace/; revision=632958
2007-02-12 19:39:15 +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
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
Dirk Mueller
cd6b416cfd compile++
svn path=/trunk/KDE/kdebase/workspace/; revision=557860
2006-07-04 08:26:08 +00:00
Tobias Koenig
9bb648da59 Ported to new KDialog/KPageWidget/KPageDialog
svn path=/trunk/KDE/kdebase/workspace/; revision=551107
2006-06-13 17:41:00 +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
Dirk Mueller
85628ccd95 fix possible array ref underrun (CID 1062 and a few dozen others)
svn path=/trunk/KDE/kdebase/workspace/; revision=531177
2006-04-18 16:33:11 +00:00
Tobias Koenig
848bc14335 deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=529106
2006-04-12 15:13:31 +00:00
Thorsten Roeder
e3362f8e64 deprecated--
affected:
QRegExp::setWildcard()
QRegExp::setCaseSensitive()
iterator QMap::remove()
QComboBox::currentItem()
QWidget::caption()

svn path=/trunk/KDE/kdebase/workspace/; revision=528770
2006-04-11 18:59:35 +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
Laurent Montel
e138e585dc deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=516301
2006-03-06 15:51:12 +00:00
Laurent Montel
d9245a4132 Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=512340
2006-02-22 10:12:16 +00:00
Urs Wolfer
e664161f4d compile fixes for new snapshot (remove some name arguments)
svn path=/trunk/KDE/kdebase/workspace/; revision=496151
2006-01-09 21:34:47 +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
Script Kiddy
19e65c92dc Fix FSF address
(mainly s/Steet/Street/;s/Cambridge/Boston/ )

svn path=/trunk/KDE/kdebase/workspace/; revision=490222
2005-12-21 06:45:09 +00:00
Dirk Mueller
e20f2bd6b2 SVN_SILENT: fix typo
svn path=/trunk/KDE/kdebase/kdm/; revision=467416
2005-10-05 08:44:32 +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
Luboš Luňák
2c1534b2b1 Give at least some hint about how to use the window-specific settings.
svn path=/trunk/KDE/kdebase/kwin/; revision=450916
2005-08-19 13:46:45 +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
678a1ce18a Placement policy 'maximizing'.
svn path=/trunk/KDE/kdebase/kwin/; revision=444046
2005-08-08 14:22:52 +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
Dirk Mueller
da212229af SVN_SILENT update FSF address
svn path=/trunk/KDE/kdebase/kwin/; revision=433335
2005-07-10 13:44:16 +00:00
Luboš Luňák
7320352a2c One more missing space.
svn path=/trunk/KDE/kdebase/kwin/; revision=423450
2005-06-08 12:20:24 +00:00
Andrew Coles
14ea075292 SVN_SILENT
Corrected typos (missing spaces between words, the odd mis-spelling).


svn path=/trunk/KDE/kdebase/kwin/; revision=423422
2005-06-08 11:11: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
Stephan Binner
4bd15b9f8f CVS_SILENT i18n style guide fixes, first run
svn path=/trunk/kdebase/kwin/; revision=385798
2005-02-03 10:49:53 +00:00
Luboš Luňák
a3d314ca4e Make the 'Edit' button for shortcut in window-specific settings
do at least something.

svn path=/trunk/kdebase/kwin/; revision=385467
2005-02-02 18:57:21 +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
Luboš Luňák
ded2f457b8 Workaround for xterm not coping well with being maximized to a geometry
that's not exact multiple of its resize increments. Selecting obeying
strict geometry in window-specific settings makes KWin avoid this.
Maximization then doesn't work very well indeed, but one cannot please
everybody, and the bug is in xterm after all.
BUG: 94183

svn path=/trunk/kdebase/kwin/; revision=379401
2005-01-17 13:35:48 +00:00
Luboš Luňák
3e5b28f2e0 Move the opacity settings to the position in the source where they belong.
svn path=/trunk/kdebase/kwin/; revision=379400
2005-01-17 13:16:47 +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
ced8835dfa Make sure unused settings have prefilled values also with Alt+F3/Window-specific settings.
svn path=/trunk/kdebase/kwin/; revision=361970
2004-11-10 11:41:12 +00:00
Luboš Luňák
d0a2d63fdf When using Alt+F3/Window-specific settings, activate directly first tab
with settings, now that it tries to find the right matching rules itself.

svn path=/trunk/kdebase/kwin/; revision=361961
2004-11-10 11:07:51 +00:00
Luboš Luňák
a5a748b4bc Modify Alt+F3/Advanced/Window specific settings to avoid the dialog
for specifying a window by doing a lot of guessing how to actually
identify the specific window next time, so that it directly invokes
the dialog with the various settings for the window.
Let's see if this is simple enough to use, or if it still needs something
like the old 'remember some random settings I think should be worth remembering'.

CCBUG: 90918

svn path=/trunk/kdebase/kwin/; revision=360733
2004-11-05 15:29:50 +00:00
Luboš Luňák
be90fd3f6a I guess Laurent is right about this - don't show non-existent virtual
desktops.

svn path=/trunk/kdebase/kwin/; revision=353961
2004-10-12 15:08:31 +00:00
Luboš Luňák
a9517d38c2 Pre-fill geometry, state etc. to inactive settings in order to
make it simpler to have an equivalent of 3.2's Save window settings.

svn path=/trunk/kdebase/kwin/; revision=335931
2004-08-04 11:00:40 +00:00
Luboš Luňák
3966017ccd Fill (or pre-fill) more values from the detect dialog for matching the window.
svn path=/trunk/kdebase/kwin/; revision=334154
2004-07-30 13:35:55 +00:00
Luboš Luňák
00bdcc2e0d #84605 - make the Alt+F3/Advanced/Special window settings option find
automatically a match entry and create a new one if none is found.
CCMAIL: 84605-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=333894
2004-07-29 17:08:25 +00:00
Luboš Luňák
92e9f94ea2 Don't show invalid position.
svn path=/trunk/kdebase/kwin/; revision=333883
2004-07-29 16:44:20 +00:00
Luboš Luňák
d5d2f27da9 Add regexp capturing parentheses.
svn path=/trunk/kdebase/kwin/; revision=330899
2004-07-19 14:06:27 +00:00
Luboš Luňák
0d04f6a458 Some warnings, and changed automatic filling of description.
svn path=/trunk/kdebase/kwin/; revision=329159
2004-07-14 14:27:47 +00:00
Luboš Luňák
de5b228d37 Warn about overly generic window specifications.
svn path=/trunk/kdebase/kwin/; revision=324274
2004-06-28 14:28:11 +00:00
Luboš Luňák
810465c09c Make unset min/max size default to 1,1 and 32767,32767.
svn path=/trunk/kdebase/kwin/; revision=324252
2004-06-28 13:47:33 +00:00
Luboš Luňák
e0ebeb3c26 Make it possible to do a substring match, and possibly others in the future.
svn path=/trunk/kdebase/kwin/; revision=323530
2004-06-25 11:28:17 +00:00
Luboš Luňák
ca9469bf6b Create a default description.
svn path=/trunk/kdebase/kwin/; revision=323501
2004-06-25 09:51:31 +00:00
Luboš Luňák
e8d21fc0cd Make the detect button a bit more useful.
svn path=/trunk/kdebase/kwin/; revision=322872
2004-06-22 18:10:21 +00:00
Luboš Luňák
389771f957 The detect button is still not what it should be, but now it at least
does something.

svn path=/trunk/kdebase/kwin/; revision=322845
2004-06-22 16:31:57 +00:00
Luboš Luňák
e095c52a40 Add some whatsthis's.
svn path=/trunk/kdebase/kwin/; revision=322787
2004-06-22 12:23:42 +00:00
Luboš Luňák
36b64e3897 GUI for rules (=window specific settings). Have fun figuring out how it
works, because I haven't written any kind of docs for it yet, and
the most important button doesn't work yet either (yes, that one that
has it written on it). I just hope the GUI doesn't suck too much, because
I'm really bad at such things.

svn path=/trunk/kdebase/kwin/; revision=322524
2004-06-21 16:25:24 +00:00