Commit graph

481 commits

Author SHA1 Message Date
Luboš Luňák
ed4a1bd766 Keep the topmenu space widget below the support window, just like all
other windows created by kwin.
CCMAIL: 85030-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=330910
2004-07-19 15:00:37 +00:00
Luboš Luňák
094befa1de Make it possible to have several rules matching one window.
svn path=/trunk/kdebase/kwin/; revision=321637
2004-06-18 08:57:42 +00:00
Luboš Luňák
6e44fc30b8 Autosave for window rules.
svn path=/trunk/kdebase/kwin/; revision=319665
2004-06-11 15:12:29 +00:00
Luboš Luňák
0f972d789f Instead of snatching the window temporarily from kwin simply tell kwin
what to do with it. I've never liked this hack much, and this should
also take care of #49375, and should make sure kstart options will
have higher priority than settings configured in kwin.

svn path=/trunk/kdebase/kwin/; revision=319662
2004-06-11 15:10:09 +00:00
Luboš Luňák
83657d963d Hide utility windows for inactive applications even right after being shown.
Don't hide utility windows that are standalone or for special windows.

svn path=/trunk/kdebase/kwin/; revision=318750
2004-06-08 14:04:29 +00:00
Luboš Luňák
8e09a9bc22 I guess I could finally find some time to work on things for 3.3.
Initial work on kwin rules, i.e. #36377 , per window specific settings.
So far only desktop/above/below work, no GUI, and settings from the old
'Save window settings' are ignored for now.

svn path=/trunk/kdebase/kwin/; revision=315446
2004-05-28 13:51:11 +00:00
Luboš Luňák
5632bb5129 Patch from Christopher J. Suleski (linux tildewave com) implementing #30426.
CCMAIL: 30426-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=315341
2004-05-28 08:53:44 +00:00
Luboš Luňák
d551f871fb Prefer the newer way of getting startup timestamp from the ASN startup id.
svn path=/trunk/kdebase/kwin/; revision=314706
2004-05-26 09:24:14 +00:00
Andrew Coles
75db450e8b Finished correcting typos in kdebase, phew!
Andrew

svn path=/trunk/kdebase/ksysguard/; revision=312639
2004-05-19 14:32:18 +00:00
Luboš Luňák
12b4954267 Revertlast, already fixed as ##79252 , and this unnecessarily takes
up screen edges.

