Commit graph

279 commits

Author SHA1 Message Date
Cristian Tibirna
05129f3b19 CT: fix for gravitate moving non-NW windows on session restore. Many thanks to Matthias Ettrich for saving my day
svn path=/trunk/kdebase/kwin/; revision=140048
2002-03-02 01:34:31 +00:00
Matthias Ettrich
c33c06217d do not do the stackUnder magic when restoring the session
svn path=/trunk/kdebase/kwin/; revision=139918
2002-03-01 16:28:32 +00:00
Matthias Ettrich
324dc14432 handle inner-application dialogs more safely
svn path=/trunk/kdebase/kwin/; revision=139914
2002-03-01 16:21:38 +00:00
Luboš Luňák
d0dc9e979d Make Alt+left mouse move windows only when no other keyboard modifier is
pressed.

svn path=/trunk/kdebase/kwin/; revision=139841
2002-03-01 11:11:31 +00:00
Matthias Ettrich
f55f2682cf make kwintv happy: send synthetic configure notify events when
doing opaque moves

svn path=/trunk/kdebase/kwin/; revision=139708
2002-03-01 00:43:29 +00:00
Matthias Ettrich
e34a6ee283 second half of the "avoid stealing focus if possible" fix
svn path=/trunk/kdebase/kwin/; revision=139642
2002-02-28 22:11:43 +00:00
Cristian Tibirna
7d50916939 CT: fix moving with all mouse buttons for ClickToFocus
svn path=/trunk/kdebase/kwin/; revision=139639
2002-02-28 22:08:07 +00:00
Cristian Tibirna
b1707e20c1 CT: fix a stupid jdk-1.3.1 bug. When hiding a dialog and showing it again, the dialog was gaining iconic state.
svn path=/trunk/kdebase/kwin/; revision=139610
2002-02-28 20:29:13 +00:00
Cristian Tibirna
f13d425d59 CT: closes #38320 (I didn't manage to reproduce it though)
svn path=/trunk/kdebase/kwin/; revision=139498
2002-02-28 15:41:22 +00:00
Luboš Luňák
883950b506 #15829 and #15741
svn path=/trunk/kdebase/kwin/; revision=139496
2002-02-28 15:39:40 +00:00
George Staikos
1cde570a88 Fix behaviour of windows when changing styles on Xinerama. Now they don't
magically fly to other screens.

svn path=/trunk/kdebase/kwin/; revision=139300
2002-02-28 00:43:23 +00:00
Matthias Ettrich
7686ee5f9a almost flicker-free style switches (behind the curtain, at least ;-)
svn path=/trunk/kdebase/kwin/; revision=139288
2002-02-27 23:02:40 +00:00
Cristian Tibirna
e953d5e559 CT: move window by titlebar with any mouse button (approved by Matthias Ettrich)
svn path=/trunk/kdebase/kwin/; revision=139239
2002-02-27 21:01:01 +00:00
Luboš Luňák
6d3a097842 Fix #16742 .
svn path=/trunk/kdebase/kwin/; revision=139224
2002-02-27 20:32:49 +00:00
Luboš Luňák
64901d9315 Call setShade() after maximize() when restoring windows ( maximize() calls
setShade( false ) ). Fixes #38700 and #36995 .

svn path=/trunk/kdebase/kwin/; revision=138771
2002-02-26 17:30:33 +00:00
Matthias Ettrich
8c368ed7bb support the ksmserver fix: treat fullscreen windows that explicitely
ask for stays-on-top slightly different (meaning to not lower them when
another window gets activated)

svn path=/trunk/kdebase/kwin/; revision=134903
2002-02-01 11:51:40 +00:00
Matthias Ettrich
1c3a77ac96 set (and reset) the right mouse cursor when resizing with Alt-RMB shortcuts
svn path=/trunk/kdebase/kwin/; revision=132928
2002-01-21 15:34:15 +00:00
Ellis Whitehead
f15d5c7205 Clean-up wrt KKeyNative.
svn path=/trunk/kdebase/kwin/; revision=132461
2002-01-19 04:53:13 +00:00
Dirk Mueller
375f175fbb CVSSILENT: fixincludes
svn path=/trunk/kdebase/khotkeys/; revision=129081
2001-12-29 17:33:05 +00:00
Ellis Whitehead
0fa8002e0d Updates necessary for changes made in the K*Accel* and KKey* classes.
svn path=/trunk/kdebase/kcontrol/; revision=129003
2001-12-29 04:19:24 +00:00
Carsten Pfeiffer
cc92607174 allow dialogs to be maximized.
fixes #17564 and #30326

