Commit graph

354 commits

Author SHA1 Message Date
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
Karol Szwed
bbb9426543 Fix bug #45759 - CDE window cycling lockup
svn path=/trunk/kdebase/kwin/; revision=168816
2002-07-26 06:26:35 +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
Oliver Bausinger
8824060f12 fix the disappearence of kwinoptions and provide the other (new)
control modules in the Configure... menu

svn path=/trunk/kdebase/kwin/; revision=166110
2002-07-11 20:54:54 +00:00
Luboš Luňák
3e236f2416 I don't think it's a good idea to show menubar belonging to another app.
svn path=/trunk/kdebase/kwin/; revision=165442
2002-07-07 18:54:20 +00:00
Luboš Luňák
37f217a8ce No, it was QObject-style owned by the Workspace object, not that the delete breaks anything.
BTW, the check in 'if(ptr) delete ptr;' is useless, 'delete NULL;' is a no-op.

svn path=/trunk/kdebase/kwin/; revision=165288
2002-07-06 20:16:36 +00:00
Luboš Luňák
df4449b0bf Show at least the desktop's toplevel menubar if the app's one isn't visible yet.
svn path=/trunk/kdebase/kwin/; revision=165078
2002-07-05 20:08:17 +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
2e99608428 CT: re-place a window when it is moved between desktops.
svn path=/trunk/kdebase/kwin/; revision=164082
2002-07-01 04:22:02 +00:00
Gioele Barabucci
9f0f7accc6 KShellProcess -> KProcess + setUseShell(true)
svn path=/trunk/kdebase/kdm/; revision=163814
2002-06-29 15:05:20 +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
Luboš Luňák
8366e220bf NETWM says we have to set this property to (0,0) if we don't support it
svn path=/trunk/kdebase/kwin/; revision=163694
2002-06-28 20:28:33 +00:00
Luboš Luňák
5380502347 Toplevel menubar is not sticky.
svn path=/trunk/kdebase/kwin/; revision=163046
2002-06-25 07:42:01 +00:00
Nadeem Hasan
b36c644b72 Don't show desktop menu when there is only one desktop configured. Thanks
to aseigo for the original patch.

svn path=/trunk/kdebase/kwin/; revision=160391
2002-06-11 19:49:38 +00:00
Gioele Barabucci
21f19dd604 avoid "&" becoming "_" in desk_popup
svn path=/trunk/kdebase/kwin/; revision=158508
2002-05-29 21:31:32 +00:00
Nadeem Hasan
23902d7580 Use proper icon for "Close"
svn path=/trunk/kdebase/kwin/; revision=158507
2002-05-29 21:28:57 +00:00
Waldo Bastian
1448e53da5 Don't show the desktop menubar when a full-screen app is shown.
svn path=/trunk/kdebase/kwin/; revision=157263
2002-05-23 23:57:47 +00:00
Matthias Ettrich
a99e99eacc restore legacy session after notifying ksplash that we are up and running
svn path=/trunk/kdebase/kwin/; revision=149562
2002-04-15 13:06:01 +00:00
Waldo Bastian
ca1a4a27fa (BR40234)
Fixes disappearing kdesktop-menubar in combination with "desktop icons disabled"

svn path=/trunk/kdebase/kwin/; revision=148030
2002-04-08 23:43:19 +00:00
Cristian Tibirna
6f14920e91 CT: fix for bug:28599 (by M. Ettrich). Update copyright
svn path=/trunk/kdebase/kwin/; revision=147882
2002-04-08 12:58:27 +00:00
Cristian Tibirna
de30273aad CT: fix the desktop cascading (got broken sometime during my 2 years sleep).
Closes bug:5370, the oldest kwin bug (filed as a wish, but really a bug).

svn path=/trunk/kdebase/kwin/; revision=147571
2002-04-07 06:55:48 +00:00
Cristian Tibirna
e104c57e6a GUI:
CT: close bug:40009

svn path=/trunk/kdebase/kwin/; revision=147552
2002-04-07 02:22:25 +00:00
Alexander Kellett
d343b3a1a3 Recommiting PopupInfo after several thousand cleanups inspired by CT
svn path=/trunk/kdebase/kwin/; revision=147307
2002-04-05 19:54:21 +00:00
Matthias Ettrich
789bb8c535 1. fix the "kill kicker with -9 and loose system tray icons" problem:
// If the system tray gets destroyed, the system tray
	    // icons automatically get unmapped, reparented and mapped
	    // again to the closest non-client ancestor due to
	    // QXEmbed's SaveSet feature. Unfortunatly with kicker
	    // this closest ancestor is not the root window, but our
	    // decoration, so we reparent explicitely back to the root
	    // window.


