Closed
Bug 60714
Opened 25 years ago
Closed 25 years ago
need to define class name for Mozilla IM status window
Categories
(Core :: Internationalization, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: masaki.katakai, Assigned: masaki.katakai)
Details
(Keywords: inputmethod)
Attachments
(1 file)
|
691 bytes,
patch
|
Details | Diff | Splinter Review |
The original bug was submitted as,
http://bugzilla.mozilla.gr.jp/show_bug.cgi?id=263
The IM status window grabs input focus at invoking
in some window manager. To avoid this problem, we
need to configure window manager not to pass
input focus to the Mozilla IM status window.
(same instruction of workaround attached in
http://bugzilla.mozilla.org/show_bug.cgi?id=47568)
Sawfish can configure this with "name" but
the "name" can not be used for WindowManaker,
which requires "class" name to configure.
So we need to define class name to status window.
| Assignee | ||
Comment 1•25 years ago
|
||
| Assignee | ||
Comment 2•25 years ago
|
||
Refer
http://www.tigr.net/afterstep/X/xlib/ICC/client-to-window-manager/wm-class.html
wm_class needs to be defined.
| Assignee | ||
Comment 4•25 years ago
|
||
it's different problem. We need to set class name properly
to IM window that isn't built with XUL.
Comment 5•25 years ago
|
||
I made a patch against mozilla-0.7,
and validated on Vine Linux (VineSeed)
kinput2-v3release-9
WindowMaker-0.63.1-0vl3
mozilla-0.7-3
with
MozillaImStatus = {
NoTitlebar = Yes;
NoResizebar = Yes;
NotClosable = Yes;
NotMiniaturizable = Yes;
KeepOnTop = Yes;
Omnipresent = Yes;
SkipWindowList = Yes;
NoHideOthers = Yes;
NoKeyBindings = Yes;
NoMouseBindings = Yes;
KeepInsideScreen = Yes;
NoAppIcon = Yes;
Unfocusable = Yes;
DontSaveSession = Yes;
};
into ~/GNUstep/Defaults/WMWindowAttributes.
-------------------------------------------------------
--- mozilla/widget/src/gtk/nsGtkIMEHelper.cpp.org Sun Dec 3 01:06:29
2000+++ mozilla/widget/src/gtk/nsGtkIMEHelper.cpp Thu Jan 11 05:11:09 2001
@@ -626,6 +626,13 @@
XStoreName(display, mIMStatusWindow, "Mozilla IM Status");
+ // Some window managers (Window Maker and etc.) cannot handle windows
+ // with Name. Window Maker can handle with Class.
+ XClassHint class_hint;
+ class_hint.res_name = "mozilla-im-status";
+ class_hint.res_class = "MozillaImStatus";
+ XSetClassHint(display, mIMStatusWindow, &class_hint);
+
long mask = ExposureMask;
XSelectInput(display, mIMStatusWindow, mask);
}
| Assignee | ||
Comment 6•25 years ago
|
||
Thank you Matsumoto-san, I'll check-in the patch after I get approval.
Comment 7•25 years ago
|
||
sr=erik
Maybe blizzard would like to review as module owner and add his r=
Comment 8•25 years ago
|
||
Yeah, looks fine. sr=blizzard
| Assignee | ||
Comment 10•25 years ago
|
||
patch checked in
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 11•25 years ago
|
||
Since I don't see the problem with linux 04/10 build on RH 6.2-J.
I'll mark it as verfied. Please feel free to reopen if you still have this
problem in your environment. Thanks.
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Keywords: inputmethod
You need to log in
before you can comment on or make changes to this bug.
Description
•