Commit graph

1881 commits

Author SHA1 Message Date
Luboš Luňák
984c76f0c1 More shade related changes.
svn path=/trunk/kdebase/kwin/; revision=257727
2003-10-10 13:00:26 +00:00
Luboš Luňák
d45a853dd4 Fixes related to shown shaded windows.
svn path=/trunk/kdebase/kwin/; revision=257726
2003-10-10 13:00:01 +00:00
Luboš Luňák
7f30475e40 Read initial states of windows.
svn path=/trunk/kdebase/kwin/; revision=257725
2003-10-10 12:59:40 +00:00
Luboš Luňák
34fa4a4399 Cleanup of Xinerama handling. I don't claim I actually fixed something,
but at least now the code doesn't look like uncommented random something.
And who knows, maybe I even fixed it ;).

CCMAIL: staikos@kde.org

What the hell does "Show unmanaged windows on:" mean in the kcm dialog?

svn path=/trunk/kdebase/kwin/; revision=257723
2003-10-10 12:58:38 +00:00
Hasso Tepper
f89dfaa318 Wrap if translated string doesn't have rich text elements in text.
svn path=/trunk/kdebase/kwin/; revision=257721
2003-10-10 12:56:02 +00:00
Luboš Luňák
e8da27f399 Fix #65462.
svn path=/trunk/kdebase/kwin/; revision=257720
2003-10-10 12:55:43 +00:00
Luboš Luňák
83835a8757 Small cleanup related to timestamp handling.
svn path=/trunk/kdebase/kwin/; revision=257715
2003-10-10 12:48:09 +00:00
Script Kiddy
0deb5fa09d CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=257693
2003-10-10 11:27:56 +00:00
Luboš Luňák
2981785b56 Support for UrgencyHint - such windows are demanding attention when inactive.
svn path=/trunk/kdebase/kwin/; revision=257691
2003-10-10 11:23:42 +00:00
Luboš Luňák
128085b3d7 Don't try to fit a window inside workarea if it's larger.
CCMAIL: 65633-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=257662
2003-10-10 09:47:14 +00:00
Luboš Luňák
b95ee3bbb1 Obey motif hints only from apps that don't support the NETWM spec, as
those should set window type, and should not be stupid.
Actually the reason for this change is OO setting the no-resize Motif hint,
and requesting that the WM fullscreens the window, which, guess what, means
resizing the window, but this makes sense in general.

svn path=/trunk/kdebase/kwin/; revision=257177
2003-10-08 09:33:15 +00:00
Script Kiddy
02933b7c03 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=257156
2003-10-08 05:07:26 +00:00
Luboš Luňák
1d87270bb3 Make a difference between fake session data ('save window settings')
and real SM session data.

svn path=/trunk/kdebase/kwin/; revision=256757
2003-10-06 14:40:19 +00:00
Luboš Luňák
ee848958b3 Make a difference between fake session data ('save window settings')
and real SM session data.

svn path=/trunk/kdebase/kwin/; revision=256749
2003-10-06 14:19:06 +00:00
Luboš Luňák
43ff6ea638 Move struct SessionInfo from workspace.h to sm.h .
svn path=/trunk/kdebase/kwin/; revision=256747
2003-10-06 14:03:15 +00:00
Luciano Montanaro
e07db73f38 Removed superfluous Q_OBJECT
svn path=/trunk/kdebase/kwin/; revision=256725
2003-10-06 13:02:49 +00:00
Luboš Luňák
566d2ec180 Unshade before going fullscreen.
svn path=/trunk/kdebase/kwin/; revision=256710
2003-10-06 11:36:24 +00:00
Luboš Luňák
e85dae70f5 Don't allow turning off the border while shaded.
svn path=/trunk/kdebase/kwin/; revision=256709
2003-10-06 11:31:43 +00:00
Stephan Binner
30d013ce07 CVS_SILENT i18n style guide fix
svn path=/trunk/kdebase/kwin/; revision=256501
2003-10-05 15:12:49 +00:00
Luciano Montanaro
13037237fc CCMAIL: Gunnar Schmi Dt <gunnar@schmi-dt.de>
Applied Gunnar's patch, tweaked minimumSize()

