Commit graph

390 commits

Author SHA1 Message Date
Luboš Luňák
a4b6ba8032 Save some duplicated code.
svn path=/trunk/kdebase/kwin/; revision=197003
2003-01-02 16:57:08 +00:00
Luboš Luňák
73e6f75ab7 _NET_NUMBER_OF_DESKTOPS is ok now
svn path=/trunk/kdebase/kwin/; revision=196975
2003-01-02 14:41:22 +00:00
Luboš Luňák
68eb8a80fb _NET_CLIENT_LIST is now ok, except for small stupid detail.
svn path=/trunk/kdebase/kwin/; revision=196944
2003-01-02 13:00:52 +00:00
Luboš Luňák
5100e63107 Client::is_sticky_ is dead and would be gone, if it weren't for BIC.
No need to this duplication of Client::desk == NET::OnAllDesktops.
It's simple, desk == NET::OnAllDesktops - sticky
             desk == 0 - not mapped yet
             desk something else - the desktop the window is on

svn path=/trunk/kdebase/kwin/; revision=196529
2002-12-30 20:34:38 +00:00
Luboš Luňák
fc34663134 Fix #52376. Maybe.
svn path=/trunk/kdebase/kwin/; revision=196526
2002-12-30 20:21:50 +00:00
Luboš Luňák
09b8f2b184 Client::is_sticky will go soon, as it may become inconsistent with
Client::desk . But this fixes the problem for now.

svn path=/trunk/kdebase/kwin/; revision=196351
2002-12-29 18:41:54 +00:00
Luboš Luňák
7d89180191 <= numberOfDesktops().
svn path=/trunk/kdebase/kwin/; revision=196350
2002-12-29 18:39:01 +00:00
Ryan Cumming
a80aa9abc7 Compile
svn path=/trunk/kdebase/kwin/; revision=196087
2002-12-28 00:25:19 +00:00
Luboš Luňák
92396f254d Work areas (_NET_WORKAREA) are actually to be supposed per-desktop.
svn path=/trunk/kdebase/kwin/; revision=196073
2002-12-27 22:32:17 +00:00
Luboš Luňák
5ad28f6c67 Docks are not required to be sticky, and Kicker etc. set it, so let's not
force it.

svn path=/trunk/kdebase/kwin/; revision=196071
2002-12-27 22:29:22 +00:00
Luboš Luňák
249d025c75 Set the _NET_DESKTOP_GEOMETRY property.
svn path=/trunk/kdebase/kwin/; revision=196068
2002-12-27 22:26:30 +00:00
Luboš Luňák
13620c1952 Update necesary _NET_WM_ properties on the desktop count change.
Also save the desktop names only to kwinrc, there's no reason for them
to be in kdeglobals.

svn path=/trunk/kdebase/kwin/; revision=196064
2002-12-27 22:22:50 +00:00
Luboš Luňák
30a6b25432 Make sure _NET_ACTIVE_WINDOW is always up to date, and set to None
if there's no active window.

svn path=/trunk/kdebase/kwin/; revision=196063
2002-12-27 22:18:10 +00:00
Luboš Luňák
a396827dee I wonder if this makes a real difference.
svn path=/trunk/kdebase/kwin/; revision=194589
2002-12-18 08:48:11 +00:00
Luboš Luňák
7b3f3bdd3b CCMAIL: klas.kalass@gmx.de
You managed to backport a nice crash to both 3.1 and 3.0 branches. It would
be nice if you posted your patches for review to kwin@kde.org next time,
especially when backporting.

