Commit Graph

162 Commits (15155326e28b56d2e7040521c8e0fd03d2beaf80)

Author SHA1 Message Date
Martin Gräßlin 0a7e48f7aa KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
Chani Armitage d18e95f9a6 improve stack & focuschain activity checks
BUG: 262730

svn path=/trunk/KDE/kdebase/workspace/; revision=1214045
2011-01-12 18:08:59 +00:00
Chani Armitage 0e7e1aa077 stop using deprecated API, and use activity icons
svn path=/trunk/KDE/kdebase/workspace/; revision=1192050
2010-11-01 19:53:22 +00:00
Martin Gräßlin 0e2f0eb20d Forward port rev 1134110: Fix crash when trying to group a window without decorations.
CCBUG: 222816

svn path=/trunk/KDE/kdebase/workspace/; revision=1134111
2010-06-03 12:53:29 +00:00
Nicolas Lécureuil fa2318b374 Fix typo
svn path=/trunk/KDE/kdebase/workspace/; revision=1134085
2010-06-03 11:30:41 +00:00
Nicolas Lécureuil 8f3f46c740 Forward port commit 1134074
CCBUG: 240464


svn path=/trunk/KDE/kdebase/workspace/; revision=1134076
2010-06-03 10:59:17 +00:00
Martin Gräßlin f46e0634fb Fix mnemonic in advanced menu of useractions menu.
svn path=/trunk/KDE/kdebase/workspace/; revision=1132322
2010-05-30 10:03:05 +00:00
Chani Armitage 7854e4bece make 'all activities' work :)
svn path=/trunk/KDE/kdebase/workspace/; revision=1126064
2010-05-13 04:56:57 +00:00
Chani Armitage a9ad071575 Activity association for windows.
ok'd by fredrikh.
this code is buggy right now, but I promise to squash the bugs by the 19th :)


svn path=/trunk/KDE/kdebase/workspace/; revision=1125614
2010-05-11 20:30:20 +00:00
Nikhil Marathe 2163f87264 Modified workspace method names to mark them up as referring to tiling
svn path=/trunk/KDE/kdebase/workspace/; revision=1125434
2010-05-11 11:10:53 +00:00
Stephan Binner 253f0523c6 SVN_SILENT i18n style guide fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=1124548
2010-05-09 11:06:38 +00:00
Nikhil Marathe 3e9377e6b4 Added comments to some tiling related code
svn path=/trunk/KDE/kdebase/workspace/; revision=1124486
2010-05-09 06:15:40 +00:00
Nikhil Marathe 8892169a86 Added Window menu action to toggle floating/tiled state of the client and the relevant Operation enum entry
svn path=/trunk/KDE/kdebase/workspace/; revision=1124058
2010-05-07 16:03:14 +00:00
Nikhil Marathe a2a7891789 SVN_SILENT Renamed tilingMode to tilingEnabled to better convey its boolean-ness
svn path=/trunk/KDE/kdebase/workspace/; revision=1123140
2010-05-05 12:09:49 +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
Martin Gräßlin f2e8fdf067 Use radiobuttons instead of checkboxes in opacity user actions menu.
Thanks to Glen Kaukola for the patch.
FEATURE: 227540

svn path=/trunk/KDE/kdebase/workspace/; revision=1105530
2010-03-20 13:58:19 +00:00
Lucas Murray 167e663a35 Add sanity check to client menu actions. Prevents crashes but these
functions are still being called on the wrong window.
CCBUG: 219270

svn path=/trunk/KDE/kdebase/workspace/; revision=1063682
2009-12-19 03:53:48 +00:00
Thomas Lübking 99b82bd530 avoid NULL pointer deref
BUG: 218202

svn path=/trunk/KDE/kdebase/workspace/; revision=1062003
2009-12-13 14:43:02 +00:00
Lucas Murray 0b153f8861 s/group window/window tab/ where it makes sense to reduce possible
confusion.

svn path=/trunk/KDE/kdebase/workspace/; revision=1050318
2009-11-17 08:46:20 +00:00
Lucas Murray 00e131a1a5 Allow window tabbing titlebar actions to be configurable; Set default
middle-click titlebar action to tab drag; Fix KCM config file corruption
caused by r1015273.
BUG: 214898