svn path=/trunk/kdebase/kwin/; revision=256483
2003-10-05 14:23:10 +00:00
Script Kiddy
74e89c0549 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=256379
2003-10-05 05:28:29 +00:00
Luciano Montanaro
7f6a69be67 Fixed bottom border rendering, made titlebar at least as large as the resize
handle, like the other decorations do.

svn path=/trunk/kdebase/kwin/; revision=256350
2003-10-04 23:55:55 +00:00
George Staikos
a98beeee30 KWhatsBroken tells me that redmond is broken. This appears to be what the
other clients do

svn path=/trunk/kdebase/kwin/; revision=256310
2003-10-04 21:27:23 +00:00
Luciano Montanaro
9ccad80cc4 Added support for variable border sizes.
Currently only BorderTiny, BorderNormal, BorderLarge and BorderVeryLarge are
supported.  I'll add the other sizes after making the titlebar height
adjustable too.

svn path=/trunk/kdebase/kwin/; revision=256260
2003-10-04 18:53:44 +00:00
Luciano Montanaro
4dca82efb1 A little eyecandy:
support titlebar color gradients

svn path=/trunk/kdebase/kwin/; revision=256082
2003-10-04 02:02:07 +00:00
Luciano Montanaro
78f1c3ab0e CCMAIL: rcliff@panix.com
Fixed maximization. Thanks to Robert Clifford for noticing the bug.

svn path=/trunk/kdebase/kwin/; revision=256063
2003-10-04 00:15:34 +00:00
Script Kiddy
52c25a402d CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=255994
2003-10-03 20:22:06 +00:00
Gunnar Schmidt
bde8e27f21 fixed a problem in KeramikClient::mousePosition
svn path=/trunk/kdebase/kwin/; revision=255907
2003-10-03 13:51:02 +00:00
Luciano Montanaro
5e32acc176 CCMAIL: l.lunak@kde.org
Make middle and right click on window buttons work again.
The solution looks a bit like a workaround for some kwin problem, though.
Why do I have to always fake a LeftButton press?

svn path=/trunk/kdebase/kwin/; revision=255894
2003-10-03 12:03:16 +00:00
Luciano Montanaro
47f5381fca Constified bitmap data
svn path=/trunk/kdebase/kwin/; revision=255846
2003-10-03 08:09:15 +00:00
Luciano Montanaro
2e42c39a74 CVS_SILENT
Fixed typo in a comment, reworded one of my notes

svn path=/trunk/kdebase/kwin/; revision=255712
2003-10-02 16:52:20 +00:00
Luciano Montanaro
ea9742f367 Implemented basics of accessibility support. I'll tweak it a bit more later on.
svn path=/trunk/kdebase/kwin/; revision=255711
2003-10-02 16:46:13 +00:00
Andy Goossens
2047c24dff remove doubles
svn path=/trunk/kdebase/kwin/; revision=255689
2003-10-02 14:46:47 +00:00
Luboš Luňák
cb51d8ebd6 Another minicli focus stealing prevention fix, this time for David.
svn path=/trunk/kdebase/kwin/; revision=255682
2003-10-02 14:38:17 +00:00
Luboš Luňák
52b2452085 Catch all events related to clients, even if they're not e->xany.window .
svn path=/trunk/kdebase/kwin/; revision=255661
2003-10-02 12:33:51 +00:00
Luboš Luňák
9d641a1ac5 Updates.
svn path=/trunk/kdebase/kwin/; revision=255618
2003-10-02 09:03:40 +00:00
Luboš Luňák
08bb12efcf If a windows tries to grow larger than the workarea, don't allow it to
do so, if size constraints allow it.
If resizing a window would make it get partially out of workarea,
move it so that it stays in workarea.