2. Removed popupinfo feature for now. The feature is a great idea, but the
implementation was too much copy&paste and code duplication with the
tab box. Plus it was buggy (no vertical center alignment) and contained
many unused codelines.

3. Fixed and simplified the session management handling (thanks to
KSessionManaged in libkdecore). This way we actually get a proper
discardCommand generated by KApplication, something that was missing
previously.

svn path=/trunk/kdebase/kwin/; revision=146580
2002-04-02 12:36:24 +00:00
Alexander Kellett
3e43789786 "wmaker-like" popup messages on desktop switch.
svn path=/trunk/kdebase/kwin/; revision=146349
2002-04-01 02:54:00 +00:00
Waldo Bastian
a0ca762edd * Do not use config.h in header files.
* Throw out unused Xinerama code.

svn path=/trunk/kdebase/kwin/; revision=143596
2002-03-18 08:30:50 +00:00
Stephan Kulow
1b6bb5f2f2 paranoia mode
-    int boundingShaped, clipShaped;
+    int boundingShaped = 0, clipShaped = 0;

svn path=/trunk/kdebase/kwin/; revision=143391
2002-03-17 13:31:35 +00:00
Karol Szwed
e9b984e3f8 - Make KApp's "appearanceChanged()" signal properly reconfigure the window
decoration's colors by calling the reset() cdecl.
- Change the options::reload() slot into a public method, as the slot is no
  longer required.

Reviewed by Matthias Elter

svn path=/trunk/kdebase/kwin/; revision=143232
2002-03-16 09:26:49 +00:00
Karol Szwed
42d7554980 Don't crash when closing a window :-)
-    if (c == popup_client)
+    if (c == popup_client && popup)
        popup->close();

svn path=/trunk/kdebase/kwin/; revision=142399
2002-03-11 13:09:56 +00:00
Cristian Tibirna
d36b5b10da CT: 2-line modif. Fixes a bad crash.
svn path=/trunk/kdebase/kwin/; revision=142312
2002-03-11 05:02:50 +00:00
Ilya Konstantinov
305331deca Use the new DCOP signals API.
svn path=/trunk/kdebase/kwin/; revision=141700
2002-03-08 07:14:30 +00:00
Ellis Whitehead
779bac3917 Get Win+Tabbing to work when it's associated with Super instead of Meta.
svn path=/trunk/kdebase/kwin/; revision=140912
2002-03-04 12:37:56 +00:00
Cristian Tibirna
1e3bfadcd2 CT: client menu doesn't appear if client isDesktop()
svn path=/trunk/kdebase/kwin/; revision=140749
2002-03-03 23:28:04 +00:00
Matthias Ettrich
e264ffa6bb removed unused signal. We can always add it later if we need it. Avoids
qWarning message

svn path=/trunk/kdebase/kwin/; revision=140746
2002-03-03 23:19:56 +00:00
Cristian Tibirna
c125fb612d CT: we _really_ don't want to show an operations menu if the active
client is the desktopWidget. Checked by Lubos Lunak

svn path=/trunk/kdebase/kwin/; revision=140684
2002-03-03 21:13:03 +00:00
Matthias Ettrich
3038d6f96b remove skip_taskbar windows from the focus chain after manage
svn path=/trunk/kdebase/kwin/; revision=140616
2002-03-03 16:56:41 +00:00
Cristian Tibirna
be3a8384f3 CT: don't warp mouse if we didn't change the desktop (in electric borders). Reviewed by Matthias Ettrich
svn path=/trunk/kdebase/kwin/; revision=140608
2002-03-03 16:29:29 +00:00
Cristian Tibirna
53c0a8100e CT: place the cursor in the center of the window when moving by mouse
svn path=/trunk/kdebase/kwin/; revision=140566
2002-03-03 13:56:55 +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
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
Matthias Ettrich
c981ba005c fixed spelling error. QT is quick time video, the beloved toolkit is
spelled Qt (note the lowercase 't')

svn path=/trunk/kdebase/kwin/; revision=140332
2002-03-02 21:05:35 +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
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
dd29e3723c faster configuration changes. No crashes when reconfiguring kwin
several times with invalid plugin strings (happens when running
today's kpersonalizer)

svn path=/trunk/kdebase/kwin/; revision=139725
2002-03-01 01:34:54 +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
51268a6d18 CT: make it possible to stop desktop switching when the edge of the desktops group is reached.
Just add RollOverDesktops=false to your kwinrc/[Windows] config file and restart your kwin.
	Thanks to Carsten Pfeiffer for the suggestion

svn path=/trunk/kdebase/kwin/; revision=139620
2002-02-28 21:04:36 +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