svn path=/trunk/KDE/kdebase/workspace/; revision=1050309
2009-11-17 07:17:49 +00:00
Kevin Ottens 167823f5fa Make it build with QT_STRICT_ITERATORS.
svn path=/trunk/KDE/kdebase/workspace/; revision=1049926
2009-11-16 08:22:50 +00:00
Lucas Murray 88a85b1b61 Correct the "switch to group window" list and behaviour of the "to the
left/right" actions when right-clicking on an inactive tab in a
titlebar.

svn path=/trunk/KDE/kdebase/workspace/; revision=1049639
2009-11-15 16:04:36 +00:00
Lucas Murray 72c3a553ca Add ability to switch the active window tab to the left/right by
scrolling on the titlebar or when using the WM modifier key.

svn path=/trunk/KDE/kdebase/workspace/; revision=1049547
2009-11-15 12:34:46 +00:00
Lucas Murray a0d07d12a2 Merged r970865:1049322 from /branches/work/kwin-tabbing
Adds window tabbing support to KWin.
FEATURE: 42023

svn path=/trunk/KDE/kdebase/workspace/; revision=1049334
2009-11-15 03:24:04 +00:00
Lucas Murray 8cbce93613 Less warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1031438
2009-10-05 06:59:10 +00:00
Lucas Murray 9f420c13ab Add ability to switch windows spatially with alt+meta+<direction>.
Patch based off code by Dominik Kapusta and Lindsay Roberts.
FEATURE: 74214

svn path=/trunk/KDE/kdebase/workspace/; revision=1030903
2009-10-03 13:09:38 +00:00
Markus Meik Slopianka d26256cc22 BUG: 207136
svn path=/trunk/KDE/kdebase/workspace/; revision=1023070
2009-09-13 20:19:24 +00:00
Martin Gräßlin 76f17e6de1 Here comes the new TabBox. It is a complete rewrite using a MVC approach. Here some highlights:
* Models and Delegates for Clients and Desktops
 * Horizontal, vertical and tabular layout
 * Layout of one item can be configured by an XML definition
 * A desktop item can include a client list
 * An optional second list view showing only the selected item
 * A new KCM "kwintabbox"
 * An alternative TabBox with independent settings and keybindings
 * Optional Highlight Windows effect integration
 * List scrolls instead of removing items
 * Scroll wheel support
 * Cursor key support
 * Middle click on item closes window
BUG: 195745
BUG: 197187
BUG: 201103
FEATURE: 118184
FEATURE: 156723
FEATURE: 177441
FEATURE: 182897
FEATURE: 193882
GUI:

svn path=/trunk/KDE/kdebase/workspace/; revision=1022861
2009-09-13 11:36:45 +00:00
Martin Gräßlin faa64877bf Add keybinding for show desktop.
No shortcut is set by default. Thanks to Alexander (alex3255) for providing the patch.
FEATURE: 182729

svn path=/trunk/KDE/kdebase/workspace/; revision=1022596
2009-09-12 08:01:44 +00:00
Lucas Murray c3a07890f5 Add close window ability to customizable title bar mouse button actions.
Patch by Thomas Lundgaard.
CCMAIL: thomaslundgaard@gmail.com

svn path=/trunk/KDE/kdebase/workspace/; revision=1015273
2009-08-25 04:10:11 +00:00
Luboš Luňák f57fffa276 Fix change caused by r959979 - the opacity popup should not be before
desktop popup.


svn path=/trunk/KDE/kdebase/workspace/; revision=990060
2009-07-01 15:16:26 +00:00
Martin Gräßlin 0c91716572 Track change of global shortcuts for tabbox. Required for the tabbox to work correctly when a shortcut is changed.
BUG: 163732

svn path=/trunk/KDE/kdebase/workspace/; revision=972533
2009-05-25 08:35:48 +00:00
Aaron J. Seigo 815c7c25a0 make the context menus in the taskbar and the window manager consistent again; put Advanced at the bottom of the list since it is, well, advanced, implying that the other options are more common
BUG:190823