svn path=/trunk/kdebase/kwin/; revision=255616
2003-10-02 08:57:17 +00:00
Luboš Luňák
121c613228 Gravitation fixes, visible with repeated kwin --replace.
svn path=/trunk/kdebase/kwin/; revision=255615
2003-10-02 08:56:59 +00:00
Luboš Luňák
3e1df92066 Try to place dialogs on their mainwindow. Except for non-NETWM apps
where the it's transient therefore it's a dialog assumption is not true
often enough for this to be annoying.

svn path=/trunk/kdebase/kwin/; revision=255614
2003-10-02 08:56:44 +00:00
Luboš Luňák
6f272da774 Revert special dialog placement policies. I don't think I need to go
that far with overconfigurability.

svn path=/trunk/kdebase/kwin/; revision=255440
2003-10-01 16:51:19 +00:00
Luboš Luňák
7c751219d0 Check "unshading" by unwanted geometry change during resizing too.
svn path=/trunk/kdebase/kwin/; revision=255419
2003-10-01 16:04:26 +00:00
Luboš Luňák
74536fc72c Oops, mainClients() returns a temporary (just like if its comment didn't
say so ...). Fixes #65297.

svn path=/trunk/kdebase/kwin/; revision=255416
2003-10-01 15:46:23 +00:00
Luciano Montanaro
017a08e98b CCMAIL: kwin@kde.org
The fix wasn't complete. A doShape() is also needed.

svn path=/trunk/kdebase/kwin/; revision=255366
2003-10-01 13:01:50 +00:00
Luciano Montanaro
4f8f89cf46 CCMAIL: kwin@kde.org
Fixed the misrendered shaded border.
For me, the problem was fixed by redoing the layout in the shapeChange()
function. Maybe the other styles have to modified in a similar way.

I'd like to reduce the width of the window border to the titlebar width only,
instead of the full window border. In the BeeToo, I obtain a similar effect by
painting the titlebar only, but the trick is revealed by the window snap zones,
and the transparent border. Is there a way to do this cleanly with current kwin?

svn path=/trunk/kdebase/kwin/; revision=255364
2003-10-01 12:55:55 +00:00
Luboš Luňák
bd4789e32b Looks like I got window gravities working correctly also for configure requests.
CCMAIL: 64981-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=255356
2003-10-01 12:10:22 +00:00
Luboš Luňák
6b3d8e134a Implemented _NET_MOVERESIZE_WINDOW.
Moved KWin code related to configure request to geometry.cpp to a common function.

svn path=/trunk/kdebase/kwin/; revision=255355
2003-10-01 12:08:53 +00:00
Luboš Luňák
ca3a1382f2 Drop configure events compression
a) it's wrong (it may e.g. miss gravity change)
b) I doubt it improves anything

svn path=/trunk/kdebase/kwin/; revision=255354
2003-10-01 12:08:09 +00:00
Luciano Montanaro
ba06d6afbf Fixed bug #46966 using the first of the suggested methods.
The second part of the bug report does not seem to apply to any other
decoration in CVS.

Removed redundant copies of MouseEvents, since I were at it.

svn path=/trunk/kdebase/kwin/; revision=255165
2003-09-30 18:13:18 +00:00
Luboš Luňák
9226142471 Announce support for restacking.
svn path=/trunk/kdebase/kwin/; revision=255113
2003-09-30 15:15:21 +00:00
Luboš Luňák
90281645bf As KPassivePopup shows, things can be annoying even if they don't steal
the focus and just are there. Therefore, as a part of focus stealing
prevention, let's also block raising of windows. Also added special
request for Kicker, as taskbar requests for raising should be obeyed.
(Not that this does anything to KPassivePopup.)

svn path=/trunk/kdebase/kicker/taskmanager/; revision=255070
2003-09-30 12:49:23 +00:00