svn path=/trunk/kdebase/kwin/; revision=194498
2002-12-17 19:27:19 +00:00
Luboš Luňák
336667733e keyboard shortcuts for always-on-top & on-all-desktops
(#49083).

svn path=/trunk/kdebase/kwin/; revision=194462
2002-12-17 16:09:08 +00:00
Klas Kalass
17c4c1f75c do not force desktop menu on top of windows that want to be on top, fixes fullscreen behaviour for non-kde apps with multiple windows (i.e. mplayer)
svn path=/trunk/kdebase/kwin/; revision=193897
2002-12-14 15:20:45 +00:00
Luboš Luňák
6a0c7144b6 KProcess::setUseShell() doesn't make sense here.
svn path=/trunk/kdebase/kwin/; revision=192246
2002-12-05 17:22:46 +00:00
Luboš Luňák
1519056ee1 Grmbl. Make the NET::Menu -> NET::TopMenu hack less strict.
svn path=/trunk/kdebase/kwin/; revision=189732
2002-11-19 14:44:11 +00:00
Luboš Luňák
dfcc58b00f Fix #49369 and generally try to improve window matching.
Use WM_WINDOW_ROLE also for fake sessions (Save window settings).
Remember also window type.

svn path=/trunk/kdebase/kwin/; revision=185456
2002-10-24 16:22:15 +00:00
Luboš Luňák
6a1b175c7f Damn, I hate keeping BC in an application.
svn path=/trunk/kdebase/kwin/; revision=184473
2002-10-18 11:26:55 +00:00
Luboš Luňák
e494dc3161 Fix #47757. Approved by Gallium.
svn path=/trunk/kdebase/kwin/; revision=184026
2002-10-15 13:42:35 +00:00
Luboš Luňák
35c890d029 Fix #44133. Approved by Gallium.
svn path=/trunk/kdebase/kwin/; revision=184025
2002-10-15 13:41:37 +00:00
Luboš Luňák
ad2369b5ac Fix #48378.
svn path=/trunk/kdebase/kwin/; revision=181220
2002-09-30 08:34:24 +00:00
Ellis Whitehead
f86f8f1378 Only print out the primary shortcuts (not the secondary) in Workspace::clientPopup()
svn path=/trunk/kdebase/kwin/; revision=180120
2002-09-24 14:23:13 +00:00
Aaron J. Seigo
4706a46264 disambiguate the window manager references in the titlebar menu
Sto&re Settings => Sto&re Window Settings
Configur&e => Configur&e Window Behavior...

svn path=/trunk/kdebase/kwin/; revision=179542
2002-09-22 03:33:06 +00:00
Matthias Ettrich
251c8ec906 disable the close icon (rather than not-checking it!) on non-closeable
windows. Make toolbars closeable by default (I really love to be able
to close kpager again)

svn path=/trunk/kdebase/kwin/; revision=178978
2002-09-19 17:22:31 +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
Luboš Luňák
3d3c5fa658 Fix #47434 .
svn path=/trunk/kdebase/kwin/; revision=175815
2002-09-05 07:57:53 +00:00
Luboš Luňák
df05c96459 Ok, looks like it wasn't BIC after all.
svn path=/trunk/kdebase/kwin/; revision=175636
2002-09-04 07:27:06 +00:00
Luboš Luňák
427941efea Keep BC.
svn path=/trunk/kdebase/kwin/; revision=175540
2002-09-03 16:47:41 +00:00
Matthias Ettrich
e3dddfb21d the return of the popup_client, at least a tiny little bit :-) See
discussion on kwin@mail.kde.org

svn path=/trunk/kdebase/kwin/; revision=175528
2002-09-03 16:05:30 +00:00
Cristian Tibirna
e5d7df3d7f CT: revert non-feature (revision 1.345)
svn path=/trunk/kdebase/kwin/; revision=175049
2002-09-01 11:39:51 +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
Karol Szwed
a33f4313ab - Removing patch by Diego Iastrubini that attempted to fix the bidi issues in
clients by adding an unnecessary 'enable-bidi' checkbox which was never agreed
  upon on the kwin mailing list.

  The use of --reverse is sufficient without needing this checkbox.
  Please discuss largish patches like these first, especially during a feature
  freeze!

  (Everyone also seems to forget the kwin-styles in kdeartwork)

- Make clients look the same with --reverse instead of the broken state they
  were in previously. If the button ordering is not to your liking in reverse
  mode, just change the button positions. (Or send patches for those clients
  that have not got these features yet).

- Clean up popupMenu handling somewhat.

- Remove a global static object in keramik.

svn path=/trunk/kdebase/kwin/; revision=174079
2002-08-27 15:12:14 +00:00
Luboš Luňák
220206e6dd Make sure the window operations popup works for the active window.
Plugin developers should use only Workspace::showWindowMenu() instead
of calling Workspace::clientPopup() and playing with the popup.

svn path=/trunk/kdebase/kwin/; revision=173296
2002-08-22 17:16:47 +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
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