svn path=/trunk/KDE/kdebase/workspace/; revision=959979
2009-04-27 17:30:33 +00:00
Toby Dickenson db1d1dd8d6 BUG: 180754. Prevent 0% opacity using a mouse action. Limit opacity to 10%
svn path=/trunk/KDE/kdebase/workspace/; revision=926270
2009-02-14 22:46:30 +00:00
Lucas Murray 893b0c2c71 Merge DesktopLayout class into Workspace.
svn path=/trunk/KDE/kdebase/workspace/; revision=926020
2009-02-14 15:40:52 +00:00
Lucas Murray 2e42deec73 When the user lowers the active window with a mouse action also
automatically focus the next available window.
BUG: 182146

svn path=/trunk/KDE/kdebase/workspace/; revision=917649
2009-01-28 10:30:44 +00:00
Lucas Murray f9f4d916e4 When the user lowers the active window with a shortcut automatically
focus the next available window.
BUG: 182146

svn path=/trunk/KDE/kdebase/workspace/; revision=917644
2009-01-28 10:03:37 +00:00
Lucas Murray 6881aa9548 Don't allow changing the opacity of the desktop with the mouse shortcut.
svn path=/trunk/KDE/kdebase/workspace/; revision=902059
2008-12-27 14:36:40 +00:00
Lucas Murray d5a630cabd When window shade hovering is enabled do not immediately shade the
window once the cursor leaves the window, instead wait a little while.
Patch by Marcel Partap.
BUG: 81085

svn path=/trunk/KDE/kdebase/workspace/; revision=897056
2008-12-15 08:27:17 +00:00
Laurent Montel 5535a9de5e Fix iterator
svn path=/trunk/KDE/kdebase/workspace/; revision=883047
2008-11-11 23:09:11 +00:00
Luboš Luňák 1d2c54edcc Support for proper effect reconfiguration instead of reloading them.
Fixes e.g. the global animation combo not taking effect.


svn path=/trunk/KDE/kdebase/workspace/; revision=866903
2008-10-02 09:27:32 +00:00
Michael Jansen 11bd92b381 - Correct key usage.
- Forget global shortcut

svn path=/trunk/KDE/kdebase/workspace/; revision=866436
2008-09-30 20:44:40 +00:00
Luboš Luňák 27182e3800 Workaround for kwin<->kglobalaccel deadlock, when KWin has X grab and the kded
kglobalaccel module tries to create the key grab. KWin should preferably grab
they keys itself anyway :(.


svn path=/trunk/KDE/kdebase/workspace/; revision=866294
2008-09-30 12:03:20 +00:00
Michael Jansen 30f293c01f Use caption instead of windowId.
svn path=/trunk/KDE/kdebase/workspace/; revision=865997
2008-09-29 18:42:45 +00:00
Michael Jansen b48c438bb0 - Only allow menu entry actions in the KMenuEdit system group.
- Create the group if a new configuration is created or a old one is
  loaded.

svn path=/trunk/KDE/kdebase/workspace/; revision=863096
2008-09-21 05:27:16 +00:00
Luboš Luňák 085abe58b2 Don't lose the desktop submenu in Alt+F3.
svn path=/trunk/KDE/kdebase/workspace/; revision=843596
2008-08-07 11:51:20 +00:00
Lucas Murray 0581746327 Allow moving of maximized windows across screens
BUG: 131299

svn path=/trunk/KDE/kdebase/workspace/; revision=837644
2008-07-25 10:31:47 +00:00
Luboš Luňák e2f835e142 Modules -> Effects, for consistent naming (not sure if the calls
are used somewhere). Also fix the strange indent.
CCMAIL: Laurent Montel <montel@kde.org>


svn path=/trunk/KDE/kdebase/workspace/; revision=818994
2008-06-10 09:32:46 +00:00
Laurent Montel 5628d59f1f Add dbus function to show which effect can be loaded
so now all is ok to know which module can be load/unload

svn path=/trunk/KDE/kdebase/workspace/; revision=815903
2008-06-02 20:05:17 +00:00
Laurent Montel 54ede72bf1 Add a dbus function to show which effect is loaded
svn path=/trunk/KDE/kdebase/workspace/; revision=815896
2008-06-02 19:52:02 +00:00