delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/07/09:41:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Tue, 7 Sep 2010 15:31:40 +0200
Message-ID: <AANLkTin3KYQoZWc0joGEUxx59Kt6aCfO-TRLnGJ6owvC@mail.gmail.com>
Subject: Problem with mouse events in XWin server
From: Jurgen Defurne <jurgen DOT defurne AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Dear all,

At work I use my portable as X server for a remote Linux machine. I can use
two brands of software, Reflection X, which is installed by our IT department,
or Cygwin XWin, which I install my self.

The application which I need to access is Continuus, which is Motif based.

What is now my problem? When I start Continuus using Reflection, I am missing
some fonts. I think it are the TTF and Type1 fonts that are missing,
but Reflection
cannot handle them.

When I start XWin using 'startxwin', I can connect to Continuus and I get my
missing fonts. However, there is something else that is now missing.

When one right-clicks on a screen element in Continuus, then a context
dependent menu should pop-up. However, with XWin this does not happen.

I used 'xev' to see the differences in mouse events, and in XWin I see the
following :

ButtonPress event, serial 21, synthetic NO, window 0x200001,
    root 0x44, subw 0x0, time 27589328, (123,42), root:(185,627),
    state 0x10, button 3, same_screen YES

while using Reflection X I see

ButtonPress event, serial 22, synthetic NO, window 0x400001,
    root 0x3b, subw 0x0, time 16229, (132,53), root:(184,187),
    state 0x0, button 3, same_screen YES

Btw. I had the same problem with our Sun server.

Other parts of the handling of mouse events also differ.

Reflection X only reports the ButtonPress and ButtonRelease events, while
XWin also leaves a MotionNotify event upon releasing the button.

Is there any way I can configure or influence this? I looked at xmodmap, but
that seems to be only concerned with keyboard mappings.

Regards,

Jurgen

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019