Article View: comp.windows.x
Article #36846XView Conversion Problem
From: Emmett Hogan
Date: Wed, 14 Feb 1990 23:56
Date: Wed, 14 Feb 1990 23:56
45 lines
2480 bytes
2480 bytes
SetUp: Sun 3/80, SunOS 4.0.3, X11R4 (compiled with cc)
I am attempting to convert a fairly simple SunView program for use
under X11R4, using XView. I retrieved the latest patches I could find
from expo and applied them and compiled the XView libraries and
installed the headers as instructed. I then (FOUR HOURS LATER) ran
the convert_to_xview script and edited the resulting file which I then
compiled with the command:
cc -o ljack ljack.c -lxview -lX11 -I/usr/global/include/X11
The program compiles without error, and even runs correctly...almost.
The problem occurs when the window is iconified and the program
attempts to change the icon (This program monitors several log files
and changes the icon when an entry is made in one of the logs); the
icon does not change and cannot be de-iconified by simply clicking on
the icon, I must choose the (de)-iconify entry in my TWM menu and
click on the icon. The window will then pop up, which the latest
entry appearing in the monitored log file, but the icon also remains
on the screen. When I re-iconify the window, it goes back to the
previously frozen icon, but I can now open the window again by
clicking on the icon (until of course, the program tries to change it
again). I have found this behavior in other programs (i.e. contool)
that I have tried to convert to XView, that try to change the icon.
I think I can rule out window manager problems, as this occurs with
uwm and gwm, as well as twm.
If anyone can shed some light upon my problem, I would greatly
appreciate it.
Thanks in Advance,
Emmett
--
-------------------------------------------------------------------
Emmett Hogan Computer Science Lab, SRI International
Inet: hogan@csl.sri.com
UUCP: {ames, decwrl, pyramid, sun}!fernwood!hercules!hogan
USMAIL: BN179, 333 Ravenswood Ave, Menlo Park, CA 94025
PacBell: (415)859-3232 (voice), (415)859-2844 (fax)
ICBM: 37d 27' 14" North, 122d 10' 52" West
-------------------------------------------------------------------
Technical Details
Message-ID:
<HOGAN.90Feb14155624@trollope.csl.sri.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!hercules!hoganShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!hercules!hogan From: hogan@trollope.csl.sri.com (Emmett Hogan) Newsgroups: comp.windows.x Subject: XView Conversion Problem Message-ID: <HOGAN.90Feb14155624@trollope.csl.sri.com> Date: 14 Feb 90 23:56:24 GMT Sender: usenet@csl.sri.com Distribution: comp Lines: 45