Re: Xinerama support for IconBox style?

2001-08-21 Thread Dan Espen
Dominik Vogt fvwm-workers@fvwm.org writes:
 On Mon, Aug 20, 2001 at 09:45:11AM -0400, Dan Espen wrote:
  Dominik Vogt fvwm-workers@fvwm.org writes:
   On Sun, Aug 19, 2001 at 06:45:32PM -0400, Dan Espen wrote:
Is there a way to test screen size changes without Xinerama working?
   
   With Xinerama emulation.  Run configure with
   
 $ ./configure --enable-xinerama-emulation
   
   The screen is then split into two fake Xinerama screens and a
   blank area that doesn't belong to any screen.  To switch
   Xinerama on and off just use
   
 Xinerama off
   
   or
   
 Xinerama on
   
   or
   
 Xinerama primary_screen_number
  
  Hmm, none of these actually change where the icon box is.
  I tried on, off, 0-3.
 
 Ah, I see.  You moved the calculations from style.c to icons.c,
 but they still use the global screen dimensions.  Instead, the
 specified screen has to be stored too.  Then, one of the
 XineramaSupportGet...ScrRect() functions can be called in
 AutoPlaceIcon() to get the actual size and offset of the screen.
 Also, the call to XineramaSupportParseGeometry in style.c has to
 be changed to XineramaSupportParseGeometryWithScreen() so that the
 screen spec can be stored in the icon box (its a signed integer).
 
 When this is completed, the following should work:
 
   Xinerama 1
   Style * iconbox 100x100-0-0
   Next iconify
   # iconifies on screen 1
   Xinerama 0
   Next iconify 
   # iconifies on screen 0
   Xinerama off
   Next iconify 
   # iconifies on global screen

Yes, I saw how  XineramaSupportParseGeometryWithScreen
is needed to get the screen number, but I still don't see
how the screen number is going to be used.  Is it needed
by the Iconify command?

-- 
Dan Espen
444 Hoes Lane  Room RRC 1C-214   E-mail: [EMAIL PROTECTED]
Piscataway, NJ 08854 Phone: (732) 699-5570
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: Focus Policy and Window List Reordering

2001-08-21 Thread Michael Han
On Sun, Aug 19, 2001 at 08:51:31PM -0400, Bob Woodside wrote:
 
   Maybe we should solicit some votes...? I vote for the universal
 last-focus order. Mike, I take it your vote would make 2 for that
 approach. I suspect, from his previous comment, that Dominik would make
 a third, but I'll let him speak for himself.

Yes, my vote is for last-focus.
-- 
[EMAIL PROTECTED]http://www.mikehan.com/
coffee achiever  San Francisco, California
A double negative is a no-no.
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: Xinerama support for IconBox style?

2001-08-21 Thread Dominik Vogt
On Tue, Aug 21, 2001 at 08:57:20AM -0400, Dan Espen wrote:
 Dominik Vogt fvwm-workers@fvwm.org writes:
  On Mon, Aug 20, 2001 at 09:45:11AM -0400, Dan Espen wrote:
   Dominik Vogt fvwm-workers@fvwm.org writes:
On Sun, Aug 19, 2001 at 06:45:32PM -0400, Dan Espen wrote:
 Is there a way to test screen size changes without Xinerama working?

With Xinerama emulation.  Run configure with

  $ ./configure --enable-xinerama-emulation

The screen is then split into two fake Xinerama screens and a
blank area that doesn't belong to any screen.  To switch
Xinerama on and off just use

  Xinerama off

or

  Xinerama on

or

  Xinerama primary_screen_number
   
   Hmm, none of these actually change where the icon box is.
   I tried on, off, 0-3.
  
  Ah, I see.  You moved the calculations from style.c to icons.c,
  but they still use the global screen dimensions.  Instead, the
  specified screen has to be stored too.  Then, one of the
  XineramaSupportGet...ScrRect() functions can be called in
  AutoPlaceIcon() to get the actual size and offset of the screen.
  Also, the call to XineramaSupportParseGeometry in style.c has to
  be changed to XineramaSupportParseGeometryWithScreen() so that the
  screen spec can be stored in the icon box (its a signed integer).
  
  When this is completed, the following should work:
  
Xinerama 1
Style * iconbox 100x100-0-0
Next iconify
# iconifies on screen 1
Xinerama 0
Next iconify 
# iconifies on screen 0
Xinerama off
Next iconify 
# iconifies on global screen
 
 Yes, I saw how  XineramaSupportParseGeometryWithScreen
 is needed to get the screen number, but I still don't see
 how the screen number is going to be used.  Is it needed
 by the Iconify command?

No.  Somewhere in icons.c the actual position and size of the icon
boxes is calculated.  To do this, the global screen dimensions and
position (0 0) are used.  These values have to be replaced with
the screen dimensions of the Xinerama screen that is to be used.
All this has to be done every time the Xinerama command is called.

Bye

Dominik ^_^  ^_^

-- 
Dominik Vogt, email: [EMAIL PROTECTED]
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Notification: incoming/766

2001-08-21 Thread fvwm-bug
FVWM Bug Tracking notification

new message incoming/766

Message summary for PR#766
From: [EMAIL PROTECTED]
Subject: PRIVATE: Erratic EdgeScroll behaviour
Date: Tue, 21 Aug 2001 14:11:51 -0500
0 replies   0 followups

 ORIGINAL MESSAGE FOLLOWS 

From [EMAIL PROTECTED] Tue Aug 21 14:11:52 2001
Received: from karazm.math.uh.edu ([129.7.128.1])
by malifon.math.uh.edu with esmtp (Exim 3.20 #1)
id 15ZGwK-0001TH-00
for [EMAIL PROTECTED]; Tue, 21 Aug 2001 14:11:52 -0500
Received: from malifon.math.uh.edu (IDENT:[EMAIL PROTECTED] [129.7.128.13])
by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id OAA26841
for [EMAIL PROTECTED]; Tue, 21 Aug 2001 14:11:51 -0500 (CDT)
From: [EMAIL PROTECTED]
Received: from localhost ([127.0.0.1] ident=65534)
by malifon.math.uh.edu with esmtp (Exim 3.20 #1)
id 15ZGwJ-0001TD-00
for [EMAIL PROTECTED]; Tue, 21 Aug 2001 14:11:51 -0500
To: [EMAIL PROTECTED]
Subject: PRIVATE: Erratic EdgeScroll behaviour
Message-Id: [EMAIL PROTECTED]
Date: Tue, 21 Aug 2001 14:11:51 -0500

Full_Name: Brent Beacham
Version: 2.4.0
CVS_Date: 
OS: SunOS 5.7
X_Server: 
Submission from: (NULL) (66.46.12.199)


In my .fvwm2rc file I have EdgeScroll 10 10  When I try to move
from one page to another by moving the mouse pointer to the edge of the
screen the mouse pointer does not always warp to the other side of the
screen (as expected) but instead stays on the edge of the screen causing
the display to flip through several pages until the pointer finally 
warps to the other side of the screen.  I have some observations:

- the problem does not occur on pages containing no windows
- the problem does not occur if the mouse is not moved once the pointer
  is at the edge of the window.  (Usually I continue to move the mouse 
  somewhat in the direction I want the page to switch because I find it 
  awkward to stop moving the mouse completely at the edge of the screen.)
- EdgeThickness settings of 1 or 2 don't seem to change the behaviour.

I don't know if it is significant, but I am using a Sun Sunray machine
(which appears to be more-or-less a dumb terminal) and so my display
is never :0 but is always some larger number (such as :12.0)


--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]