svn path=/trunk/kdebase/kwin/; revision=312031
2004-05-17 12:06:45 +00:00
Cristian Tibirna
9a48b329fe Also create electric borders for moving only.
CCMAIL: 81599-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=311541
2004-05-15 02:38:47 +00:00
Luboš Luňák
6d919922e2 Better implementation for ##36065.
svn path=/trunk/kdebase/kwin/; revision=305578
2004-04-22 12:30:57 +00:00
Luboš Luňák
23ac6a4381 Initialize values needed for electric borders even in the only-move case.
(#79252).

svn path=/trunk/kdebase/kwin/; revision=304267
2004-04-16 16:17:32 +00:00
Luboš Luňák
f701524d4e Experimental support for #36065 (dragging from a window shouldn't raise it).
Needs a Qt patch.

svn path=/trunk/kdebase/kwin/; revision=304194
2004-04-16 10:23:42 +00:00
Luboš Luňák
854e9cc05a With windows that have are listed for the focus stealing prevention
workaround, don't make their user timestamp newer than the active window's
one (unless a real user activity takes place in them).
As they are belong to the active application and just fail to say so,
this makes sure they won't prevent that application from getting focus
by having newer timestamp. E.g. Alt+F2, typing URL, kio_uiserver dialog
shows (has workaround), SSL certificate dialog shows (shown by kdesktop),
and it wouldn't get focus, because kio_uiserver's timestamp would be later.

svn path=/trunk/kdebase/kwin/; revision=298357
2004-03-24 19:05:49 +00:00
Waldo Bastian
30faf2c53e KIOSK: Hide configure option if control modules have not been authorized
svn path=/trunk/kdebase/kwin/; revision=296848
2004-03-18 13:18:41 +00:00
Luboš Luňák
cc59587052 Don't lock up after doing Ctrl+Alt+Esc and clicking on the root window.
svn path=/trunk/kdebase/kwin/; revision=294662
2004-03-09 13:05:29 +00:00
Luboš Luňák
edbcd03ce9 Fix a problem with topmenu which shows up when turning topmenus off,
adding menu applet, turning them on, removing applet -> kwin won't
notice it has to manage them.

svn path=/trunk/kdebase/kwin/; revision=294455
2004-03-08 15:31:09 +00:00
Luboš Luňák
aee628e008 Fix #76408 - do range checking on _NET_WM_DESKTOP values.
CCMAIL: 76408-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=292889
2004-03-01 17:20:19 +00:00
Luboš Luňák
d2e94b988e Watch properties also on the group leader window, for now only
the startup notification property, but it could be extended
to read icons etc. as well if needed (ICCCM 4.1.2.7).

svn path=/trunk/kdebase/kwin/; revision=291218
2004-02-25 09:51:47 +00:00
Luboš Luňák
339c7a297f Change the alt+f3 warning to avoid saying 'use the keyboard shortcut'
when the shortcut is unset.

svn path=/trunk/kdebase/kwin/; revision=290553
2004-02-23 14:25:55 +00:00
Luboš Luňák
37d83f6c9c No need for quoting with KProcess.
svn path=/trunk/kdebase/kwin/; revision=290537
2004-02-23 13:45:36 +00:00
Luboš Luňák
89aefe8811 Before using the global desktop topmenu, try to find any topmenu
belonging to the application.
CCMAIL: 72113-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=289122
2004-02-18 18:27:04 +00:00
Luboš Luňák
bf814c45e0 Handle two todo comments from the recent partial struts commit,
and fix a problem with clientArea( WorkArea ) ignoring struts.

svn path=/trunk/kdebase/kwin/; revision=289110
2004-02-18 17:57:57 +00:00
Peter Rockai
2eb784cf35 Support for NETWM partial struts (_NET_WM_STRUT_PARTIAL, we call them
extended here, ask Lubos why :>). This patch also includes workaround
for kicker (in its current state, without extended-strut support), so it
works in xinerama setups as expected. Thanks go to Lubos for help with
implementation and for review.

svn path=/trunk/kdebase/kwin/; revision=288758
2004-02-17 17:34:00 +00:00
Luboš Luňák
ed511fc454 Reshuffle the options in the Alt+F3 menu a bit and see what is does ...
svn path=/trunk/kdebase/kwin/; revision=287759
2004-02-13 15:15:37 +00:00
Luboš Luňák
5f079f5e3d Fix for #67416 by Martin Koller + my grab code changes to get mouse
clicks even for the active window.

svn path=/trunk/kdebase/kwin/; revision=286702
2004-02-10 09:24:57 +00:00
Luboš Luňák
e5d090ff4d When the X focus gets set to None, reset it to the null focus window,
so that keyboard shortcuts still work.

svn path=/trunk/kdebase/kwin/; revision=284489
2004-02-02 14:17:01 +00:00
Luboš Luňák
1f3ee9b39c Fix problem with: Topmenus enabled, konqueror started, Ctrl+N,
html form submitted -> first window is raised above second,
because the dialog is group transient, and the second's window topmenu
was not above the first's one.

svn path=/trunk/kdebase/kwin/; revision=283817
2004-01-30 14:55:47 +00:00
Luboš Luňák
455e128802 Minor fix - don't show the empty topmenu area for fullscreen windows,
it would obscure the top part of the window.

svn path=/trunk/kdebase/kwin/; revision=280267
2004-01-16 17:03:14 +00:00
Luboš Luňák
c1d1b6289f Make sure there aren't two windows given focus with the same X timestamp,
because if one timestamp is reused for activating window A and then
immediatelly window B, and A will want to set focus to one
of its subwindows after receiving WM_TAKE_FOCUS, and will lag a bit,
it will actually set the focus after B, and will win. Fixes #71704.

If somebody still gets the warning, I'd be interested in the backtrace.

svn path=/trunk/kdebase/kwin/; revision=278208
2004-01-09 17:35:21 +00:00
Luboš Luňák
997f45b25e Show the topmenu_space window reserving the space for standalone menubars
only if there's no menubar active. Helps Fredrik to have the menu shadow
exactly in the color he wants :).

svn path=/trunk/kdebase/kwin/; revision=273185
2003-12-15 18:30:14 +00:00
Luboš Luňák
0ba12a0837 Perform whole new window managing with X server grab, in order to prevent
"smart" apps from doing stupid things before they get MapNotify.
This avoids the recent Java+OracleInstaller strange problem too.
The patch may look huge, but it's only adding two KWin wrappers
for X(Un)GrabServer() and uncommenting the calls in Client::manage().

