Luboš Luňák
e82bcc09ac
Move Client::keyPressEvent() to the source file where it belongs.
...
svn path=/trunk/kdebase/kwin/; revision=254809
2003-09-29 11:19:39 +00:00
Luboš Luňák
2fdf81d4c6
Don't resize frame to the full size when shaded.
...
svn path=/trunk/kdebase/kwin/; revision=253542
2003-09-24 11:01:14 +00:00
Luboš Luňák
1e61c406f9
Temporary fix for #64516 .
...
svn path=/trunk/kdebase/kwin/; revision=252394
2003-09-19 14:53:39 +00:00
Luboš Luňák
c433d78a51
Don't use the iconic name when shaded.
...
svn path=/trunk/kdebase/kwin/; revision=252354
2003-09-19 11:16:40 +00:00
Luboš Luňák
d8406cf439
Cleanup of Motif hints. Ignore hints forbidding minimize/maximize.
...
Fix using isResizable()/isMovable() instead of only checking the Motif hint.
svn path=/trunk/kdebase/kwin/; revision=252351
2003-09-19 11:14:16 +00:00
Luboš Luňák
d5dd99ba82
Ensure that KDecoration::width() etc. and KDecoration::widget()->width are
...
in sync.
svn path=/trunk/kdebase/kwin/; revision=252350
2003-09-19 11:13:24 +00:00
Luboš Luňák
a8b5c7365c
Keep workarea edge distance when turning on/off decoration.
...
Reduce the maximum distance for keeping it at the edge to 1/10 of workarea size.
Update edge distance when changing geometry.
svn path=/trunk/kdebase/kwin/; revision=252349
2003-09-19 11:13:04 +00:00
Luboš Luňák
9fac9d2a43
Fixes for mousePosition().
...
Since Qt propagates mouse events up the widget hierarchy, it's better
to filter out Qt events rather than X events for the decoration.
svn path=/trunk/kdebase/kwin/; revision=252346
2003-09-19 11:11:07 +00:00
Luboš Luňák
10f405c73d
Merging kwin core from kwin_iii back to HEAD.
...
svn path=/trunk/kdebase/kwin/; revision=251608
2003-09-16 19:28:03 +00:00
Luboš Luňák
71d30b5813
At least very basic support for _NET_WM_WINDOW_TYPE_SPLASHSCREEN also in HEAD.
...
svn path=/trunk/kdebase/kwin/; revision=239649
2003-07-28 13:26:08 +00:00
Dirk Mueller
6bbbe69c0e
unbreak compilation (gcc 3.4+)
...
svn path=/trunk/kdebase/kcontrol/; revision=239225
2003-07-26 10:41:28 +00:00
Marc Mutz
ca09935838
gethostname can fail :-)
...
svn path=/trunk/kdebase/kdm/; revision=239075
2003-07-25 12:35:58 +00:00
Luboš Luňák
caf31eb936
Fix for #54495 in HEAD too.
...
svn path=/trunk/kdebase/kwin/; revision=231991
2003-06-17 17:23:43 +00:00
Luboš Luňák
6dc2810d6a
Support NET::DemandsAttention in HEAD too.
...
svn path=/trunk/kdebase/kwin/; revision=231921
2003-06-17 09:24:14 +00:00
Chris Lee
41f35632d2
HEAD version of my kwin_iii patch that I just committed.
...
This fixes the mouse cursor when the window is moving.
-clee
svn path=/trunk/kdebase/kwin/; revision=231503
2003-06-15 07:28:38 +00:00
Karol Szwed
cf8e983d87
Do not use saveunder in opaque modes as it slows down
...
moving/resizing significantly.
(kwin_iii port later)
svn path=/trunk/kdebase/kwin/; revision=231502
2003-06-15 07:19:05 +00:00
Luboš Luňák
6b04039715
r1.344.2.50 from kwin_iii.
...
svn path=/trunk/kdebase/kwin/; revision=227049
2003-05-21 12:19:50 +00:00
Luboš Luňák
fe48c6cdc2
#57990 too.
...
svn path=/trunk/kdebase/kwin/; revision=225864
2003-05-14 17:10:50 +00:00
Luboš Luňák
9cb2c00de3
Cleanup of KWin::Info -> KWin::WindowInfo.
...
Correct detection of minimized windows for KWin HEAD and kwin_iii.
Correct detection of window type even if the list includes unsupported ones.
svn path=/trunk/kdebase/kwin/; revision=219298
2003-04-09 14:20:55 +00:00
Luboš Luňák
52b0c311c5
#54730 too.
...
svn path=/trunk/kdebase/kwin/; revision=215050
2003-03-19 15:43:41 +00:00
Luboš Luňák
06bc34faab
#48836 too.
...
svn path=/trunk/kdebase/kwin/; revision=214849
2003-03-18 18:24:32 +00:00
Luboš Luňák
bf73b30a62
Another guess at what NET::Override is actually supposed to mean.
...
CCMAIL: 55515-done@bugs.kde.org
svn path=/trunk/kdebase/kwin/; revision=213599
2003-03-13 13:06:57 +00:00
Luboš Luňák
555b5c10b8
#55797
...
svn path=/trunk/kdebase/kwin/; revision=213364
2003-03-12 14:43:06 +00:00
Luboš Luňák
bc4d2d507a
HEAD needs one more fix for #55510 .
...
svn path=/trunk/kdebase/kwin/; revision=212846
2003-03-10 17:36:05 +00:00
Luboš Luňák
25ccdb783f
#55510
...
svn path=/trunk/kdebase/kwin/; revision=211733
2003-03-06 12:12:02 +00:00
Luboš Luňák
1f87831837
XRANDR support in HEAD too, so that curious people don't have to use
...
kwin_iii. It's still #ifdef-ed out by XRANDR_SUPPORT, just like elsewhere
in kdelibs/kdebase.
svn path=/trunk/kdebase/kwin/; revision=211041
2003-03-03 14:03:56 +00:00
Luboš Luňák
325e45ee26
With 'konqueror --preload', create a KonqMainWindow too.
...
And KWin related fixes - hack for _KDE_NET_USER_TIME, and don't display
topmenus for non-active windows.
svn path=/trunk/kdebase/kwin/; revision=210251
2003-02-28 14:16:31 +00:00
Luboš Luňák
b511a929bc
Fix #54190 .
...
svn path=/trunk/kdebase/kwin/; revision=206821
2003-02-14 08:29:47 +00:00
Luboš Luňák
c72c64e4f3
Only one place where WM_TRANSIENT_FOR is read + fix a bug in mainClient().
...
svn path=/trunk/kdebase/kwin/; revision=198740
2003-01-10 12:39:27 +00:00
Karol Szwed
4577f0f474
Add a checkbox to enable/disable the geometry tip, making it _OFF_ by default,
...
as was planned. Also, it should never crash now.
Hopefully this will make pmax a bit happier ;-)
svn path=/trunk/kdebase/kwin/; revision=198711
2003-01-10 10:54:57 +00:00
George Staikos
b35e581f69
This GeometryTip is not acceptable.
...
- Make it "opt-in" configurable, not default to on
- I have had instances of the widget being stuck on the screen and eventually
causing a kwin crash
- It conflicts nicely with konsole's resize widget
svn path=/trunk/kdebase/kwin/; revision=198652
2003-01-10 04:03:57 +00:00
Luboš Luňák
09e06d30c1
Try to have the grab for clickraise only when necessary (VisibilityNotify
...
based), and clean up the grab handling a bit.
svn path=/trunk/kdebase/kwin/; revision=198017
2003-01-07 14:26:58 +00:00
Luboš Luňák
eca86b5a53
Partially revert r1.333 and generate suitable maximize restore geometry
...
and position again.
svn path=/trunk/kdebase/kwin/; revision=198015
2003-01-07 14:23:37 +00:00
Karol Szwed
235b534b26
Add a window geometry tip when users move/resize a window. Currently it is
...
enabled by default, but will be made configurable soon. There is a known
issue with an incorrect geometry shown with konsole, but that's its fault,
and I'll get to that shortly (xterm does the right thing).
Disclaimer:
If it jams - force it. If it breaks, it probably needed replacing anyway.
svn path=/trunk/kdebase/kwin/; revision=197992
2003-01-07 12:42:32 +00:00
Luboš Luňák
a541e25721
Remove the state flags from the window on withdraw too, and do so only
...
when really withdrawing the window.
svn path=/trunk/kdebase/kwin/; revision=197778
2003-01-06 13:07:30 +00:00
Luboš Luňák
a3bd5ae078
Try to fix #32969 by keeping the mouse grab even for active windows. People
...
not wanting this can disable click raise. Let's see if it breaks something.
(Related to this: kwin/client.cpp r1.309,r1.308,r1.305,r1.304,r1.303.)
TODO: the grab could be released at least as long as the window is topmost
and active
svn path=/trunk/kdebase/kwin/; revision=196998
2003-01-02 16:36:00 +00:00
Luboš Luňák
5100e63107
Client::is_sticky_ is dead and would be gone, if it weren't for BIC.
...
No need to this duplication of Client::desk == NET::OnAllDesktops.
It's simple, desk == NET::OnAllDesktops - sticky
desk == 0 - not mapped yet
desk something else - the desktop the window is on
svn path=/trunk/kdebase/kwin/; revision=196529
2002-12-30 20:34:38 +00:00
Luboš Luňák
9e3efc9cd9
"implement" NET::Sticky
...
and ignore client requests to change NET::Hidden
svn path=/trunk/kdebase/kwin/; revision=196522
2002-12-30 20:08:31 +00:00
Luboš Luňák
c595302a1f
Don't let normal windows appear out of workarea, even if they're stupid
...
and ask for it.
svn path=/trunk/kdebase/kwin/; revision=194509
2002-12-17 20:16:04 +00:00
Luboš Luňák
b5e356620a
Fix #15016 .
...
svn path=/trunk/kdebase/kwin/; revision=194508
2002-12-17 20:11:59 +00:00
Luboš Luňák
1519056ee1
Grmbl. Make the NET::Menu -> NET::TopMenu hack less strict.
...
svn path=/trunk/kdebase/kwin/; revision=189732
2002-11-19 14:44:11 +00:00
Luboš Luňák
dfcc58b00f
Fix #49369 and generally try to improve window matching.
...
Use WM_WINDOW_ROLE also for fake sessions (Save window settings).
Remember also window type.
svn path=/trunk/kdebase/kwin/; revision=185456
2002-10-24 16:22:15 +00:00
Luboš Luňák
7c33e280ef
Fix #39172 . Send the synthetic configure notify event _after_ reparenting
...
into WindowWrapper (in WindowWrapper::show() triggered by Client::show()).
Some toolkits go up the window hiearchy when finding the "real" position
of the window (i.e. the topleft decoration border corner), and if they
receive the ReparentNotify after the synthetic ConfigureNotify, they'll
miscalculate it. (Hmm, I wonder how Qt does it since it gets it right.)
CCMAIL: 39172-done@bugs.kde.org
svn path=/trunk/kdebase/kwin/; revision=185453
2002-10-24 15:47:09 +00:00
Luboš Luňák
4304971dfd
Fix #22189 .
...
CCMAIL: 22189-done@bugs.kde.org
svn path=/trunk/kdebase/kwin/; revision=185452
2002-10-24 15:39:36 +00:00
Luboš Luňák
a6304cef72
Fix #30506 by handling the desktop and sticky flag together. The is_sticky
...
flag should go, desk == OnAllDesktops should be the same.
svn path=/trunk/kdebase/kwin/; revision=185277
2002-10-23 15:52:18 +00:00
Luboš Luňák
a5e9e177c0
Back to qt_window_role (KWin really shouldn't use Qt's internals :( ).
...
svn path=/trunk/kdebase/kwin/; revision=185265
2002-10-23 14:38:10 +00:00
Dirk Mueller
9e670223b9
remove debug output I accidentally committed and fix the class documentation
...
svn path=/trunk/kdebase/kwin/; revision=185193
2002-10-22 20:41:49 +00:00
Dirk Mueller
cb1c1ca86d
argh, bloody Qt!!!
...
they renamed the internal variable we're using here :-)
svn path=/trunk/kdebase/kwin/; revision=185172
2002-10-22 18:17:44 +00:00
Luboš Luňák
9711f8b576
Workaround for stupid xv not setting WM_CLASS correctly.
...
svn path=/trunk/kdebase/kwin/; revision=185132
2002-10-22 11:57:43 +00:00
Luboš Luňák
5aaf02f39f
Oh boy, was I really so stupid to make assumptions based on what xv does?
...
svn path=/trunk/kdebase/kwin/; revision=184487
2002-10-18 13:25:19 +00:00