svn path=/trunk/kdebase/kwin/; revision=121879
2001-11-11 18:39:07 +00:00
Waldo Bastian
2076b00f61 Make active borders working when moving a window.
Make it configurable (disabled, only when moving, always enabled)

svn path=/trunk/kdebase/kwin/; revision=120497
2001-11-03 00:05:33 +00:00
Fredrik Höglund
7497342101 Made KWin compile when QT_NO_COMPAT is defined.
svn path=/trunk/kdebase/kwin/; revision=115985
2001-09-30 21:22:20 +00:00
Ellis Whitehead
0223deb116 Call string <=> key conversion functions in KKey & KKeyX11 instead of KAccel
svn path=/trunk/kdebase/kcontrol/; revision=115761
2001-09-28 12:31:48 +00:00
Waldo Bastian
8f1f5f1b45 * Clean up move/resize code.
* Make moving/resizing work with keyboard.

svn path=/trunk/kdebase/kwin/; revision=113548
2001-09-06 22:54:31 +00:00
Matthias Ettrich
827e9b92be completed fullscreen fix
svn path=/trunk/kdebase/kwin/; revision=113471
2001-09-06 09:21:19 +00:00
Matthias Ettrich
9388aeba3d fixed maximization handling
svn path=/trunk/kdebase/kwin/; revision=113436
2001-09-05 20:40:04 +00:00
Waldo Bastian
83cbfe3acb Window follows mind^H^H^H^Hdesktop.
svn path=/trunk/kdebase/kwin/; revision=112163
2001-08-27 23:56:15 +00:00
Waldo Bastian
1fe4d5fbff This supposed "safety check" doesn't work. Do the "Right Thing" instead.
-    if (workspace()->activeClient() == this)
-       workspace()->setFocusChangeEnabled(true); // Safety
+    if (moveResizeMode)
+       workspace()->setFocusChangeEnabled(true);

svn path=/trunk/kdebase/kwin/; revision=112142
2001-08-27 21:16:39 +00:00
Simon Hausmann
c8f1508b36 - moved netwm.h inclusions after indirect qvariant.h inclusions
(fixes Bool clash)
- missing includes (qcursor,qstyle,qpainter,qvaluelist)
- minor qstyle api fixlet

svn path=/trunk/kdebase/kwin/; revision=110958
2001-08-18 23:06:16 +00:00
Matthias Ettrich
18c0f2687a fixed bug 19369@bugs.kde.org
svn path=/trunk/kdebase/kwin/; revision=109466
2001-08-07 09:21:09 +00:00
Matthias Ettrich
c130a8cb4d CurrentTime instead of kwin_time to help David's laptop. Does this help?
svn path=/trunk/kdebase/kwin/; revision=104405
2001-06-29 11:55:24 +00:00
Matthias Ettrich
b7b0f427b0 made full_screen windows work again (there's now a namespace around
NoBorderClient) and define them to stay on top (works now with qt 2.3.1 as
well)

svn path=/trunk/kdebase/kwin/; revision=103793
2001-06-25 15:52:58 +00:00
bhughes
934bd760cb compile fixes for FreeBSD
svn path=/trunk/kdebase/ksysguard/; revision=103271
2001-06-21 08:46:44 +00:00
Matthias Ettrich
6413e1dd8f Fixed hanging Alt-Tab under heavy load (Part II, first part was in
kdelibs/kdecore/kglobalaccel.cpp)

svn path=/trunk/kdebase/kwin/; revision=102912
2001-06-18 20:18:32 +00:00
Ellis Whitehead
a9c55776ae KAccel: allow for 4-modifier setup defaults, check whether Qt supports the
Meta key.

KGlobalAccel: improve X key ungrabbing for key map changes.

KKeyDialog: Allow caller to specify whether normal keys (i.e., 'A', 'B') can
be used as shortcuts and whether the Meta key can be used in a shortcut.

