Commit graph

311 commits

Author SHA1 Message Date
Luboš Luňák
20f980dff7 Make sure also dialogs are not placed under toplevel menubar or
Kicker at the top edge.

svn path=/trunk/kdebase/kwin/; revision=177159
2002-09-11 13:02:54 +00:00
Matthias Ettrich
7a9e7dbb24 WM applet fixes: ignore withdrawn windows on a few more places, and (slightly hacky)
set the skip-taskbar NETWM hin on windows that have an initial_state of WithDrawn

svn path=/trunk/kdebase/kwin/; revision=176459
2002-09-08 15:45:26 +00:00
Matthias Ettrich
e579db0c68 better fix for the click-raise problem (one that actually keeps the taskbar functional...)
svn path=/trunk/kdebase/kwin/; revision=176420
2002-09-08 12:57:41 +00:00
Matthias Ettrich
b301468a80 in takeFocus, do not suppress the activation of dock windows when
those are not stays on top

svn path=/trunk/kdebase/kwin/; revision=176411
2002-09-08 12:09:55 +00:00
Luboš Luňák
3d3c5fa658 Fix #47434 .
svn path=/trunk/kdebase/kwin/; revision=175815
2002-09-05 07:57:53 +00:00
Luboš Luňák
3b57952b03 Take care of #46042. [...resisted to say here something about Motif >;> ]
svn path=/trunk/kdebase/kwin/; revision=174310
2002-08-28 15:17:31 +00:00
Matthias Ettrich
9edf8b7563 Release the passive button grab for active inner windows, essentially
reverting the last two patches.

Releasing the grab was actually a _feature_, not a bug. This is
necessary to keep legacy applications running (e.g. some Motif apps).
Unfortunately a replayed mouse event sometimes is not the same as the
original event!

This has the other nice benefit that you can activate a window without
raising it by clicking onto the titlebar with LMB and use the window
without it being raised.

If this has problems with some new kicker behaviour, it's kicker that needs
to be adjusted, not kwin.

svn path=/trunk/kdebase/kwin/; revision=174276
2002-08-28 12:24:10 +00:00
John Firebaugh
94dda57f2c Fix for the fix: pass clicks for Activate actions when we are already active.
svn path=/trunk/kdebase/kwin/; revision=173645
2002-08-25 01:04:42 +00:00
John Firebaugh
944e892c9b Make sure active but not topmost windows get raised appropriately on inner-
window clicks.

CCMAIL:45021-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=173636
2002-08-24 22:03:49 +00:00
Luboš Luňák
0714a8d003 Get rid of client_popup, as (not) discussed on kwin@.
This patch should fix such interesting things like closing the toplevel
menubar with Alt+F4 or moving Kicker to a different desktop using
keyboard shortcuts.

svn path=/trunk/kdebase/kwin/; revision=170646
2002-08-06 07:45:29 +00:00
Luboš Luňák
487f30a4ec Some fixes for the NET::TopMenu/NET::Menu hack.
svn path=/trunk/kdebase/kwin/; revision=168742
2002-07-25 20:08:09 +00:00
Luboš Luňák
a815fc2f6e It wasn't an over-optimization, there was just a small bug elsewhere.
svn path=/trunk/kdebase/kwin/; revision=168568
2002-07-24 19:46:20 +00:00
Karol Szwed
7c72db2685 Make the mouse cursor change again when resizing or hovering over the window border
by removing an over-optimisation.

svn path=/trunk/kdebase/kwin/; revision=166431
2002-07-13 14:44:01 +00:00
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