Luboš Luňák
1fab5c76ce
NET::Menu -> NET::TopMenu, and make NET::Menu mean what it is supposed to mean.
...
+ backward compatibility hack
svn path=/trunk/kdebase/kwin/; revision=165076
2002-07-05 20:05:22 +00:00
Luboš Luňák
6d7f113304
Implemented _NET_WM_MOVERESIZE.
...
Fixed some minor bugs with resizing.
svn path=/trunk/kdebase/kwin/; revision=165071
2002-07-05 20:00:02 +00:00
Cristian Tibirna
9b03ba50c2
CT: two new non-placement policies. No GUI config.
...
Edit kwinrc and use either of:
Placement=StupidlyCentered
Placement=StupidlyZeroCornered
and then, at a prompt:
dcop kwin KWinInterface reconfigure
svn path=/trunk/kdebase/kwin/; revision=163755
2002-06-29 06:31:33 +00:00
Anders Widell
f1638b1238
Fixed null pointer segfault
...
svn path=/trunk/kdebase/kwin/; revision=158475
2002-05-29 19:11:01 +00:00
Matthias Ettrich
509022ea62
be less agressive in not stealing focus. This makes xv (among others)
...
usable with KDE again
svn path=/trunk/kdebase/kwin/; revision=149865
2002-04-16 19:23:45 +00:00
Stephan Kulow
c19eca1a32
rearranged bit field initialization, so valgrind has not to guess
...
svn path=/trunk/kdebase/kwin/; revision=143392
2002-03-17 13:32:05 +00:00
Cristian Tibirna
e517337e8d
CT: in show(), unshade only when deiconifying. Fixes #38983
...
svn path=/trunk/kdebase/kwin/; revision=141328
2002-03-06 11:20:13 +00:00
Cristian Tibirna
d546d25e68
CT: - consistently maximize (and unshade) and restore (and unshade) shaded windows
...
- don't allow resizing of shaded windows
- unshade windows on minimize
- clean up an unused method
svn path=/trunk/kdebase/kwin/; revision=140800
2002-03-04 02:20:26 +00:00
Stephan Kulow
cc754a1eb1
reset user time stamp on withdraw (makes reuse of dialogs possible). Great stuff!
...
svn path=/trunk/kdebase/kwin/; revision=140743
2002-03-03 23:12:51 +00:00
Cristian Tibirna
186b4b54ac
CT: no electric borders when resizing. Done by Matthias Ettrich, reviewed and tested by me.
...
svn path=/trunk/kdebase/kwin/; revision=140610
2002-03-03 16:30:33 +00:00
Cristian Tibirna
daee285811
CT: abort moving with Escape. Reviewed by M.Ettrich
...
svn path=/trunk/kdebase/kwin/; revision=140567
2002-03-03 13:59:50 +00:00
Cristian Tibirna
efb48f70ef
CT: fix my fix for Ctrl+ArrowKeys moving. Reviewed by Matthias Ettrich
...
svn path=/trunk/kdebase/kwin/; revision=140544
2002-03-03 12:39:31 +00:00
Cristian Tibirna
e5e8ee00c1
CT: fix compilation
...
svn path=/trunk/kdebase/kwin/; revision=140438
2002-03-03 04:02:11 +00:00
Cristian Tibirna
e0a42fc063
CT: fix the move with keyboard with Ctrl (smaller steps).
...
Add the missing signal in KWinInterface (to be used in the redesigned client notification)
svn path=/trunk/kdebase/kwin/; revision=140436
2002-03-03 03:31:52 +00:00
Cristian Tibirna
78dde9c675
CT: even better fix for bogus unshades during fast move
...
svn path=/trunk/kdebase/kwin/; revision=140397
2002-03-03 00:21:56 +00:00
Cristian Tibirna
bf0cffbf81
CT: fix bogus shades with hover_unshade and fast mouse moving.
...
svn path=/trunk/kdebase/kwin/; revision=140376
2002-03-02 23:23:52 +00:00
Matthias Ettrich
5af9e44aa6
be more conservative with not stealing focus, basically do not not steal
...
focus for transient windows.
There have been issues with some konqueror dialogs on some machines, and
this is the safest solution for now.
svn path=/trunk/kdebase/kwin/; revision=140339
2002-03-02 21:18:45 +00:00
Matthias Ettrich
83f58ed248
gracefully handle more than one desktop client application (which
...
happens triggered by a kdesktop bug on David Faure's machine).
You can now launch additional desktop applications with
kstart --type Desktop konqueror
or
kstart --type Desktop konsole
and toggle between them with
dcop kwin default circulateDesktopApplications
svn path=/trunk/kdebase/kwin/; revision=140330
2002-03-02 21:03:49 +00:00
Matthias Ettrich
6c9397cc51
do not stack under desktops
...
svn path=/trunk/kdebase/kwin/; revision=140195
2002-03-02 15:00:59 +00:00
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
Matthias Ettrich
9b24d884bf
legacy session management support (WM_COMMAND) for emacs-lovers.
...
Many thanks to Leon Bottou <leonb@research.att.com> for this one.
svn path=/trunk/kdebase/kwin/; revision=87737
2001-03-19 15:35:07 +00:00
Matthias Ettrich
11f1ab2b60
reduce the number of X-errors. Thanks to Lars Hete for this one.
...
svn path=/trunk/kdebase/kwin/; revision=86918
2001-03-14 09:21:16 +00:00
Luboš Luňák
8b6478aeda
Applying #19154 ( together with #19158 fixes #13794 #17915 #17698 )
...
svn path=/trunk/kdebase/kwin/; revision=86664
2001-03-12 21:32:13 +00:00
Wilco Greven
002f6b83c9
Don't unshade shaded windows before minimizing.
...
svn path=/trunk/kdebase/kwin/; revision=85565
2001-03-06 09:17:43 +00:00
Thomas Leitner
26772fa04e
need to specify external references before the "using namespace" directive
...
to allow the linker to resove them!
svn path=/trunk/kdebase/kwin/; revision=83967
2001-02-22 09:45:19 +00:00
Matthias Ettrich
6b9f88256e
Index: client.cpp
...
===================================================================
RCS file: /home/kde/kdebase/kwin/client.cpp,v
retrieving revision 1.222
diff -d -u -r1.222 client.cpp
--- client.cpp 2001/02/19 12:17:03 1.222
+++ client.cpp 2001/02/21 13:39:25
@@ -1152,7 +1152,7 @@
if ( e.data.l[1] )
blockAnimation = TRUE;
iconify();
- } else if ( e.data.l[1] == NormalState && isIconified() ) {
+ } else if ( e.data.l[0] == NormalState && isIconified() ) {
if ( e.data.l[1] )
blockAnimation = TRUE;
// only show window if we're on current desktop
svn path=/trunk/kdebase/kwin/; revision=83908
2001-02-21 13:41:28 +00:00
Waldo Bastian
2f90225543
Put stuff in KWinInternal namespace.
...
Export client.h, workspace.h and options.h so that people can write plugins.
svn path=/trunk/kdebase/kwin/; revision=83707
2001-02-20 01:20:38 +00:00
Matthias Ettrich
5651bcb69d
reenabled maximize smartness
...
svn path=/trunk/kdebase/kwin/; revision=83642
2001-02-19 12:17:03 +00:00
Matthias Ettrich
aa219e51db
Fixed Antonio's focus follows mouse problem:
...
Index: main.cpp
===================================================================
RCS file: /home/kde/kdebase/kwin/main.cpp,v
retrieving revision 1.42
diff -r1.42 main.cpp
157a158,160
> case EnterNotify:
> case LeaveNotify:
> kwin_time = e->xcrossing.time;
svn path=/trunk/kdebase/kwin/; revision=83624
2001-02-19 09:27:26 +00:00
Waldo Bastian
6f55f7337a
Update icon when WMIcon changes.
...
svn path=/trunk/kdebase/kwin/; revision=83169
2001-02-16 20:58:33 +00:00
Daniel M. Duley
1bc44d136d
Commentting out evil maximize behavior ;-)
...
svn path=/trunk/kdebase/kwin/; revision=82564
2001-02-13 00:46:45 +00:00
Matthias Ettrich
3deaa52496
cooperate with qt-2.2.4 (the deadkey popup fix) and qt-copy.
...
Don't update the frame decoration if it didn't change, I don't want
flicker when changing the focus policy.
svn path=/trunk/kdebase/kwin/; revision=80891
2001-02-01 01:13:44 +00:00
bhughes
d3944b3934
allow kpager/kminipager to see window moves/resizes
...
@@ -1198,7 +1198,7 @@
c.width = windowWrapper()->width();
c.height = windowWrapper()->height();
c.border_width = 0;
- XSendEvent( qt_xdisplay(), c.event, TRUE, NoEventMask, (XEvent*)&c );
+ XSendEvent( qt_xdisplay(), c.event, TRUE, StructureNotifyMask, (XEvent*)&c );
}
svn path=/trunk/kdebase/kwin/; revision=80826
2001-01-31 15:14:40 +00:00
Matthias Ettrich
d2e0e0529b
disabled the special treatment of system-tray parents for iconify()
...
Reason: it didn't work. This is the least intrusive and cleanest fix for it.
svn path=/trunk/kdebase/kwin/; revision=79884
2001-01-24 16:47:44 +00:00
Matthias Ettrich
440ed4d27f
don't set framestrut on move, but on manage
...
svn path=/trunk/kdebase/kwin/; revision=78846
2001-01-18 16:21:00 +00:00
Matthias Ettrich
87b6129e3f
fixed small off-by-one error (shade/unshade)
...
svn path=/trunk/kdebase/kwin/; revision=78542
2001-01-17 11:40:25 +00:00
Matthias Ettrich
01241073b6
make xswallow work
...
svn path=/trunk/kdebase/kwin/; revision=78458
2001-01-16 21:29:36 +00:00
Matthias Elter
684fa4983f
void Client::setShade( bool s, int hus ):
...
+ if(!hus)
+ info->setState( shaded?NET::Shaded:0, NET::Shaded );
Actually tell the world that the client got (un)shaded.
svn path=/trunk/kdebase/kwin/; revision=78158
2001-01-15 13:25:39 +00:00
Matthias Ettrich
ef97333d15
small fix
...
svn path=/trunk/kdebase/kwin/; revision=78049
2001-01-14 20:48:00 +00:00
Matthias Ettrich
927ab8b735
make netwm dialogs movable and give them tab-focus
...
svn path=/trunk/kdebase/kwin/; revision=78045
2001-01-14 20:25:32 +00:00
Matthias Ettrich
e9d30a20d7
Balaji Ramani <balaji@spinnakernet.com>: shadeHover support
...
GUI: new operation popup item: "Store Settings"
svn path=/trunk/kdebase/kwin/; revision=78043
2001-01-14 20:16:04 +00:00
Waldo Bastian
54a5d1b900
Fix (t.i. update) taskbar window-titles when changing window-decorations.
...
svn path=/trunk/kdebase/kwin/; revision=77928
2001-01-14 06:24:49 +00:00
Matthias Ettrich
cf23bd927c
minor iconify/deiconify fix (previous commit broke w2k plugin)
...
svn path=/trunk/kdebase/kwin/; revision=77557
2001-01-12 01:20:07 +00:00
Matthias Ettrich
33f78a855b
some more keybindings
...
less race conditions with map/unmap thanks to BlackboxTechnology(tm)
svn path=/trunk/kdebase/kwin/; revision=77544
2001-01-11 23:41:07 +00:00
Matthias Ettrich
45f2bbd3d3
smarter autoRaise, wondering what it breaks this time
...
svn path=/trunk/kdebase/kwin/; revision=76893
2001-01-08 09:52:44 +00:00
Matthias Ettrich
a189cb2c45
some attempt for dirk
...
svn path=/trunk/kdebase/kwin/; revision=76503
2001-01-05 18:28:24 +00:00
Matthias Ettrich
4ec61ec284
small replay issue (exclude desktop and dock)
...
svn path=/trunk/kdebase/kwin/; revision=76122
2001-01-02 16:30:37 +00:00
Matthias Ettrich
c1eac4d5d0
hopefully less frame drawing
...
svn path=/trunk/kdebase/kwin/; revision=74802
2000-12-14 11:35:12 +00:00
Matthias Ettrich
ccc84f2cfe
some cleanups
...
svn path=/trunk/kdebase/kwin/; revision=73923
2000-12-08 11:57:09 +00:00
Matthias Ettrich
287b654d39
an attempt to reduce the slowliness of opaque resize with non-Qt application
...
svn path=/trunk/kdebase/kwin/; revision=73641
2000-12-06 15:03:59 +00:00
Matthias Ettrich
641b90f2fa
maximize stuff seems to work now
...
svn path=/trunk/kdebase/kwin/; revision=72980
2000-12-01 20:10:05 +00:00
Matthias Ettrich
c45c162ab0
some more maximize stuff .... I really need to test that myself...
...
svn path=/trunk/kdebase/kwin/; revision=72975
2000-12-01 18:27:26 +00:00
Matthias Ettrich
6babb311ca
more clever maximize(ver, hor, full) stuff
...
svn path=/trunk/kdebase/kwin/; revision=71188
2000-11-17 19:43:20 +00:00
Matthias Ettrich
40d428b47b
more masking
...
svn path=/trunk/kdebase/kwin/; revision=71173
2000-11-17 18:11:24 +00:00
Matthias Ettrich
5b8bc65b2b
more state/mask confusion
...
svn path=/trunk/kdebase/kwin/; revision=71153
2000-11-17 14:18:44 +00:00
Matthias Ettrich
9c5a135b26
fixed maximization once again
...
svn path=/trunk/kdebase/kwin/; revision=71051
2000-11-16 19:16:51 +00:00
Matthias Ettrich
258a7be78a
make kwin adjust to shape changes
...
svn path=/trunk/kdebase/kwin/; revision=71049
2000-11-16 19:08:05 +00:00
Matthias Ettrich
8fbc21d202
MouseActivateAndPassClick should not do raise
...
svn path=/trunk/kdebase/kwin/; revision=68949
2000-10-26 13:44:05 +00:00
Matthias Ettrich
2d59aac1c8
small fix for mac menu when using focus follows mouse (even though this
...
combination does not make sense at all)
svn path=/trunk/kdebase/kwin/; revision=68919
2000-10-26 08:26:05 +00:00
Matthias Ettrich
144182101d
configurable minimize animation
...
svn path=/trunk/kdebase/kwin/; revision=68794
2000-10-24 14:54:23 +00:00
Nikita V. Youshchenko
c88fc0bc77
Added "IgnorePositionClasses" configuration option to set X classes of windows for which PPosition hint should be ignored. This should lastly solve the invalid Motif windows placement problem
...
svn path=/trunk/kdebase/kwin/; revision=68724
2000-10-23 18:27:23 +00:00
Matthias Ettrich
7090777e51
reverted latest commit
...
svn path=/trunk/kdebase/kwin/; revision=68482
2000-10-21 14:26:05 +00:00
Nikita V. Youshchenko
bf97a2aeec
Applied motif windows placement workaround from kwm 1.1.2, and added a personal workaround for Netscape
...
svn path=/trunk/kdebase/kwin/; revision=68436
2000-10-20 21:28:43 +00:00
Matthias Ettrich
cbfa5b50d1
more sane "delete" and "transdelete" events (where missing in many
...
cases)
svn path=/trunk/kdebase/kwin/; revision=68283
2000-10-19 15:21:00 +00:00
Matthias Ettrich
80b57294e1
my "no unmanaged windows" fix broke the unminimize animation. Works now
...
again.
svn path=/trunk/kdebase/kwin/; revision=68107
2000-10-17 15:59:10 +00:00
Matthias Ettrich
0b4ba11c29
removed debug out, small fix for mac menu
...
svn path=/trunk/kdebase/kwin/; revision=68088
2000-10-17 13:09:59 +00:00
Matthias Ettrich
8ba0c8171f
fixed unmanaged windows on subsquent desktop switches
...
svn path=/trunk/kdebase/kwin/; revision=68087
2000-10-17 12:51:39 +00:00
Antonio Larrosa Jimenez
d5ff78e16d
Fixes the automatic resizing of windows to a 10x10 rectangle
...
when pressing Alt and clicking inside the window (just a click)
svn path=/trunk/kdebase/kwin/; revision=68059
2000-10-16 22:01:16 +00:00
Matthias Ettrich
26ee3808bd
make verifyTransient() more defensive to help mac menus
...
svn path=/trunk/kdebase/kwin/; revision=68012
2000-10-16 12:48:36 +00:00
Matthias Ettrich
caf8fda461
no weird desktop switching with race conditions when enabling the mac menu
...
svn path=/trunk/kdebase/kwin/; revision=68003
2000-10-16 12:08:54 +00:00
Matthias Ettrich
3c8525c963
fix auto raise once again
...
svn path=/trunk/kdebase/kwin/; revision=68000
2000-10-16 12:00:22 +00:00
Matthias Ettrich
1266db9901
fixed transient_for handling for embedded main windows
...
Patch reviewed by Lars.
svn path=/trunk/kdebase/kwin/; revision=67756
2000-10-15 14:19:15 +00:00
Rik Hemsley
6ff8139d9e
Making NETWinInfo visible.
...
It's actually a derived class, but we can safely static_cast it back
to NETWinInfo. Makes it easier for clients to use it.
svn path=/trunk/kdebase/kwin/; revision=67689
2000-10-14 23:44:24 +00:00
Matthias Ettrich
a0b6bdb956
don't minimize dialog boxes that have a managed parent.
...
Unify operation menu enabled settings with visible decorations.
svn path=/trunk/kdebase/kwin/; revision=67486
2000-10-13 15:37:07 +00:00
Matthias Ettrich
e21fa134ab
detail
...
svn path=/trunk/kdebase/kwin/; revision=66779
2000-10-08 13:43:12 +00:00
Matthias Ettrich
862b9d1e11
maximization handling improvements also in configureRequest. Now
...
QWidget::showMaximize(), QWidget::showNormal() work (same with other toolkits).
Removed some unnecessary warnings for debugging purposes.
svn path=/trunk/kdebase/kwin/; revision=66745
2000-10-08 09:59:07 +00:00
Matthias Ettrich
fb4a09d4ab
smarter maximize detection, also provide the windows with a reasonable restore
...
geometry
svn path=/trunk/kdebase/kwin/; revision=66722
2000-10-07 22:19:08 +00:00
Matthias Ettrich
a2c3696df5
Removed startkde and exitkde events. They don't belong into kwin.
...
I remember that I removed those already some time ago. Somebody keeps
believing that KWin has something to do with a) KDE startup and b) KDE
Exit, grmbl.
This is not true, it's ksmserver who does this.
Unfortunatly I cannot remove the "logout" keybindings due to the translations.
It rather belongs into kdesktopbindings than kwinbindings.
Please, guys, kwin is a *window* manager, not a desktop (seems like a
neverending story...)
svn path=/trunk/kdebase/kwin/; revision=66503
2000-10-05 22:09:49 +00:00
Matthias Ettrich
a3b30fce8c
fixed Thomas Zander's focusFollowsMouse showstopper
...
svn path=/trunk/kdebase/kwin/; revision=66481
2000-10-05 18:38:02 +00:00
Vojtech Bubnik
c0459f2a91
Fixed handling of X11 Xmb WM name atom. Non-latin1 window captions were not
...
displayed correctly before.
svn path=/trunk/kdebase/kwin/; revision=66444
2000-10-05 11:19:39 +00:00
Matthias Ettrich
41aa62711e
Some bugfixes for kwin:
...
- focus still works with shade up / down
- windows can request maximization after being mapped (state and mask was mixed)
- some workaround for netscape removed. Java people love windows in the (0,0)
corner and the workaround broke xwintv
- window can request maximization before being mapped
- auto maximize detection for overlarge windows, obeyes size wishes and minimum
sizes
svn path=/trunk/kdebase/kwin/; revision=66355
2000-10-04 10:59:00 +00:00
Matthias Ettrich
bb80bc7507
Fixed focus for "Lower", made "ActivateAndLower" work, fixed
...
CDE-style Alt-tab in FocusUnderMouse mode (was broken with transient
windows)
svn path=/trunk/kdebase/kwin/; revision=66189
2000-10-02 12:02:15 +00:00
Antonio Larrosa Jimenez
f597c85193
Little bug fix for a better behaviour under some strange configurations
...
Approved by M. Ettrich
svn path=/trunk/kdebase/kwin/; revision=65784
2000-09-29 18:14:45 +00:00
Matthias Ettrich
2dd48cfde3
cosmetic change to the positioning patch,
...
fix for xawtv fullscreen placement (discussed with Dirk Mueller)
svn path=/trunk/kdebase/kwin/; revision=65773
2000-09-29 15:54:18 +00:00
Torben Weis
625d26a6ef
another patch from Matthias: Use the active command set for windows that
...
never can be active (like the new pager)
svn path=/trunk/kdebase/kwin/; revision=65510
2000-09-27 16:13:59 +00:00
Waldo Bastian
408c822513
* Keep state consistency when resizing a maximized window.
...
* Allow users to resize a maximized window by default. Unnecasserily disabling
functions in the UI distracts the user from its main task by introducing additional
cognitive proceses in his short term memory: It's fucking annoying.
svn path=/trunk/kdebase/kwin/; revision=65453
2000-09-27 06:41:20 +00:00
Torben Weis
6129966f96
small patch from matthias, fixes Simon's konqueror fullscreen window
...
svn path=/trunk/kdebase/kwin/; revision=65314
2000-09-25 22:11:27 +00:00
Matthias Ettrich
6dacbd0112
tool window handling for the default style
...
visible dialogs for stays-on-top fullscreen windows (helps with Konqueror's dialogs)
Fixed lock with Alt-Tab box plus accelerator
svn path=/trunk/kdebase/kwin/; revision=65241
2000-09-25 15:30:51 +00:00
Matthias Ettrich
aa3eb43071
- fix autohide strut in kicker
...
- cleanup k menu, added configurable bookmarks menu
- unclutter/cascade in window menu
- logout from kdesktop without warning message
- kicker menu adjusts on reconfigure()
- desktop menu off by default (now that all functionality is visible
otherwise)
- killWindow in kwin's dcop interface
Patch tested and confirmed by coolo and Matthias Elter.
svn path=/trunk/kdebase/kwin/; revision=64783
2000-09-23 14:48:02 +00:00
Matthias Ettrich
8f1a00a0b0
fullscreen patch from kde-core-devel
...
svn path=/trunk/kdebase/kwin/; revision=64277
2000-09-18 15:04:13 +00:00
Matthias Ettrich
10b2e5fde2
don't activate dock windows with click (fixes kicker focus problems,
...
reviewed by Carsten Peiffer)
svn path=/trunk/kdebase/kwin/; revision=63580
2000-09-11 20:54:00 +00:00
Waldo Bastian
1add59200c
WABA: Fixes BR6808 and BR7983.
...
#6808 : selecting a "Decoration" by right-clicking on a window de-iconify windows.
#7983 : SHIP STOPPER: kwin - titlebars get <2> after the name of the application when changing decorations
Reviewed by gis.
svn path=/trunk/kdebase/kwin/; revision=63563
2000-09-11 18:59:26 +00:00
Stefan Westerfeld
584d9248a3
Reviewed and applied Matthias Ettrichs changes to make kaiman also visible
...
in the taskbar/tab focus (kaiman use NET::Override as netwm flag).
svn path=/trunk/kdebase/kwin/; revision=63197
2000-09-08 20:52:31 +00:00
Waldo Bastian
f6b6c62c9a
WABA: Oops, reverting. I wonder why this didn't work any more.
...
-static QPixmap * kwin_get_menu_pix_hack()
+QPixmap * kwin_get_menu_pix_hack()
svn path=/trunk/kdebase/kwin/; revision=63095
2000-09-07 22:55:18 +00:00
Waldo Bastian
ebe199a301
WABA: Use kdemain() instead of main() so that closures don't complain about
...
main being defined twice with different symbol sizes.
svn path=/trunk/kdebase/kwin/; revision=63094
2000-09-07 22:46:24 +00:00
Matthias Ettrich
8ec069b98d
not _that_ many sounds
...
svn path=/trunk/kdebase/kwin/; revision=62340
2000-08-31 17:31:45 +00:00
Matthias Ettrich
a309da9f0e
"activate" event on every activation, not only on taskbar
...
svn path=/trunk/kdebase/kwin/; revision=62339
2000-08-31 17:29:10 +00:00
Matthias Ettrich
d53798aaf0
more sound effects
...
svn path=/trunk/kdebase/kwin/; revision=62336
2000-08-31 17:15:10 +00:00
Matthias Ettrich
bf33b067be
- completed session management (maximize, shaded, and restore were missing)
...
- support for WM_COMMAND pseudo session management (xterm and friends)
- basic support for private colormaps, useful on the last remaining 8bit displays
svn path=/trunk/kdebase/kwin/; revision=62239
2000-08-30 14:27:30 +00:00
Matthias Ettrich
6a54a209af
obey more controlcenter options (mouse actions for frame and titlebar)
...
svn path=/trunk/kdebase/kwin/; revision=62090
2000-08-28 12:31:16 +00:00
Matthias Ettrich
f1e0ec82cb
default icon "x" if there is no icon
...
svn path=/trunk/kdebase/kwin/; revision=61836
2000-08-24 12:44:18 +00:00
Matthias Ettrich
4f4c4cca8d
MoveResizeMaximizedWindows option. Default is 'false'
...
svn path=/trunk/kdebase/kwin/; revision=61666
2000-08-22 10:35:22 +00:00
Matthias Ettrich
ab9c4c5d9b
fixed sizeInc problem with the gimp
...
svn path=/trunk/kdebase/kwin/; revision=61626
2000-08-21 19:09:23 +00:00
Matthias Ettrich
20c1ac608a
smarter placement (avoids having dialogs being truncated)
...
svn path=/trunk/kdebase/kwin/; revision=61618
2000-08-21 17:37:10 +00:00
Matthias Ettrich
fe4bfc015c
fixed: title changes in default style, minimization of maximized windows
...
svn path=/trunk/kdebase/kwin/; revision=61601
2000-08-21 12:05:22 +00:00
Matthias Ettrich
5b1fb25c55
less flicker for default. Clean-up namespace for classes
...
(several clients used different versions of the same class 'SystemButton')
svn path=/trunk/kdebase/kwin/; revision=61249
2000-08-16 13:11:21 +00:00
Matthias Ettrich
078b8b3ff4
- make maximized windows
...
- adjust to workarea changes
- not movable or resizable
- not show vertical borders if not necessary
- new default style: middle mouse and right mouse for maximize button
- now resize mouse cursors if the window is not resizable
svn path=/trunk/kdebase/kwin/; revision=61240
2000-08-16 12:18:56 +00:00
Matthias Ettrich
81bd6b26c3
some focus follows mouse stuff
...
svn path=/trunk/kdebase/kwin/; revision=60885
2000-08-13 17:07:26 +00:00
Matthias Ettrich
d3e8f75ada
no need for application-modal dialogs to stay on top....
...
svn path=/trunk/kdebase/kwin/; revision=60475
2000-08-10 13:01:12 +00:00
Matthias Ettrich
407efd9ad3
ICCCM 4.1.5 compliant configureRequest handling
...
svn path=/trunk/kdebase/kwin/; revision=60470
2000-08-10 12:38:37 +00:00
Matthias Ettrich
ecba5c3ea2
yet another weird hack for weird windows (Netscape's Javascript Toplevels).
...
Does anybody have any clue why they always want to hide the titlebar by moving
the window to x, -24 ?
Can't not be me missinterpreting motif hints, as the same thing happens with MWM.
svn path=/trunk/kdebase/kwin/; revision=60467
2000-08-10 12:13:36 +00:00
Carsten Pfeiffer
cc6c069269
compile
...
svn path=/trunk/kdebase/kwin/; revision=60379
2000-08-09 18:59:41 +00:00
Matthias Ettrich
22852f6c47
workaround for broken xemacs ediff windows...
...
svn path=/trunk/kdebase/kwin/; revision=60312
2000-08-09 12:58:12 +00:00
Matthias Ettrich
21dbeccdad
some ICCCM clearifications
...
svn path=/trunk/kdebase/kwin/; revision=60306
2000-08-09 12:06:03 +00:00
Matthias Ettrich
ffbe75dfba
some bugfixes
...
svn path=/trunk/kdebase/kwin/; revision=60295
2000-08-09 10:02:56 +00:00
Matthias Ettrich
5d85790c91
better 'textedit' support :)
...
svn path=/trunk/kdebase/kwin/; revision=60284
2000-08-09 09:00:13 +00:00
Matthias Ettrich
aef79db34b
react on strut changes
...
svn path=/trunk/kdebase/kwin/; revision=59726
2000-08-04 21:29:02 +00:00
Matthias Ettrich
b3134fe8ac
better fullscreen support
...
svn path=/trunk/kdebase/kwin/; revision=59488
2000-08-01 17:59:15 +00:00
Matthias Ettrich
813ee80842
don't move fullscreen windows around
...
svn path=/trunk/kdebase/kwin/; revision=59482
2000-08-01 16:44:15 +00:00
Matthias Ettrich
70f8d2823b
make konqueror's full-screen mode useful
...
svn path=/trunk/kdebase/kwin/; revision=59464
2000-08-01 12:42:03 +00:00
Werner Trobin
13aebff097
Commented out some more #define QT_CLEAN_NAMESPACE statements
...
svn path=/trunk/kdebase/kscreensaver/; revision=59186
2000-07-29 07:59:24 +00:00
Matthias Ettrich
d7d265452b
some work on the new default style. Better, but not there yet.
...
The class still duplicates too much functionality of the base class (Client).
IMO the ResizeBar widgets have to go, it can all be done by painting directly
on the main Manager.
svn path=/trunk/kdebase/kwin/; revision=59127
2000-07-28 22:06:22 +00:00
Matthias Ettrich
450395e891
small things
...
svn path=/trunk/kdebase/kwin/; revision=58969
2000-07-27 17:58:09 +00:00
Matthias Ettrich
47f386209b
workarea stuff
...
svn path=/trunk/kdebase/kwin/; revision=57913
2000-07-19 01:26:00 +00:00
Matthias Ettrich
d7472a2387
reset desktop property on withdraw
...
svn path=/trunk/kdebase/kwin/; revision=57550
2000-07-17 17:10:00 +00:00
Matthias Ettrich
808863d8cf
removed obsolete "standard" style. Small fix in placement policy.
...
svn path=/trunk/kdebase/kwin/; revision=57421
2000-07-16 23:40:21 +00:00
Matthias Ettrich
1b17660205
change desktop when messsage boxes pop-up on shutdown
...
svn path=/trunk/kdebase/kwin/; revision=57399
2000-07-16 21:12:33 +00:00
Rik Hemsley
62e30dc0dc
KDE 2 style is now default. KDE 1 style now available as plugin.
...
KDE 2 style still needs work, but bear with me. I'll get on it...
svn path=/trunk/kdebase/kwin/; revision=57252
2000-07-16 10:20:29 +00:00
Matthias Ettrich
7ca46b1e1c
do not manage magic for java applets
...
svn path=/trunk/kdebase/kwin/; revision=56985
2000-07-15 01:12:41 +00:00
Matthias Ettrich
bda93628e4
highly improved style switching
...
svn path=/trunk/kdebase/kwin/; revision=56978
2000-07-15 00:46:38 +00:00
Lars Knoll
e316ecc005
fix from Matthias for unicode captions
...
svn path=/trunk/kdebase/kwin/; revision=56922
2000-07-14 20:51:15 +00:00
Matthias Ettrich
9a69f2a87a
unicode caption support
...
svn path=/trunk/kdebase/kwin/; revision=56896
2000-07-14 19:35:23 +00:00
Matthias Ettrich
36a25ca517
inform the pager "live" about size changes
...
svn path=/trunk/kdebase/kwin/; revision=56742
2000-07-14 01:49:22 +00:00
Matthias Ettrich
10e0419304
no more handling of obsolete ppos and uspos hints.
...
Advantage: really strange clients like xboing show up again
svn path=/trunk/kdebase/kwin/; revision=56740
2000-07-14 01:34:38 +00:00
Matthias Ettrich
0012e5088b
focus handling on lower()
...
svn path=/trunk/kdebase/kwin/; revision=56651
2000-07-13 20:38:10 +00:00
Matthias Ettrich
d653417387
help ugly motif apps or nasty java programs to position windows halfway decent
...
svn path=/trunk/kdebase/kwin/; revision=56648
2000-07-13 20:31:36 +00:00
Matthias Ettrich
5fb81f837b
no "resize" and "maximize" options for non-resizable windows
...
svn path=/trunk/kdebase/kwin/; revision=56608
2000-07-13 17:59:12 +00:00
Matthias Ettrich
99211a9236
more staying on top
...
svn path=/trunk/kdebase/kwin/; revision=56113
2000-07-11 14:49:52 +00:00
Matthias Ettrich
c3a382cac9
improved stays-on-top hint handling
...
svn path=/trunk/kdebase/kwin/; revision=56111
2000-07-11 14:38:17 +00:00
Matthias Ettrich
75a6430c8f
no autoraise on windows moving
...
svn path=/trunk/kdebase/kwin/; revision=56075
2000-07-11 11:41:52 +00:00
Matthias Ettrich
aa3526e42f
more autoRaise and focusFollowsMouse fun
...
svn path=/trunk/kdebase/kwin/; revision=56016
2000-07-10 21:48:13 +00:00
Matthias Ettrich
05a8a4fde3
mac menubar
...
svn path=/trunk/kdebase/kwin/; revision=55967
2000-07-10 15:54:17 +00:00
Matthias Ettrich
fea6754bb9
more focus-follows-mind stuff
...
svn path=/trunk/kdebase/kwin/; revision=55886
2000-07-09 21:43:19 +00:00
Matthias Ettrich
2f32c804ca
fix
...
svn path=/trunk/kdebase/kwin/; revision=55882
2000-07-09 21:23:04 +00:00
Matthias Ettrich
3156291b39
autoraise and clickraise
...
svn path=/trunk/kdebase/kcontrol/; revision=55877
2000-07-09 20:29:53 +00:00
Matthias Ettrich
e4ba98a3b8
smarter Alt-RMB, courtesy Johan Myreen
...
svn path=/trunk/kdebase/kwin/; revision=55699
2000-07-07 11:47:45 +00:00
David Faure
fde0167220
Patch from Thomas Leitner to clear up the confusion Window != WId
...
when using XGetTransientForHint.
svn path=/trunk/kdebase/kwin/; revision=54888
2000-06-29 19:15:00 +00:00
Matthias Ettrich
f5226e0281
staysOnTop support.
...
Fixed titlebar-dblclick-commands (Shade instead of winShade )
svn path=/trunk/kdebase/kwin/; revision=54719
2000-06-28 13:20:42 +00:00
bhughes
d2bba865d0
update for NET WM-Spec API fix
...
svn path=/trunk/kdebase/kwin/; revision=54291
2000-06-24 19:09:50 +00:00
Matthias Ettrich
3958a3a1e1
possibility to iconify, deiconify without animation
...
propagate new desktop on desktop switches _before_ showing new windows
svn path=/trunk/kdebase/kwin/; revision=54279
2000-06-24 17:58:10 +00:00
Matthias Ettrich
3693e4ba80
react properly on sendClientToDesktop requests from kicker
...
svn path=/trunk/kdebase/kwin/; revision=54143
2000-06-23 18:56:59 +00:00
Matthias Ettrich
6ed208596c
propagate the state (for example maximize) as required
...
svn path=/trunk/kdebase/kwin/; revision=54137
2000-06-23 18:18:34 +00:00
Matthias Ettrich
72abf668d2
iconify/deiconify animation.
...
Don't forget to update libkdecore and kicker
svn path=/trunk/kdebase/kwin/; revision=54131
2000-06-23 16:26:44 +00:00
Matthias Ettrich
2322242681
some more mouse functions (raise/lower/toggle r.l.)
...
svn path=/trunk/kdebase/kwin/; revision=54049
2000-06-22 22:10:27 +00:00
Matthias Ettrich
6655d0207d
focus policies and alt-tab style:
...
/*!
Different focus policies:
<ul>
<li>ClickToFocus - Clicking into a window activates it. This is
also the default.
<li>FocusFollowsMouse - Moving the mouse pointer actively onto a
normal window activates it. For convenience, the desktop and
windows on the dock are excluded. They require clicking.
<li>FocusUnderMouse - The window that happens to be under the
mouse pointer becomes active. The invariant is: no window can
have focus that is not under the mouse. This also means that
Alt-Tab won't work properly and popup dialogs are usually
unsable with the keyboard. Note that the desktop and windows on
the dock are excluded for convenience. They get focus only when
clicking on it.
<li>FocusStrictlyUnderMouse - this is even worse than
FocusUnderMouse. Only the window under the mouse pointer is
active. If the mouse points nowhere, nothing has the focus. If
the mouse points onto the desktop, the desktop has focus. The
same holds for windows on the dock.
Note that FocusUnderMouse and FocusStrictlyUnderMouse are not
particulary useful. They are only provided for old-fashined
die-hard UNIX people ;-)
</ul>
*/
FocusPolicy=ClickToFocus | FocusFollowsMouse | FocusUnderMouse | FocusStrictlyUnderMouse
/**
Different Alt-Tab-Styles:
<ul>
<li> KDE - the recommended KDE style. Alt-Tab opens a nice icon
box that makes it easy to select the window you want to tab
to. The order automatically adjusts to the most recently used
windows. Note that KDE style does not work with the
FocusUnderMouse and FocusStrictlyUnderMouse focus
policies. Choose ClickToFocus or FocusFollowsMouse instead.
<li> CDE - the old-fashion CDE style. Alt-Tab cycles between
the windows in static order. The current window gets raised,
the previous window gets lowered.
</ul>
*/
AltTabStyle=KDE | CDE
svn path=/trunk/kdebase/kwin/; revision=54010
2000-06-22 18:08:35 +00:00
Matthias Ettrich
4ea2a5c27f
some cleanups
...
svn path=/trunk/kdebase/kwin/; revision=53990
2000-06-22 14:12:13 +00:00
Michael Matz
9bf0f3010b
s/CARD32/Q_UINT32/g
...
svn path=/trunk/kdebase/kwin/; revision=53252
2000-06-14 21:39:07 +00:00
David Faure
91038958d7
Implemented changeDesktop and changeState - now NETWinInfo::setDesktop
...
actually does something :-)
svn path=/trunk/kdebase/kwin/; revision=52811
2000-06-10 14:05:47 +00:00
David Faure
b9cc5b7cb1
Hmm, somebody went on holidays and forgot to commit killwindow.h apparently :->
...
Commented out the feature (you didn't think I would reimplement it, did you ?) :)
And took the opportunity of touching Makefile.am for including *.moc in *.cpp
(faster compilation, smaller link lines, less files...)
svn path=/trunk/kdebase/kwin/; revision=52667
2000-06-09 00:20:21 +00:00
Matthias Ettrich
900e2e6c0b
Use the new windowmanager interaction API
...
svn path=/trunk/kdebase/kwin/; revision=52623
2000-06-08 17:05:51 +00:00
Bill Soudan
9b9570699b
added start-on-proper-desktop support, as well as fixing a few buglets in
...
kwin that this exposed.
svn path=/trunk/kdebase/kwin/; revision=52536
2000-06-08 01:33:53 +00:00
David Faure
254997fae5
Still reading my stupid log msgs ? :/
...
svn path=/trunk/kdebase/kwin/; revision=52370
2000-06-06 19:44:21 +00:00
Stephan Kulow
a1494ddee7
let kDebug2kdDebug run over kdebase after making it clever enough not to
...
commit everything.
Removed a cerr debugging in ldap - looks familiar mhk ;)
svn path=/trunk/kdebase/kcontrol/; revision=52323
2000-06-06 14:29:58 +00:00
Waldo Bastian
dc5bf6c01c
WABA: Don't allow change of focus while resizing / moving.
...
This prevents a lot of stupid focus changes when you move a window
around with focusFollowsMouse.
(mouse moves -> focus changes -> window moves -> focus changes back)
svn path=/trunk/kdebase/kwin/; revision=51574
2000-06-02 00:20:41 +00:00
Waldo Bastian
b42ee22030
WABA: Focus fixes.
...
svn path=/trunk/kdebase/kwin/; revision=51431
2000-06-01 05:32:06 +00:00
Waldo Bastian
87855e5816
WABA: Reverted last patch, another attempt:
...
* Alt-MouseClick on the titlebar now does the same as what it does on
the window itself.
svn path=/trunk/kdebase/kwin/; revision=51396
2000-05-31 22:26:28 +00:00
Waldo Bastian
d914752cac
WABA: Activate client on mouse-release...
...
You can now move a window without activating it
let's see how many people will get upset about this >:-)
svn path=/trunk/kdebase/kwin/; revision=51361
2000-05-31 19:13:14 +00:00
Waldo Bastian
81b4d60d87
WABA: Make sure not to move a window completly off the screen. (BR 2916)
...
svn path=/trunk/kdebase/kwin/; revision=50830
2000-05-27 01:56:08 +00:00
Matthias Ettrich
c0d337d352
cleanups: less debug output, less flicker, less confusing code
...
svn path=/trunk/kdebase/kwin/; revision=50775
2000-05-26 13:54:50 +00:00
Waldo Bastian
7c426bc687
WABA: If we set "may not move" we mean it! No cheating via Alt-F3!
...
svn path=/trunk/kdebase/kwin/; revision=50046
2000-05-20 07:54:11 +00:00
Kurt Granroth
7853d20753
Added support for Ctrl+Alt+Esc to kill a window. I basically just cut-n-
...
pasted everything from kwm. It works.
However, I don't know if this fits the new design or not. Maybe some
of the functions are accomplished elsewhere? I think Matthias needs
to take a look at this...
But like I said, it does work :-)
svn path=/trunk/kdebase/kwin/; revision=49849
2000-05-17 23:02:42 +00:00
Rik Hemsley
b5b443c5d2
Reorganised updateAvoidPolicy(), converted 2-spaces to a tab and checked
...
it doesn't wrap when tabs are at 8, for ettrich
svn path=/trunk/kdebase/kwin/; revision=49388
2000-05-14 03:27:07 +00:00
Rik Hemsley
baa151afb3
Many fixes to RISC OS client. Still needs major work to be perfect.
...
Changed spaces to tab for ettrich in client.cpp ;)
Changed something that looked like it was trying to do manhattanLength()
so it actually does.
svn path=/trunk/kdebase/kwin/; revision=49144
2000-05-11 03:52:24 +00:00
Rik Hemsley
3ac4896a57
Turned layout()->activate() into a new virtual function, 'activateLayout()',
...
which is called at the same places.
Mosfet: This is necessary because we are converting to not use QLayout
in clients. Without this, you can't get the right size for your windows.
Just implement it in your client and do your layout in it (surprise, eh ?)
svn path=/trunk/kdebase/kwin/; revision=49143
2000-05-11 03:31:54 +00:00
Rik Hemsley
1f13ef7c35
Argh ! Check return values of functions like QWidget::layout() !
...
Took me ages to figure out why riscosstyle crashed :(
svn path=/trunk/kdebase/kwin/; revision=49137
2000-05-10 23:44:29 +00:00
Matthias Ettrich
9c4e19ee40
removed the timerbased resize stuff again and did the real fix.
...
Should work fine with Qt-2.1, please test.
svn path=/trunk/kdebase/kwin/; revision=48970
2000-05-09 10:13:48 +00:00
Matthias Ettrich
eb9d29938b
NEVER call XInternAtom in an application like kwin that provides
...
a nifty interface for XInternAtom_s_. Have a look at atoms.cpp
svn path=/trunk/kdebase/kwin/; revision=48914
2000-05-08 21:22:57 +00:00
Matthias Ettrich
27f0e99920
indentation (grmbll....) and removed weird notification feature.
...
There's no need to inform a taskbar twice that a window appeared!
svn path=/trunk/kdebase/kwin/; revision=48910
2000-05-08 21:12:49 +00:00
Espen Sand
efdafdc528
A modification to the resize handling. Not sure if it really
...
is any better but with khexedit it feels so. kwm still beats
it though :(
svn path=/trunk/kdebase/kwin/; revision=48903
2000-05-08 20:22:10 +00:00
Matthias Ettrich
e36274fecf
removed debug output
...
svn path=/trunk/kdebase/kwin/; revision=48892
2000-05-08 19:39:28 +00:00
Matthias Ettrich
f2bb598e46
implemented raise/lower
...
svn path=/trunk/kdebase/kwin/; revision=48888
2000-05-08 19:37:54 +00:00
Matthias Ettrich
0b154e4b7c
slow down resize with a timer
...
svn path=/trunk/kdebase/kwin/; revision=48784
2000-05-07 23:10:21 +00:00
Matthias Ettrich
6a36c54a7f
Kwin raises the following sound events via KNotifyClient:
...
"Window Close"
"Window Iconify"
"Window DeIconify"
"Window Maximize"
"Window UnMaximize"
"Window Sticky"
"Window UnSticky"
"Window New"
"Window Delete"
"Window Trans New"
"Window Trans Delete"
"Window Shade Up"
"Window Shade Down"
"Window Move Start"
"Window Move End"
"Window Resize Start"
"Window Resize End"
svn path=/trunk/kdebase/kwin/; revision=48752
2000-05-07 20:38:11 +00:00
Rik Hemsley
a982506a75
Kicker is now placed _under_ the Mac menubar - it will not obscure it...
...
except if you press the hide buttons. That needs fixing.
svn path=/trunk/kdebase/kwin/; revision=48570
2000-05-06 18:59:43 +00:00
Rik Hemsley
297651e2c3
Understand more about edge-based clients and act appropriately, passing
...
info along to kdesktop too.
This is funky now :)
svn path=/trunk/kdebase/kwin/; revision=48377
2000-05-04 23:12:29 +00:00
Michael Matz
b3f88eb796
implemented lowerClient(), connected middle-Click to it.
...
Note that it leaves the focus where it was, which may seem strange if the
to be lowered window becomes fully obscured, but to change focus would be
the purpose of the calling function. To be discussed.
svn path=/trunk/kdebase/kwin/; revision=48202
2000-05-03 06:30:37 +00:00
Rik Hemsley
f65ca70e0b
Fixed maximisation. Now kwin really does avoid windows which ask
...
to be avoided. It also updates nicely. Just move kicker from the
bottom to the left, say, and open a new window. It doesn't cover
kicker. Maximise. Still doesn't cover. Seems to work, then.
svn path=/trunk/kdebase/kwin/; revision=47602
2000-04-26 21:28:51 +00:00
Rik Hemsley
34055e684d
Removed a qDebug() message. The others I've put in will go too, as
...
they're not necessary and are only for testing.
svn path=/trunk/kdebase/kwin/; revision=47594
2000-04-26 18:36:27 +00:00
Waldo Bastian
f02955dcba
WABA: Make desktop, kicker and the macbar unmovable.
...
svn path=/trunk/kdebase/kwin/; revision=47007
2000-04-19 04:36:47 +00:00
Rik Hemsley
830909e544
Test return values, fool !
...
svn path=/trunk/kdebase/kwin/; revision=46870
2000-04-17 09:29:56 +00:00
Rik Hemsley
330ea804b2
Preliminary support for avoiding covering clients such as kicker
...
which want to be permanently visible.
I've used an XAtom called '_NET_AVOID_SPEC'. This of course can change
if need be. I think it's correct according to the wm spec, but the
wm spec seems to be empty on gnome.org, so who knows.
Windows can choose to be avoided by setting an XTextProperty
with one value, which can be either 'N', 'S', 'E', or 'W', according
to which screen edge they are anchored to.
kwin then sets its 'clientArea' rect appropriately, so that (in
theory at least) clients will not enter this area in some circumstances,
such as when being mapped for the first time.
You can see that this actually works if you start lots of konsoles. They
don't appear over the panel. I don't know what happens if you move the
panel, but I presume things will be screwed up, because I haven't
looked at that yet.
If you maximise a window, it'll still fill the screen, because the
implementation of maximise in kwin/client.cpp doesn't take account
of the workspace's clientArea rect. This is easy to fix, but I've
been awake for too long, so I'll do it after 42 winks.
svn path=/trunk/kdebase/kwin/; revision=46772
2000-04-16 09:06:03 +00:00
Rik Hemsley
66b2a8645f
App-starting notification support
...
svn path=/trunk/kdebase/kwin/; revision=46005
2000-04-08 19:35:52 +00:00
Matthias Ettrich
5a7b9ed8aa
remove some passive grab combinations on active windows. Helps GIMP, TK and Co.
...
svn path=/trunk/kdebase/kwin/; revision=45057
2000-03-29 14:53:25 +00:00
Matthias Ettrich
b57453a363
inform modules about initial desktop placement
...
svn path=/trunk/kdebase/kwin/; revision=44625
2000-03-25 14:14:34 +00:00
Matthias Ettrich
b49151074f
Session management for KDE-2.x : say hello to the ksmserver
...
svn path=/trunk/kdebase/kwin/; revision=44552
2000-03-24 22:23:02 +00:00
Matthias Ettrich
a637bea8e4
small fix for Reggie's ultrafast machine
...
svn path=/trunk/kdebase/kwin/; revision=44448
2000-03-24 09:32:16 +00:00
Matthias Ettrich
9926eb384a
small fixes
...
svn path=/trunk/kdebase/kwin/; revision=44444
2000-03-24 09:11:37 +00:00
Matthias Ettrich
0383f22204
cleanups
...
svn path=/trunk/kdebase/kwin/; revision=44297
2000-03-22 14:29:10 +00:00
Matthias Ettrich
0df9f29ccd
help toolkits to figure out the frame geometry when receiving reparentNotify
...
svn path=/trunk/kdebase/kwin/; revision=44288
2000-03-22 11:47:10 +00:00
Matthias Ettrich
0bb1975556
performance
...
svn path=/trunk/kdebase/kwin/; revision=44279
2000-03-22 10:06:37 +00:00
Matthias Ettrich
c2b5722a6b
small optimizations
...
svn path=/trunk/kdebase/kwin/; revision=44233
2000-03-21 20:02:27 +00:00
Matthias Ettrich
98ea0a56db
small fixes
...
svn path=/trunk/kdebase/kwin/; revision=42768
2000-03-06 19:14:20 +00:00
Matthias Ettrich
c772a8e8a2
new transients as well
...
svn path=/trunk/kdebase/kwin/; revision=37997
2000-01-10 03:49:49 +00:00
Matthias Ettrich
8460a9ad3e
make transients sticky when their main window becomes sticky
...
svn path=/trunk/kdebase/kwin/; revision=37996
2000-01-10 03:47:30 +00:00
Woohyun JANG
ba32bbdd36
using KWM::title() instead of XFetchName() to get a window's name.
...
svn path=/trunk/kdebase/kwin/; revision=37307
1999-12-27 09:22:19 +00:00
Cristian Tibirna
f9c7091e05
CT: Scott Lamb <slamb@oh.yeah.org> corrected the spelling of
...
Strickly and wanted to implement
focus configurability. Here is the (for now) "politically correct" version.
svn path=/trunk/kdebase/kwin/; revision=37123
1999-12-22 04:49:43 +00:00
Matthias Ettrich
83bd1cc680
small fixes to resize handling with the keyboard with weird mousepointer positions
...
svn path=/trunk/kdebase/kwin/; revision=35958
1999-12-06 15:44:29 +00:00
Matthias Ettrich
935c0a4478
More keyboard commands such as "Window move" and "Window resize".
...
"Mouse emulation" (defaults to F12 currently) provides mouse emulation with
[Ctrl|Alt]-ArrowKeys. Unfortunatly, dragging isn't (technically) possible with
X, but at least normal clicks work with Space or Return.
svn path=/trunk/kdebase/kwin/; revision=35919
1999-12-06 00:43:55 +00:00
Matthias Ettrich
64acd7375d
implemented preliminary WM_CONTEXT_HELP protocol. In combination with tomorrow's
...
Qt snapshot, you will see lovely question marks in the titlebar of dialogs that
invoke What's This help.
svn path=/trunk/kdebase/kwin/; revision=35618
1999-12-01 22:09:32 +00:00
Matthias Ettrich
de3d008e6d
removed support for obsolete size hints
...
svn path=/trunk/kdebase/kwin/; revision=35475
1999-11-30 00:29:34 +00:00
Matthias Ettrich
df37b4f6f3
small things
...
svn path=/trunk/kdebase/kwin/; revision=35447
1999-11-29 18:31:28 +00:00
Matthias Ettrich
322bccde7b
async keyboard
...
svn path=/trunk/kdebase/kwin/; revision=35431
1999-11-29 14:19:32 +00:00
Matthias Ettrich
ce152850cb
more robust
...
svn path=/trunk/kdebase/kwin/; revision=35394
1999-11-29 03:01:09 +00:00
Matthias Ettrich
91d73bedca
animated shading works again. Shortcut for shading possible
...
"Window shade"
svn path=/trunk/kdebase/kwin/; revision=35392
1999-11-29 02:49:20 +00:00
Matthias Ettrich
b441f40a7e
configurable mouse bindings (see README)
...
svn path=/trunk/kdebase/kwin/; revision=35388
1999-11-29 02:06:41 +00:00
Matthias Ettrich
b8a8bf9be2
CurrentTime must die
...
svn path=/trunk/kdebase/kwin/; revision=35369
1999-11-28 21:41:15 +00:00
Matthias Ettrich
b529c9226f
do not accept empty captions, use unnamed instead.
...
svn path=/trunk/kdebase/kwin/; revision=35366
1999-11-28 20:58:58 +00:00
Matthias Ettrich
82b0710065
unified window captions ( not propagated yet)
...
svn path=/trunk/kdebase/kwin/; revision=35364
1999-11-28 20:55:52 +00:00
Matthias Ettrich
070b0971cc
be smarter with shaded windows: when shading, iconify any non-shaded
...
transients.
svn path=/trunk/kdebase/kwin/; revision=35354
1999-11-28 20:17:57 +00:00
Matthias Ettrich
bd1e4878ba
keep transients together, support various input modes, handle
...
wm_change_state messages properly
svn path=/trunk/kdebase/kwin/; revision=35353
1999-11-28 20:10:58 +00:00
Matthias Ettrich
49f894fa51
nicer tabbox
...
svn path=/trunk/kdebase/kwin/; revision=35151
1999-11-26 22:10:25 +00:00
Cristian Tibirna
68e807e756
CT: coolo doesn't like it.
...
svn path=/trunk/kdebase/kwin/; revision=35053
1999-11-26 01:24:52 +00:00
Matthias Ettrich
d6c573987e
small fix
...
svn path=/trunk/kdebase/kwin/; revision=35034
1999-11-25 17:08:17 +00:00
Matthias Ettrich
378161e531
hook for snapping functionality
...
svn path=/trunk/kdebase/kwin/; revision=35032
1999-11-25 16:38:11 +00:00
Matthias Ettrich
a12ab5338d
better min/max handling, should be able to manage kfind now
...
svn path=/trunk/kdebase/kwin/; revision=35029
1999-11-25 16:05:27 +00:00
Matthias Ettrich
bad93649e3
fixed min/max handling, handle palette changes properly
...
svn path=/trunk/kdebase/kwin/; revision=35018
1999-11-25 12:53:17 +00:00
Matthias Ettrich
c101518499
small fix
...
svn path=/trunk/kdebase/kwin/; revision=34663
1999-11-22 02:23:13 +00:00
Matthias Ettrich
367d4fd0d7
some bugfixes, added a window operations menu, some simple shading animation
...
svn path=/trunk/kdebase/kwin/; revision=34662
1999-11-22 01:57:51 +00:00
Matthias Ettrich
486f0d604d
bugfixes, what else
...
svn path=/trunk/kdebase/kwin/; revision=34019
1999-11-16 02:03:14 +00:00
Matthias Ettrich
9a0ea6b949
- handle initial state iconic
...
- handle maprequests when being iconified properly
- do not unshade xemacs 32000 pixels high
svn path=/trunk/kdebase/kwin/; revision=34014
1999-11-16 01:25:42 +00:00
Matthias Ettrich
bd7c253101
make shading work again (double click on titlebar)
...
svn path=/trunk/kdebase/kwin/; revision=33918
1999-11-15 15:57:48 +00:00
Matthias Ettrich
3293927ed4
found a smart way to get rid of the race conditions (that sometimes
...
made windows lose their decorations)
svn path=/trunk/kdebase/kwin/; revision=33867
1999-11-15 00:52:05 +00:00
Matthias Ettrich
49eb95bd94
More docking magic: If a window gets iconified that has a docking window,
...
remove it from the taskbar (in fact, do a withdraw() )
svn path=/trunk/kdebase/kwin/; revision=33759
1999-11-14 06:34:28 +00:00
Matthias Ettrich
a1f8ea357a
support for the new docking stuff
...
svn path=/trunk/kdebase/kwin/; revision=33753
1999-11-14 05:53:53 +00:00
Matthias Ettrich
279fc91240
some debug output removed, small fix to initial sizeflag handling
...
svn path=/trunk/kdebase/kwin/; revision=33647
1999-11-13 03:48:58 +00:00
Matthias Ettrich
cb5978260f
fake being kwm (helps some docking apps out there)
...
svn path=/trunk/kdebase/kwin/; revision=33646
1999-11-13 03:44:09 +00:00
Matthias Ettrich
b49242a017
some fixes
...
svn path=/trunk/kdebase/kwin/; revision=33631
1999-11-13 00:32:36 +00:00
Matthias Ettrich
231f10c92e
basically, it's a good thing to initialize variables
...
svn path=/trunk/kdebase/kwin/; revision=33556
1999-11-12 03:21:10 +00:00
Matthias Ettrich
a30c061abb
shape windows support, some fixes for configure-request handling
...
svn path=/trunk/kdebase/kwin/; revision=33553
1999-11-12 03:11:19 +00:00
Matthias Ettrich
b47ce2b623
removed red background ;)
...
svn path=/trunk/kdebase/kwin/; revision=33386
1999-11-10 02:32:34 +00:00
Matthias Ettrich
ed10ad67b8
small fix when deciding whether to start a drag or not
...
svn path=/trunk/kdebase/kwin/; revision=33374
1999-11-09 23:37:05 +00:00
Matthias Ettrich
b8858a8636
better configure handling
...
svn path=/trunk/kdebase/kwin/; revision=33076
1999-11-07 04:43:59 +00:00
Matthias Ettrich
1884091309
update, usable with kicker now
...
svn path=/trunk/kdebase/kwin/; revision=33064
1999-11-07 01:43:06 +00:00
Matthias Ettrich
5b3d19e42d
make it work again
...
svn path=/trunk/kdebase/kwin/; revision=32597
1999-11-02 15:17:15 +00:00
Matthias Ettrich
b62982b6d1
handling close without weird error messages. Dynamic style changes
...
without jumping.
svn path=/trunk/kdebase/kwin/; revision=32546
1999-11-02 00:32:31 +00:00
Matthias Ettrich
cb82f77388
run, not crash
...
svn path=/trunk/kdebase/kwin/; revision=32543
1999-11-01 23:41:44 +00:00
Stefan Taferner
df7fc2905e
Working kwin from Matthias E. :-)
...
svn path=/trunk/kdebase/kwin/; revision=30385
1999-10-09 09:55:16 +00:00
Matthias Ettrich
75f321c4c0
more experimental stuff
...
svn path=/trunk/kdebase/kwin/; revision=29737
1999-09-27 16:02:44 +00:00
Matthias Ettrich
311db796c6
Say hello to kwin. WARNING: NOT USABLE YET. See README.
...
svn path=/trunk/kdebase/kwin/; revision=27871
1999-08-19 23:26:42 +00:00