KeyConfog: Add support for a second default configuration. Add support for a
user with a Meta key not to default to 4-modifier setup (not yet working
completely).

Workspace: Added 'Window iconify all'.  Still speed work -- best might be to
merge this with 'Show Desktop'

kcontrol/keys/main.cpp: a bit of capitalization

kcontrol/kwm/mouse, kwin/client, kwin/options: Let user use Meta key for
window resizing/moving/etc

*bindings.cpp: add 4-modifier setup defaults

svn path=/trunk/kdebase/kcontrol/; revision=100877
2001-06-07 18:17:24 +00:00
Luboš Luňák
7afe6d11c7 Reverting r1.242 - WM_NAME is ICCCM, not NET_WM , and it's not UTF8.
svn path=/trunk/kdebase/kwin/; revision=100452
2001-06-04 21:55:14 +00:00
Stephan Kulow
b16109eb07 NET_WM saves in utf-8:
-               s = QString::fromLocal8Bit( (const char*) tp.value );
+               s = QString::fromUtf8( (const char*) tp.value );

svn path=/trunk/kdebase/kwin/; revision=99426
2001-05-30 09:38:18 +00:00
Luboš Luňák
e0dbc88040 Implemented NET::SkipPager in kwin, kpager, the pager applet and kstart.
Not that I really understand why's there both SkipTaskbar and SkipPager ...

svn path=/trunk/kdebase/kwin/; revision=94832
2001-05-02 20:37:30 +00:00
Luboš Luňák
4eb2dfa0ee shadeChange() ( for the icewm plugin )
svn path=/trunk/kdebase/kwin/; revision=94149
2001-04-27 08:38:44 +00:00
Luboš Luňák
18d2c93cea Added private data pointer members to classes which might be accessed
by style plugins ( KWin has to keep BC for these ). I hope these are
all classes that need it.
And of course, this change is not binary compatible, but it fortunately
doesn't matter much for KWin these days.

svn path=/trunk/kdebase/kwin/; revision=90127
2001-04-03 14:40:34 +00:00
Luboš Luňák
6261311a69 I think I've finally found the right place for the propagateClients() call.
Now KWinModule will emit windowAdded() after all properties are set
correctly, but still before activeWindowChanged().
If it breaks something, beat me.

svn path=/trunk/kdebase/kwin/; revision=90016
2001-04-02 22:12:54 +00:00
Adriaan de Groot
b90a69abc9 Add support for [MR]MB-n-titlebar windowshade
svn path=/trunk/kdebase/kcontrol/; revision=89895
2001-04-02 08:31:58 +00:00
Matthias Ettrich
57e86d69be pretend to be CDE to improve interoperability with Sun's latest JDK.
svn path=/trunk/kdebase/kwin/; revision=89307
2001-03-29 17:21:53 +00:00
Matthias Ettrich
9547820ecc re-enabled the nice feature that Alt-Tab and Ctrl-Tab won't do anything
if there are popup windows open (that is, if we cannot obtain a mouse pointer
grab). Avoids "hanging" Window or Desktop boxes.

This broke when the (otherwise very nice) transition to KGlobalAccel was
introduced.

svn path=/trunk/kdebase/kwin/; revision=89105
2001-03-28 12:44:31 +00:00
Matthias Ettrich
74b28e4418 better to send some anyway
svn path=/trunk/kdebase/kwin/; revision=88714
2001-03-26 08:31:54 +00:00
Matthias Ettrich
5cf8a3c9fd some attempts to fix Sun's latest Java, no success so far. Giving up.
svn path=/trunk/kdebase/kwin/; revision=88713
2001-03-26 08:10:31 +00:00
Matthias Ettrich
68285bb415 treat "AWTapp" special: obey xSizeHint.x/y
svn path=/trunk/kdebase/kwin/; revision=87985
2001-03-20 21:05:57 +00:00
Leon Bottou
41e4bffe40 Removed possibility of X errors in the Client::staticXXXX() functions.
Cosmetic changes to Workspace::storeLegacySession().

svn path=/trunk/kdebase/kwin/; revision=87983
2001-03-20 20:48:40 +00:00
Waldo Bastian
00eb8e6c57 Fix for --enable-final
svn path=/trunk/kdebase/kwin/; revision=87826
2001-03-19 21:03:44 +00:00