mrose@NRTC-GREMLIN.NORTHROP.COM.UUCP (04/11/87)
Hi. I've just started using X on an integrated solutions graphics
workstation, and thought I'd bounce a couple of questions off the
list.
First, the is port calls gettimeofday() for each mouse button
action and for each keyboard input in otder to fill-in the vse_time
for the current event. This seems very wasteful to me. Before I
go wildly changing this, I guess I should ask:
does event.vse_time really have to be related to the time of
day, or can it just have the partial ordering semantics you get
from a clock (monotonically increasing)? Why not just have a
static counter that gets incremented by 1 for each event?
Second, although xterm is great, I think I've there's a slight
problem when you have the auto raise function enabled. Say I have
the mouse in an xterm window with auto raise enable. I now run xdvi
and preview something. I exit xdvi. Even though the mouse is still
in the window and the xterm title bar indicates that xterm has got
the keyboard, I still have to move the mouse before xterm gets my
terminal input. Apparently any mouse movement will trigger it. Is
this a bug in the server? xterm? the is port?
Oh, I'm running X version 10 release 4.
Appologies in advance if these are all old issues or dumb questions!
/mtrmrose@NRTC-GREMLIN.NORTHROP.COM.UUCP (04/12/87)
Well, since the clock is really used, I'll leave well enough alone. It is really annoying though to think of the server making yet-another-syscall for every virtual keystroke of input. I'll try life without auto-raise and see if I like it. Thanks, /mtr