svn path=/trunk/kdebase/kwin/; revision=271152
2003-12-04 13:54:10 +00:00
Luboš Luňák
897e67f79a Partially revert the recent xinerama commit - !isMapped == useCursorPos
was always true, no need for another argument.

svn path=/trunk/kdebase/kwin/; revision=269308
2003-11-24 15:05:50 +00:00
George Staikos
875fc62836 Reimplement Xinerama placement. Patch from Balaji Ramani.
CCMAIL: balaji@yablibli.com

svn path=/trunk/kdebase/kwin/; revision=268719
2003-11-21 23:00:38 +00:00
Luboš Luňák
b3c1af874a Temporarily comment out Q_ASSERT's about stacking order, as they're quite
harmless, but everybody blames them in their bugreports.

svn path=/trunk/kdebase/kwin/; revision=268335
2003-11-20 09:05:32 +00:00
Luboš Luňák
95cc10f6ca Try harder to find the matching topmenu for kdesktop.
svn path=/trunk/kdebase/kwin/; revision=268022
2003-11-18 18:10:36 +00:00
Luboš Luňák
e636ef9f6b Windows on all desktops are indeed on all desktops.
svn path=/trunk/kdebase/kwin/; revision=266850
2003-11-13 17:13:17 +00:00
Luboš Luňák
d46c7413c4 Hopefully final fixes for topmenus managed by KWin to work (#66152).
Written by Schizo, reviewed by Frenia. As it was broken anyway, I don't
think this can break it more.

svn path=/trunk/kdebase/kwin/; revision=266813
2003-11-13 14:34:05 +00:00
Luboš Luňák
0ec4c11585 Small topmenu fixes.
svn path=/trunk/kdebase/kwin/; revision=266534
2003-11-12 10:03:42 +00:00
Luboš Luňák
1d71c9839b Reserve space for topmenus, so there's no flicker, and the space is taken
even with no topmenu shown. Support topmenus only when enabled in kdeglobals.

svn path=/trunk/kdebase/kwin/; revision=266531
2003-11-12 09:47:13 +00:00
Luboš Luňák
f4604d4162 Make sure topmenu is on the same virtual desktop as the active window
for which it's shown.

svn path=/trunk/kdebase/kwin/; revision=266399
2003-11-11 18:51:10 +00:00
Luboš Luňák
bd81e83d55 Override-redirect windows in the window manager itself don't make any
difference, and Keith Packard said it's better without it for some
translucency toy or whatever it is, so let's get rid of WX11BypassWM in KWin.

svn path=/trunk/kdebase/kwin/; revision=266398
2003-11-11 18:38:19 +00:00
Luboš Luňák
f8886f4f01 Make sure desktop is active after startup if there's no other window active
svn path=/trunk/kdebase/kwin/; revision=266152
2003-11-10 18:09:16 +00:00
Luboš Luňák
70645a691a When a new window appears in a group, make sure group transients are
transient for it.

svn path=/trunk/kdebase/kwin/; revision=266151
2003-11-10 18:08:59 +00:00
Luboš Luňák
07b08d5d99 Don't use struts if KWin itself restricts workarea size by topmenus.
svn path=/trunk/kdebase/kwin/; revision=266150
2003-11-10 18:08:04 +00:00
Luboš Luňák
323806acbe Don't obscure windows that are not visible, otherwise switching between
two empty desktops can flicker.

svn path=/trunk/kdebase/kwin/; revision=263247
2003-10-30 17:22:06 +00:00
Luboš Luňák
240ad036d0 Make system tray temporarily set _KDE_SYSTEM_TRAY_EMBEDDING property on
windows while embedding them, allowing KWin to figure out it's being used
and that it's not going away. This hack avoids the reparenting fight
between KWin and QXEmbed where QXEmbed started to loose after the recent
fixes.
In order to make systray really work, QXEmbed still needs some fixes
related to not destroying the embedded window.

svn path=/trunk/kdebase/kwin/; revision=263178
2003-10-30 10:10:54 +00:00
Luboš Luňák
26a5b0bfb4 I'm not sure anymore what that was, but pointing out that kwin could
simply use kdialog was right.

svn path=/trunk/kdebase/kwin/; revision=261293
2003-10-23 13:38:42 +00:00
Luboš Luňák
8b5159bb1a Warn when somebody plays too much, turns off a border and doesn't know how
to put it back *sigh*.

CCMAIL: 64938-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=258583
2003-10-13 16:22:39 +00:00