Commit graph

6667 commits

Author SHA1 Message Date
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
Hugo Pereira Da Costa
f11a5ad36f added Q_DECLARE_OPERATORS_FOR_FLAGS for AnimationTypes and simplified calls to enum in OxygenClient accordingly
svn path=/trunk/KDE/kdebase/workspace/; revision=1050095
2009-11-16 16:11:45 +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
Andrew Coles
bc0919d485 Minor proof-reading change: AllDesktops needs to be two words.
svn path=/trunk/KDE/kdebase/workspace/; revision=1050039
2009-11-16 13:28:50 +00:00
Lucas Murray
8fee828536 Set the correct default for the titlebar mouse wheel action in KWin core
svn path=/trunk/KDE/kdebase/workspace/; revision=1050022
2009-11-16 12:23:01 +00:00
Lucas Murray
988b3d4ccd Add description text to the tabbox KCM to help let the user know that
both tabs are actually different.

svn path=/trunk/KDE/kdebase/workspace/; revision=1050021
2009-11-16 12:21:06 +00:00
Lucas Murray
7fe224e579 Don't change the client group visible status of a window if it is being
deleted. Hopefully fixes a crash in Client::exportMappingState().

svn path=/trunk/KDE/kdebase/workspace/; revision=1050010
2009-11-16 11:38:26 +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
Script Kiddy
c0c0864860 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1049965
2009-11-16 11:12:53 +00:00
Lucas Murray
535737e1fe Add "automatically group identical windows" feature to window tabbing.
svn path=/trunk/KDE/kdebase/workspace/; revision=1049953
2009-11-16 10:09:03 +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
622828eba4 Fix crash in EffectWindow::visibleInClientGroup() when it's called on a
window that doesn't have a decoration.
BUG: 214757

svn path=/trunk/KDE/kdebase/workspace/; revision=1049896
2009-11-16 03:58:58 +00:00
Lucas Murray
f57028f387 Take into account the decoration when resizing windows based off their
min/max size hints.

svn path=/trunk/KDE/kdebase/workspace/; revision=1049889
2009-11-16 02:53:12 +00:00
Lucas Murray
efb6055fc0 Fix window snapping.
svn path=/trunk/KDE/kdebase/workspace/; revision=1049888
2009-11-16 02:42:12 +00:00
Lucas Murray
fad5724f33 Add clients to a NULL group when they are released if they were in a
group before.

svn path=/trunk/KDE/kdebase/workspace/; revision=1049887
2009-11-16 02:39:16 +00:00
Martin Gräßlin
026d0a9839 Fix a crash in dgpw when a window is added to all desktops.
svn path=/trunk/KDE/kdebase/workspace/; revision=1049712
2009-11-15 17:57:01 +00:00
Martin Gräßlin
3b8151a6ce Fade out panels when using present windows in desktop grid
and adding myself to the copyright section

svn path=/trunk/KDE/kdebase/workspace/; revision=1049653
2009-11-15 16:35:36 +00:00
Lucas Murray
2f525b4c34 Fix the ClientGroup::add() check to make sure the client isn't already a
part of a group.

svn path=/trunk/KDE/kdebase/workspace/; revision=1049643
2009-11-15 16:11:42 +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
e0bee92151 Update the window group's min/max size when the hint on any window in
the group changes.
BUG: 214673

svn path=/trunk/KDE/kdebase/workspace/; revision=1049636
2009-11-15 15:48:59 +00:00
Darío Andrés Rodríguez
23dcb5d66a - Reduce the ammount of unused vars/parameters warnings
svn path=/trunk/KDE/kdebase/workspace/; revision=1049628
2009-11-15 15:41:16 +00:00
Lucas Murray
5e93336473 Resize other windows in the group when a grouped window is resized by
the application.
CCBUG: 214673

svn path=/trunk/KDE/kdebase/workspace/; revision=1049618
2009-11-15 15:08:15 +00:00
Martin Gräßlin
b7f71f746a Fix a lockup of desktop grid when clicking a window to select the desktop
svn path=/trunk/KDE/kdebase/workspace/; revision=1049608
2009-11-15 14:53:33 +00:00
Martin Gräßlin
b95daae72a Add some missing repaints
svn path=/trunk/KDE/kdebase/workspace/; revision=1049601
2009-11-15 14:44:42 +00:00
Martin Gräßlin
e833c61fc3 Improve moving windows in desktop grid when present windows enabled.
* on drag start rearrange windows in old desktop
 * while moving having window attached to mouse cursor
 * on drop rearrange windows in new desktop

svn path=/trunk/KDE/kdebase/workspace/; revision=1049583
2009-11-15 14:12:34 +00:00
Lucas Murray
62948a67f9 Switch default titlebar mouse wheel action to switch between window
tabs instead of "nothing" as the new action also does nothing if there
is only one window in the group.

