Commit graph

19345 commits

Author SHA1 Message Date
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
Luboš Luňák
ce37c50587 Small cleanups.
svn path=/trunk/kdebase/kwin/; revision=255049
2003-09-30 10:55:06 +00:00
Gunnar Schmidt
59e880217f Added the wide-borders feature to the Quartz decoration
svn path=/trunk/kdebase/kwin/; revision=254896
2003-09-29 16:35:12 +00:00
Luboš Luňák
a3767f483a Fix timestamp before restoring focus - FocusIn event has no timestamp :(.
svn path=/trunk/kdebase/kwin/; revision=254891
2003-09-29 15:56:07 +00:00
Luboš Luňák
0050bd7155 Don't miss synhetic UnmapNotify from XWithdrawWindow() sent
to the root window.

svn path=/trunk/kdebase/kwin/; revision=254877
2003-09-29 14:39:02 +00:00
Luboš Luňák
423d9c1066 *sigh*, ok, reverting r1.39.
svn path=/trunk/kdebase/kwin/; revision=254861
2003-09-29 13:40:25 +00:00
Luboš Luňák
703ea3989f Let's have keyboard shortcut for activating windows demanding attention
by default - Ctrl+Alt+A.

svn path=/trunk/kdebase/kwin/; revision=254819
2003-09-29 11:24:23 +00:00
Luboš Luňák
720b988790 Configurable focus stealing prevention aggressivity.
svn path=/trunk/kdebase/kwin/; revision=254817
2003-09-29 11:23:14 +00:00
Luboš Luňák
81e475c523 Make it possible to find out window type also in createDecoration().
svn path=/trunk/kdebase/kwin/; revision=254816
2003-09-29 11:21:46 +00:00
Luboš Luňák
c8c1c6c764 Since the messages are in kwin's .po file, I guess this is needed.
svn path=/trunk/kdebase/kwin/; revision=254815
2003-09-29 11:21:28 +00:00
Luboš Luňák
a406bee353 Let decoration get show/hide events when showing/hiding the frame.
svn path=/trunk/kdebase/kwin/; revision=254814
2003-09-29 11:21:11 +00:00
Luboš Luňák
4cd961af56 When the original request causing removal of a decoration comes
from the decoration, use delayed delete.

svn path=/trunk/kdebase/kwin/; revision=254813
2003-09-29 11:20:32 +00:00
Luboš Luňák
80376961fc More debug output.
svn path=/trunk/kdebase/kwin/; revision=254812
2003-09-29 11:20:12 +00:00
Luboš Luňák
79796b2fb7 Make keyboard move/resize faster with Alt pressed.
svn path=/trunk/kdebase/kwin/; revision=254811
2003-09-29 11:19:55 +00:00
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
937c7ae491 Let's add some default shortcuts for window moving.
svn path=/trunk/kdebase/kwin/; revision=254807
2003-09-29 11:18:45 +00:00
Gunnar Schmidt
bb54822810 Added the wide-borders feature to the KDE2 decoration
svn path=/trunk/kdebase/kwin/; revision=254590
2003-09-28 14:06:52 +00:00
Gunnar Schmidt
80e11df49c Corrected the size of the diagonal resize corners
svn path=/trunk/kdebase/kwin/; revision=254588
2003-09-28 13:58:33 +00:00
Harald Fernengel
ccdafde758 build
svn path=/trunk/kdebase/kwin/; revision=254548
2003-09-28 11:11:46 +00:00
Gunnar Schmidt
5b518b57b0 Added the wide-borders feature to the Keramik decoration
svn path=/trunk/kdebase/kwin/; revision=254531
2003-09-28 09:59:11 +00:00
Frank Karlitschek
aba6c4993b Merging new badly needed icons. Created by Everaldo. Paid and donated to KDE by SuSE.
Small modifications by me.
Everything LGPL

svn path=/trunk/kdebase/kcontrol/; revision=254464
2003-09-27 22:18:17 +00:00
Script Kiddy
bb49e073fa CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=254273
2003-09-27 04:57:58 +00:00
Stephan Binner
2ec6c54769 Moved window options into a sub-menu. Still not convinced that having full
screen and noborder there is a good idea. How does an application get notified
that it was switched to full screen mode? How do you revert these settings?

svn path=/trunk/kdebase/kwin/; revision=254230
2003-09-26 21:32:49 +00:00
Script Kiddy
cbcad61c71 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=254104
2003-09-26 12:44:59 +00:00
Gunnar Schmidt
219d1f6cca Added the border size feature to the Modern System decoration
The current implementation does not offer the largest two sizes as for those the buttons need to be scaled (which requires bigger changes as the buttons are based on pixmaps).

svn path=/trunk/kdebase/kwin/; revision=254093
2003-09-26 12:09:20 +00:00
Gunnar Schmidt
46d91e95da Added the border size feature to the Redmond decoration
svn path=/trunk/kdebase/kwin/; revision=254092
2003-09-26 12:06:58 +00:00
Script Kiddy
62a9bc1a80 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=253918
2003-09-25 17:42:56 +00:00
Luboš Luňák
dcb2349a19 Fix #64769.
CCMAIL:64769-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=253884
2003-09-25 15:36:10 +00:00
Luboš Luňák
19c204b429 A feeble attempt to fix #63223 that does not really work and is disabled.
svn path=/trunk/kdebase/kwin/; revision=253843
2003-09-25 12:17:35 +00:00
Luboš Luňák
0a84495ba9 Disable debug output for now.
svn path=/trunk/kdebase/kwin/; revision=253820
2003-09-25 10:47:36 +00:00
Luboš Luňák
8261663d5d Use kdebug area, and make the messages less cryptic.
svn path=/trunk/kdebase/kwin/; revision=253819
2003-09-25 10:42:11 +00:00
Luboš Luňák
81c3ff262b This can actually happen with moving/resizing started from keyboard,
buttonDown is then set manually.

svn path=/trunk/kdebase/kwin/; revision=253817
2003-09-25 10:37:27 +00:00
Luboš Luňák
0be0f139fa This shouldn't happen at all anymore, so make it fatal.
svn path=/trunk/kdebase/kwin/; revision=253815
2003-09-25 10:36:31 +00:00
Luboš Luňák
8e367689cd Rework restricted move/resize to be readable, and as a side effect make
it finally work correctly.

svn path=/trunk/kdebase/kwin/; revision=253801
2003-09-25 09:29:18 +00:00
Luboš Luňák
b1fe242be0 Use the right parts of XEvent with MotionNotify.
svn path=/trunk/kdebase/kwin/; revision=253800
2003-09-25 09:28:56 +00:00
Gunnar Schmidt
556c95ec32 added the borderSizes() method to the Plastik decoration and corrected the parameters of the borderSizes() method in the KStep decoration
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253697
2003-09-24 20:02:35 +00:00
Luboš Luňák
67e894e1c6 Update for recent API change.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253675
2003-09-24 18:59:07 +00:00