Martin Gräßlin
d651d18791
Correctly manage windows on all desktops when using present windows in desktop grid.
...
That is remove the window from all desktops on drag begin and attach the window to the mouse cursor. On release add them back to all desktop.
That way it's possible to move pinned windows to other screens and it fixes a crash.
BUG: 220582
svn path=/trunk/KDE/kdebase/workspace/; revision=1068482
2010-01-01 11:04:27 +00:00
Martin Gräßlin
b5d60c4711
Correctly compare number of desktops. That fixes a problem that you couldn't click on a window on the last desktop in desktop grid.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1068406
2010-01-01 10:24:20 +00:00
Martin Gräßlin
11d53b7b09
Add a safety check to desktop grid for the case that you click on an area where there is no desktop.
...
That case needs some more improvement as it zooms to the black area and suddenly replaces the screen with the actual windows.
BUG: 219721
svn path=/trunk/KDE/kdebase/workspace/; revision=1065215
2009-12-22 19:02:51 +00:00
Martin Gräßlin
5f6a6cac67
Show minimized windows in desktop grid with present windows and fade them in/out during the start animation.
...
BUG: 219595
svn path=/trunk/KDE/kdebase/workspace/; revision=1064812
2009-12-21 21:04:18 +00:00
Martin Gräßlin
21821f48a4
Less krazy warnings: use prefix ++ instead of postfix.
...
SVN_SILENT
svn path=/trunk/KDE/kdebase/workspace/; revision=1063341
2009-12-17 21:35:37 +00:00
Lucas Murray
c28ed5eeed
Make desktop grid window tabbing safe.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1062594
2009-12-15 10:06:39 +00:00
Martin Gräßlin
a60de51d6a
Change the mouse cursor in desktop grid on start of dragging (after dnd delay) and not when pressing the mouse button.
...
That should help to indicate the difference between click and drag.
BUG: 211041
svn path=/trunk/KDE/kdebase/workspace/; revision=1062475
2009-12-14 21:28:24 +00:00
Martin Gräßlin
165e2edb08
I think moving windows to another desktop in desktop grid should not activate them. But just clicking on them should activate them.
...
BUG: 211546
svn path=/trunk/KDE/kdebase/workspace/; revision=1059393
2009-12-06 14:22:57 +00:00
Martin Gräßlin
2ff73028a0
Make it possible to move windows across screens in desktop grid.
...
BUG: 213845
svn path=/trunk/KDE/kdebase/workspace/; revision=1051265
2009-11-19 08:34:28 +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
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
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
Martin Gräßlin
e49064c356
Check the dndEventDelay in Desktop Grid so that a click with moving does not move the window but activate the desktop.
...
BUG: 211041
svn path=/trunk/KDE/kdebase/workspace/; revision=1037445
2009-10-19 08:24:25 +00:00
Lucas Murray
20f1a79d04
Less warnings please.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1031490
2009-10-05 09:47:13 +00:00
Lucas Murray
ca9df8caae
Add window snapping to the desktop grid effect.
...
Patch by Caio Marcelo de Oliveira Filho.
FEATURE: 188743
svn path=/trunk/KDE/kdebase/workspace/; revision=1031428
2009-10-05 04:06:20 +00:00
Lucas Murray
31e52fd9ac
Activate the desktop under the mouse cursor instead of the highlighted
...
one in the Desktop Grid effect.
BUG: 207271
svn path=/trunk/KDE/kdebase/workspace/; revision=1030940
2009-10-03 15:00:20 +00:00
Lucas Murray
da37b1f16d
Don't const effect proxies.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1018656
2009-09-02 02:30:22 +00:00
Thomas Lübking
5522bc2e0e
add feature: move (swap) desktops
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1015448
2009-08-25 14:34:40 +00:00
Martin Gräßlin
70dfff75e8
Only show cross cursor in desktop grid when clicking on a movable window.
...
CCBUG: 204571
svn path=/trunk/KDE/kdebase/workspace/; revision=1013898
2009-08-21 07:03:33 +00:00
Adriaan de Groot
76a819be63
Disambiguate std::sqrt
...
svn path=/trunk/KDE/kdebase/workspace/; revision=959929
2009-04-27 15:13:18 +00:00
Martin Gräßlin
93196e8a99
Allow moving of maximized windows to another desktop in desktop grid. As there is no real visual feedback the cursor is changed to the moving one.
...
FEATURE: 153931
svn path=/trunk/KDE/kdebase/workspace/; revision=950718
2009-04-07 16:10:29 +00:00
Martin Gräßlin
69b8e33fce
Check for the global shortcut in the effects so that the shortcut actually toggles the effect. This is a workaround needed because the keyboard grab disables the global shortcut.
...
FEATURE: 156155
svn path=/trunk/KDE/kdebase/workspace/; revision=946787
2009-03-30 11:27:57 +00:00
Martin Gräßlin
92484573f2
Effects can be activated at more than one electric border.
...
FEATURE: 180548
svn path=/trunk/KDE/kdebase/workspace/; revision=946404
2009-03-29 12:57:20 +00:00
Lucas Murray
1e91a66fd2
Added support for unstyled and frameless EffectFrames. Converted all
...
effects that display text or boxes to use the class. Minor speed
increase in XRender mode for those effects and a massive increase in
OpenGL mode (Double framerate in present windows in my case).
svn path=/trunk/KDE/kdebase/workspace/; revision=929951
2009-02-22 13:04:16 +00:00
Lucas Murray
dd28e15a1b
Allow desktop effects to access the new DesktopLayout class. Replaced
...
all code that used calcDesktopLayout() so the function could be removed.
Minor changes to the DesktopLayout class itself.
svn path=/trunk/KDE/kdebase/workspace/; revision=925930
2009-02-14 14:49:46 +00:00
Lucas Murray
c493623f7a
Only activate windows in desktop grid if the user moves them and prevent
...
moving of minimized windows. Also fixes activating of minimized windows
in desktop grid by clicking where they were when they were visible.
BUG: 179938
svn path=/trunk/KDE/kdebase/workspace/; revision=924118
2009-02-10 07:02:19 +00:00
Lucas Murray
fef063cf46
Ensure to highlight the correct desktop back in if the desktop grid was
...
deactivated by pressing ESC or by using an electric border.
svn path=/trunk/KDE/kdebase/workspace/; revision=922144
2009-02-06 14:31:54 +00:00
Lucas Murray
81ffa5aec9
Raise electric border windows when an effect mouse input window is
...
created to allow effects to be toggled by active screen edges.
svn path=/trunk/KDE/kdebase/workspace/; revision=922121
2009-02-06 14:21:20 +00:00
Lucas Murray
a1c82cd52b
Added support for inter-effect communication through the use of proxy
...
classes. Example code has been added to present windows and desktop
grid, if this code is not to be used by KDE 4.3 it should be removed and
added to a test effect instead.
svn path=/trunk/KDE/kdebase/workspace/; revision=922039
2009-02-06 10:15:06 +00:00
Lucas Murray
846496d2c1
Cleaned up the effects/ directory by moving each individual effect into
...
its own directory, cleaned up the effect config macros and renamed
"MakeTransparent" to "Translucency" so that it matches its visible name.
svn path=/trunk/KDE/kdebase/workspace/; revision=921749
2009-02-05 15:35:38 +00:00