Lucas Murray
6d41a1320e
Moved all debug, warning and error messages into the KWin 1212 area.
...
Replaced deprecated kdDebug() with kDebug().
Removed empty debug messages.
svn path=/trunk/KDE/kdebase/workspace/; revision=885620
18 years ago
Jason vanRijn Kasper
fb0a01228f
This change allows KWin to use the new NETWinInfo2 class (binary
...
compatibility class) and subsequently properly handle the
_NET_WM_FULLSCREEN_MONITORS EWMH spec hint.
svn path=/trunk/KDE/kdebase/workspace/; revision=885362
18 years ago
Guillaume Pothier
f780e8b68b
Kephalized plasma and kwin: replaced usage of QDesktopWidget by Kephal
...
svn path=/trunk/KDE/kdebase/workspace/; revision=884482
18 years ago
Laurent Montel
5535a9de5e
Fix iterator
...
svn path=/trunk/KDE/kdebase/workspace/; revision=883047
18 years ago
Luboš Luňák
08571b2f52
Do not use 'assert( false )', with NDEBUG that is a no-op and
...
results in warnings about missing return.
svn path=/trunk/KDE/kdebase/workspace/; revision=861879
18 years ago
Lucas Murray
cc6e98cec9
If restoring a window that was maximized on a different screen don't restore to the old screen.
...
BUG: 169928
svn path=/trunk/KDE/kdebase/workspace/; revision=853323
18 years ago
Luboš Luňák
14ae8d2dc9
Support for unredirecting fullscreen windows, i.e. games etc. can paint directly
...
and not be slowed down by going through compositing. Turned on and no UI option
in the naive hope that it won't cause any real problems. Maybe effects doing
window previews should get API to suspend unredirect though.
svn path=/trunk/KDE/kdebase/workspace/; revision=851742
18 years ago
Luboš Luňák
818070d3aa
Keep fullscreen windows covering the whole screen when it is the topmost
...
window on its xinerama screen.
FEATURE: 126817
svn path=/trunk/KDE/kdebase/workspace/; revision=851204
18 years ago
Lucas Murray
637f1dacb7
Fix off-by-one error in window corner snapping when resizing
...
svn path=/trunk/KDE/kdebase/workspace/; revision=840691
18 years ago
Luboš Luňák
e7b73e9e5f
Fix indentation.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=839198
18 years ago
Luboš Luňák
62140fa26b
Fix out-of-bounds array access when increasing screen count with randr1.2.
...
BUG: 163045
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=839193
18 years ago
Luboš Luňák
1802a82513
Fix out-of-bounds array access when increasing screen count with randr1.2.
...
BUG: 163045
svn path=/trunk/KDE/kdebase/workspace/; revision=839192
18 years ago
Lucas Murray
0581746327
Allow moving of maximized windows across screens
...
BUG: 131299
svn path=/trunk/KDE/kdebase/workspace/; revision=837644
18 years ago
Lucas Murray
e1683ef06f
Snap to window corners.
...
BUG: 130452
svn path=/trunk/KDE/kdebase/workspace/; revision=837640
18 years ago
Lucas Murray
79a8f87268
Fix center snapping algorithm for unrestricted moves
...
Also don't snap when another snap zone is closer
svn path=/trunk/KDE/kdebase/workspace/; revision=837639
18 years ago
Lucas Murray
f01bfcc62b
Added center snap zone to windows.
...
BUG: 133637
svn path=/trunk/KDE/kdebase/workspace/; revision=830029
18 years ago
Luboš Luňák
7453006a5d
Make sure the geometry tip is visible.
...
BUG: 163997
svn path=/trunk/KDE/kdebase/workspace/; revision=822551
18 years ago
Luboš Luňák
10af64fc67
Compute workarea diffs right when setting geometry, not delayed.
...
Fixes e.g. 'Move Window to Next Screen' shortcut.
BUG: 163051
svn path=/trunk/KDE/kdebase/workspace/; revision=815700
18 years ago
Luboš Luňák
22b3584b8d
When trying to keep a window fully inside an area, shrink if necessary and possible.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=814467
18 years ago
Luboš Luňák
fb1827d124
Replace -1 with active screen in clientArea() if needed.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=810009
18 years ago
Aike J. Sommer
2cfa81c2fc
Allow desktop-type windows to only span one xrandr/mergedfb/xinerama-screen instead of all screens combined.
...
Forgot to remove QDesktopWidget includes, sorry!
svn path=/trunk/KDE/kdebase/workspace/; revision=803353
18 years ago
Aike J. Sommer
1819ad69b2
Allow desktop-type windows to only span one xrandr/mergedfb/xinerama-screen instead of all screens combined.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=803349
18 years ago
Luboš Luňák
26b79d9177
Use QVector instead of plain-C-error-prone-memory-leaking arrays.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=798503
18 years ago
Luboš Luňák
e7c88f309d
Reduce the difference between noborder requested by the application
...
and set by the user - they're now interchangeable. Which means
that Alt+F3/Advanced/No border can put the window decoration
back on the KRunner window regardless of what Plasma or any other
app thinks.
svn path=/trunk/KDE/kdebase/workspace/; revision=788964
18 years ago
Luboš Luňák
38291eb82c
Make border sizes while maximizing take effect even when the actual
...
geometry does not change.
BUG: 158252
svn path=/trunk/KDE/kdebase/workspace/; revision=787741
18 years ago
Bill Egert
c12a07e11a
Update QRect stuffs.
...
intersect() => intersected()
addCoords() => adjust()
coords() => getCoords()
moveBy() => translate()
rect() => getRect()
svn path=/trunk/KDE/kdebase/runtime/kstyles/; revision=776918
18 years ago
Luboš Luňák
d40cbd887a
Handle correctly the case when maximization changes in both direction
...
in opposite ways.
BUG: 153970
svn path=/trunk/KDE/kdebase/workspace/; revision=762644
18 years ago
Luboš Luňák
5c7798c884
Make maximizing change full->vertical/horizontal work
...
if there's no saved restore geometry.
svn path=/trunk/KDE/kdebase/workspace/; revision=762640
18 years ago
Luboš Luňák
a30d1ee6ad
Call updateShape() unconditionally, it checks itself for shape presence
...
and also handles input shape, about which shape() call doesn't say anything.
BUG: 152809
svn path=/trunk/KDE/kdebase/workspace/; revision=749695
19 years ago
Rivo Laks
491445fb65
Add repaint for the new position of the window as well.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=742661
19 years ago
Luboš Luňák
2de13954d1
Ensure forced position really takes place.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=742658
19 years ago
Luboš Luňák
4dc72ace64
Detect when enforcing position fails.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=742656
19 years ago
Luboš Luňák
01bf6cbb4c
License cleanup - add headers where missing, be explicit about GPL
...
being v2+ (right now it says just GPL, which according to GPL itself
means any GPL). Decoration clients will come later.
CCMAIL: kwin@kde.org
svn path=/trunk/KDE/kdebase/workspace/; revision=742302
19 years ago
Luboš Luňák
ab70575d1f
Make the outline for moving/resizing work with Qt4, which bothers
...
to support XOR painting only when XRender is available. Given that
outline should be mainly used with older systems, go for a DIY Xlib-based
solution. Needs changes in decorations using it.
BUG: 149997
svn path=/trunk/KDE/kdebase/workspace/; revision=739136
19 years ago
Laurent Montel
994c800d79
Adapt to new KWarning/kFatal/kDebug api
...
svn path=/trunk/KDE/kdebase/workspace/; revision=695877
19 years ago
Luboš Luňák
ab1582de27
It's really interesting that KWin has had support for an arbitrary root
...
window, but I don't think it really works these days, and it's probably
also not useful at all.
svn path=/trunk/KDE/kdebase/workspace/; revision=689949
19 years ago
Luboš Luňák
162d6ac7c9
Support for _NET_WM_SYNC_REQUEST, based on a patch
...
by Rayiner Hashem <gtg990h@mail.gatech.edu>.
svn path=/trunk/KDE/kdebase/workspace/; revision=679986
19 years ago
Luboš Luňák
ef59c8956a
When doing a forced geometry update while updates are suspended, remember to force the geometry
...
update when resuming.
svn path=/trunk/KDE/kdebase/workspace/; revision=677635
19 years ago
Pino Toscano
38267e8ac6
less qt3support
...
svn path=/trunk/KDE/kdebase/workspace/; revision=672194
19 years ago
Luboš Luňák
61ada25cdf
Rework r293762 - enter move/resize mode also when the user just
...
holds the mouse button down for a moment, without moving.
svn path=/trunk/KDE/kdebase/workspace/; revision=667351
19 years ago
Luboš Luňák
02405eccd7
Set active Xinerama screen when moving.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=662863
19 years ago
Luboš Luňák
1dd1daec48
Shortcuts for switching and moving windows between Xinerama screens.
...
CCBUG: 80755
svn path=/trunk/KDE/kdebase/workspace/; revision=662089
19 years ago
Luboš Luňák
d510baf365
Option for separating focus between Xinerama screens.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=662065
19 years ago
Luboš Luňák
7a0f50b298
KWM->KWindowSystem
...
svn path=/trunk/KDE/kdebase/workspace/; revision=659662
19 years ago
Luboš Luňák
70e0c099d8
Merging from old trunk:
...
r625469 | hermier | 2007-01-20 10:56:57 +0100 (Sat, 20 Jan 2007) | 1 line
#625468 ported to KDE4
svn path=/trunk/KDE/kdebase/workspace/; revision=659525
19 years ago
Luboš Luňák
176f0e39ce
Merging from old trunk:
...
r608815 | lunakl | 2006-11-28 15:15:38 +0100 (Tue, 28 Nov 2006) | 4 lines
Confine mouse to the screen when doing move/resize.
(BUG: 88506)
svn path=/trunk/KDE/kdebase/workspace/; revision=659466
19 years ago
Luboš Luňák
5feb577369
Merging from old trunk:
...
r571712 | lunakl | 2006-08-10 15:15:16 +0200 (Thu, 10 Aug 2006) | 3 lines
Support for input shape from XShape1.1 (#122425 ).
svn path=/trunk/KDE/kdebase/workspace/; revision=659272
19 years ago
Luboš Luňák
f52b8e48cd
branches/work/kwin_composite becomes new trunk kwin.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
19 years ago
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
19 years ago
Luboš Luňák
e1406c3e42
Utility function for XGrabKeyboard().
...
svn path=/branches/work/kwin_composite/; revision=654227
19 years ago