Closed Bug 41992 Opened 24 years ago Closed 23 years ago

xul content windows should set wmclass in x

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 29856
Future

People

(Reporter: rginda, Assigned: rginda)

Details

Attachments

(2 files)

In X, a window's wmclass distinguishes it from other windows, allowing
customizations like "stick to every desktop", "don't show window decorations",
etc per window.  Currently every XUL window gets the class
mozilla-bin.mozilla-bin, which makes it impossible to set different window
manager properties for different mozilla apps.  The attached patch uses the
(already present) windowtype attribute from the XUL <window> tag as the class
name, resulting in wmclasses like Mozilla.navigator:browser, Mozilla.mail:3pane,
and Mozilla.irc:chatzilla.

The patch has been tested on Windows and Linux.

Pavlov/Hyatt, would you be kind enough to review?
Status: NEW → ASSIGNED
r=pavlov
not exactly required for nsbeta3, marking future
Target Milestone: --- → Future
will be using these patches in the other bug asap.

*** This bug has been marked as a duplicate of 29856 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: