<AWT Dev> [7u6] Review request for 7043963: AWT workaround missing for Mutter.

Omair Majid omajid at redhat.com
Wed Jun 6 18:10:49 PDT 2012


On 06/06/2012 11:15 AM, Artem Ananiev wrote:
> Hi, Anthony, Omair,
> 
> since the fix is a direct backport from JDK8, it should be fine.
> 
> I've got a question, though. Since Mutter is a replacement for Metacity
> in GNOME 3, is it possible that it shares some code with Metacity and

Actually, Mutter is a newer version of metacity (just like jdk8 is a
newer jdk6). If you look through the mutter git log, you will see lots
of METACITY_X_Y tags. The documentation in mutter for new developers
also refers to "metacity" a lot.

> therefore some of the current "isMetacity()" and "getWMID() ==
> METACITY_WM" check should be complemented with "isMutter()" and
> "getWMID() == MUTTER_WM"? For example, there is one of the checks in
> XWM.supportsExtendedState().

Probably. But I am not sure if mutter and metacity are exactly the same
in all the ways that we care about. Specifically, mutter supports
resizing window vertically or horizontally (see attached screenshot). I
am not sure if this feature was present in newer versions of metacity or
is completely new to mutter.

Cheers,
Omair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resize-in-single-direction.png
Type: image/png
Size: 40777 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20120606/6e0f7632/resize-in-single-direction.png 


More information about the awt-dev mailing list