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