svn path=/trunk/KDE/kdebase/workspace/; revision=1049560
2009-11-15 12:58:03 +00:00
Martin Gräßlin
3859fff0de Desktop Grid uses Present Windows to lay out the windows on a desktop
FEATURE: 165745

svn path=/trunk/KDE/kdebase/workspace/; revision=1049548
2009-11-15 12:38:26 +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
Script Kiddy
742d31ab28 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1049472
2009-11-15 10:08:10 +00:00
Lucas Murray
27d13ea5fb Fix compile on 64-bit systems.
svn path=/trunk/KDE/kdebase/workspace/; revision=1049438
2009-11-15 09:39:50 +00:00
Hugo Pereira Da Costa
8fb19a44e7 make sure separators are properly drawn when dragging out one tab
svn path=/trunk/KDE/kdebase/workspace/; revision=1049387
2009-11-15 09:14:43 +00:00
Hugo Pereira Da Costa
14ffab1aa5 more tab glitches fixed. Use full-width, and hide buttons and separator when there is only one tab left at drag-leave
svn path=/trunk/KDE/kdebase/workspace/; revision=1049363
2009-11-15 07:27:49 +00:00
Hugo Pereira Da Costa
592606b79c first move, then leave, when forcing dragLeave animation. This avoids glitch at shrinking active tab
svn path=/trunk/KDE/kdebase/workspace/; revision=1049359
2009-11-15 06:32:34 +00:00
Hugo Pereira Da Costa
51374ce5db added a 50ms timer when creating drag to force animation when dragMove and dragLeave events are lost
svn path=/trunk/KDE/kdebase/workspace/; revision=1049358
2009-11-15 06:28:40 +00:00
Hugo Pereira Da Costa
d5cf53c828 revert back to not starting animation in mouseMoveEvent: it creates more glitches
svn path=/trunk/KDE/kdebase/workspace/; revision=1049354
2009-11-15 05:11:58 +00:00
Hugo Pereira Da Costa
4f49140a94 start drag animation immediately in mouseMoveEvent, rather than waiting for dragMove/dragLeave event. Removed some obsolete commented lines. Removed useless Oxygen:: namespace prefix
svn path=/trunk/KDE/kdebase/workspace/; revision=1049351
2009-11-15 04:49:23 +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
Hugo Pereira Da Costa
3c63918fd5 removed useless active flag from 'titlebarcontrastcolor'
svn path=/trunk/KDE/kdebase/workspace/; revision=1048900
2009-11-14 05:19:40 +00:00
Hugo Pereira Da Costa
9ff89e1768 Added contrast pixel on titlebar text. This creates 'carved-in' font, as a possible replacement to bold.
Implemented after discussion with pinheiro.

svn path=/trunk/KDE/kdebase/workspace/; revision=1048886
2009-11-14 04:19:09 +00:00
Script Kiddy
ec0e2f0c63 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1048435
2009-11-13 10:25:37 +00:00
Thomas Lübking
38f367367c allow custom mirror colors
svn path=/trunk/KDE/kdebase/workspace/; revision=1047800
2009-11-12 09:01:09 +00:00
Jacopo De Simoi
6317e2ef3a We still need to add the repaints, but first check if it is indeed the case
svn path=/trunk/KDE/kdebase/workspace/; revision=1047737
2009-11-11 23:37:40 +00:00
Hugo Pereira Da Costa
f08d982b15 - made distance between window border and first button smaller by 2 pixels
- set default spacing between buttons to 3 pixels
- added 'hidden' option to disable the above
- removed extra spacing before close button in default button layout, since the 3 
pixels above should be enough

svn path=/trunk/KDE/kdebase/workspace/; revision=1047309
2009-11-10 23:11:08 +00:00
Script Kiddy
bc0a26288f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1047028
2009-11-10 10:19:04 +00:00
Hugo Pereira Da Costa
92a21a8ee2 fixed bug on bottom border when window is maximized
svn path=/trunk/KDE/kdebase/workspace/; revision=1046964
2009-11-10 02:44:19 +00:00
Script Kiddy
be610ef415 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1046618
2009-11-09 10:33:21 +00:00
Martin Gräßlin
a821ffe7c4 Coding style
SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1046510
2009-11-08 22:27:37 +00:00
Martin Gräßlin
88c7f69708 Aurorae supports border sizes.
svn path=/trunk/KDE/kdebase/workspace/; revision=1046472
2009-11-08 20:35:34 +00:00
Jacopo De Simoi
71a73acae8 Avoids a nasty race condition that caused corrupted window decorations
BUG:199735


svn path=/trunk/KDE/kdebase/workspace/; revision=1046461
2009-11-08 19:47:58 +00:00
Martin Gräßlin
8b3cb14094 Adding a proxy effect to BoxSwitch and using it in CoverSwitch to render the additional thumbnail bar.
By that removing lots of duplicated code from CoverSwitch.

svn path=/trunk/KDE/kdebase/workspace/; revision=1046395
2009-11-08 16:42:13 +00:00