[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: raise-frame doesn't work in Fedora Core 4
From: |
Richard Stallman |
Subject: |
Re: raise-frame doesn't work in Fedora Core 4 |
Date: |
Wed, 01 Nov 2006 23:42:40 -0500 |
It figures out the current desktop (i.e. if you have more than one
workspace/desktop) by inspecting the property _NET_WM_DESKTOP or
_WIN_WORKSPACE on the root window. It then switches the window to the
current
desktop by sending a client message _NET_CURRENT_DESKTOP. Finally it
activates the window by sending the client message _NET_ACTIVE_WINDOW.
What part of this is really right to do, here?
Is it right to move the window to the current desktop?
It seems strange to me that raise-frame would do that.
Would it be hard to code this in C?
> Does this use of wmctrl work correctly with other window managers?
It works with window managers that understand and comply with the newest
freedesktop Window Manager Specification
(http://freedesktop.org/wiki/Standards_2fwm_2dspec), i.e. Metacity (Gnome),
KWin (KDE), xfwm4 (xfce) and other newer window managers. There is a list
on
the web page. Certainly not with older VM:s like twm and mwm.
What happens if you do this (via wmctrl or directly) and you're using
an older wm? Does it do any harm?