Yaakov (Cygwin Ports | 23 Nov 08:02

Xinerama


Jon,

Looking further into Xinerama, I think I brushed it off too early.  It
is *very* widely supported[1], and while XRandR is supposed to replace
it, actual implementation and usage may be some time off.

I also think that there may be some potential flaws in windowed
multiplemonitor mode that Xinerama support would fix.  While the current
behaviour makes sense in multiwindow mode, I'm not sure that it does in
windowed mode.  Since X window managers have no sense of what is really
happening in that case, placing a dialog in the centre of the X display
could easily land on the seam between two monitors.  (I know, I tried
it.)  With Xinerama support, however, they would have the necessary
information to DTRT.

I think that the implementation may be simpler than we thought.  To see
the situation as it stands:

1) Build and install xineramaproto;
2) Remove the --disable-xinerama flag from xorg-server and rebuild;
3) Build and install libXinerama;
4) Remove --without-xinerama from xdpyinfo and rebuild.

For this example, on my single-head system I launched XWin with:

X +xinerama -nodecoration -screen 0 640x480 -screen 1 640x480+640+0

This gives :0.0 and :0.1 side-by-side.  If you have a multihead system,
you could just as easily run:
(Continue reading)

Phan, Linh H | 22 Nov 23:00
Favicon

where is /usr/X11R6/lib/libGLw.a on cygwin?

Hi,

  I am getting this undefined reference to `_glwM2DrawingAreaWidgetClass' error:

$ g++ componentTest.o libInventorWidget.a -lInventorXt -lInventor -lstdc++ -L/usr/X11R6/lib
-L/usr/local/lib -limage -ljpeg -liconv -lFL -lfreetype -lGL -lGLU -lXm -lXt -lXext -lXi -lX11 -lm   -o componentTest
libInventorWidget.a(MyTextureEd.o):MyTextureEd.c++:(.text+0x6b3a): undefined reference to `_glwM2DrawingAreaWidgetClass'

and it is due to this line in MyTextureEd.c++:

    Widget glx = XtCreateWidget("paletteGLX", glwMDrawingAreaWidgetClass, parent, args, n);

glwMDrawingAreaWidgetClass is defined in:
/usr/X11R6/include/GL/GLwDrawA.h:#  define glwMDrawingAreaWidgetClass   glwM2DrawingAreaWidgetClass

I know on linux "glwM2DrawingAreaWidgetClass" is defined in /usr/X11R6/lib/libGLw.a.
Does any one know where /usr/X11R6/lib/libGLw.a is on cygwin-1.7?

Thank you,

Linh

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

Christopher Faylor | 22 Nov 19:01

Re: Again A Window Opening Issue

On Sat, Nov 22, 2008 at 05:31:34PM +0000, Jon TURNEY wrote:
> Sascha Tayefeh wrote:
>> Hi all!
>> I am afraid I have to add another issue to the
>> "xserver-starts-but-no-windows-visible" discussion. I have read and
>> followed the advised given before, though, I did not succeed. 
>
> Please confirm that you have updated to 1.5.3-3, where this issue is 
> believed to be fixed.
>
> http://cygwin.com/ml/cygwin-xfree-announce/2008-11/msg00020.html

You can confirm package versions by running "cygcheck -r -s -v" and
attaching it to your email as suggested in:

> Problem reports:       http://cygwin.com/problems.html

cgf

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

Thomas Dickey | 22 Nov 17:46

Re: libXaw8 replacement

On Sat, 22 Nov 2008, Ken Brown wrote:

> On 11/22/2008 10:30 AM, Thomas Dickey wrote:
>> On Sat, 22 Nov 2008, Ken Brown wrote:
>> 
>>> 
>>> How important is it to run autoreconf?  Could the fact that the package 
>>> uses an old version of libtool explain the segfault that I reported in 
>>> http://cygwin.com/ml/cygwin-xfree/2008-11/msg00214.html ?
>> 
>> no - it's one of the changes made to autoconf, rather than libtool
>
> I'm not sure I understand what you're saying.  Maybe I didn't make it clear

I was responding to the comment about AC_DIVERT_HELP

--

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

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

Hans-Georg Scherneck | 22 Nov 13:37
Favicon

Re: New package: xfig-lib-3.2.4-1

Many years later:
A remedy to the (still appearing) problem that xfig complains about 
non-existent or old app-defaults:

setenv XFILESEARCHPATH 
"$XFILESEARCHPATH":the-actual-path-to-xfig-app-defaults/%N%S
setenv XUSERFILESEARCHPATH 
the-users-own-app-defaults-directory/%N:"$XUSERFILESEARCHPATH"

/HGS

--

-- 
                                                             -----
Med vänliga hälsningar / With best regards yours           /   A   \
Hans-Georg                                                |   / \   |
---------------------+-----------------------------------  \       /
| Telephone:         | Hans-Georg Scherneck                  -----
|  +46 31 772 5556   | Onsala Space Observatory               | |
| Telefax:           | Chalmers University of Technology     /   \
|  +46 31 772 5590   | S-439 92  Onsala, Sweden         ----------------
| E-Mail:            | ftp://gere.oso.chalmers.se/pub   /===\ ,===//===\
|  hgs <at> chalmers.se   | http://www.oso.chalmers.se/~hgs /    /`===,/    /
---------------------+---------------------------------\===//===' \===/

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

(Continue reading)

Anonymous bin ich | 22 Nov 12:54

No Cygwin-X shortcut on fresh install

Hi!

I have just installed Cygwin. I selected "gvim", "xorg-server" and
"rxvt-unicode-X" for packages.

After finishing the installation, I could not start X server from
"starx" etc. I could, though start X.exe.

Documentation says I should have "Cygwin-X" shortcut on the desktop. I
have reinstalled everything but I there is not shortcut.

Am I missing something? Something that needs to be installed?

--

-- 
Regards,

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

Back, Michael | 21 Nov 18:45

RE: x-windows

Quothe Prasanta Patro:
>Hi,
>
>I have been using x-windows from startxwin till today. Now i have 
>updated the cygwin as a result of which now my x-windows does 
>not work. 
>It seems the batch file startxwin does not exist. Now i can see in the 
>menu cygwin-x.

An explanation can be found in the FAQ:

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-whereis-startxwin-bat

Welcome to X.Org R7.4!

Michael

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

Angelo Graziosi | 21 Nov 11:35

Still problems starting X

On X11R6.99, I start X with a link on desktop, 'XWin Server', whose
target is:

    C:\cygwin\bin\run.exe bash -l start_XWin.sh

and in /usr/local/bin, start_XWin.sh is

----------------------------
#! /bin/bash
export DISPLAY=127.0.0.1:0.0

export PATH=/usr/bin:"$PATH"

# Cleanup from last run.
rm -rf /tmp/.X11-unix

# We have added +bs, i.e. BackingStore
XWin -multiwindow -clipboard -silent-dup-error +bs &

# Return from sh.
exit
----------------------------

It is just /usr/bin/startxwin.sh stripped from superfluous comments,
from the start of xterm and with +bs for XWin.

It starts only the X server.

With X11R6.99 this works just fine, but with the new X11R7.4 (also -3)
there are two annoying dos windows (which appear for less than an
(Continue reading)

Marco Atzeri | 21 Nov 10:53

Re: Problem with OpenGL on new X serverl

--- Florent Fievez  ha scritto:

> Hello,
> 
> I have a crash when opening OpenGL. I have the same
> configuration than you :
> ssh -X <host> ; XWin with glx extension activated.
> 
> Some of my investigations :
> 
> 1. It's not caused by the X client OS (SunOS and
> Linux give the same crash)
> 2. It's not a problem with our application, glxinfo
> produce the same problem
> 3. It seems that the message "GetWindowProp - pWin
> or name was NULL"
> is displayed before the crash, see my log in
> attachement.

I don't think 3 is related to you crash.
I see multiple lines with

GetWindowProp - pWin or name was NULL

for any window that I create, not only GL
related. 

6 lines for glxgears and gnuplot
8 lines for rxvt

(Continue reading)

Florent Fievez | 21 Nov 10:51

Re: Problem with OpenGL on new X serverl

After a grep in the sources, I see the error is from file
cygwin-net_wm_icon-support.patch. But i'm not sure that the error is
in relation with the crash. I will try to run the program under a
debugger.

2008/11/21 Florent Fievez <florent.fievez <at> fievel.be>:
> Hello,
>
> I have a crash when opening OpenGL. I have the same configuration than you :
> ssh -X <host> ; XWin with glx extension activated.
>
> Some of my investigations :
>
> 1. It's not caused by the X client OS (SunOS and Linux give the same crash)
> 2. It's not a problem with our application, glxinfo produce the same problem
> 3. It seems that the message "GetWindowProp - pWin or name was NULL"
> is displayed before the crash, see my log in attachement.
>
> I will download and check the XWin sources but I have not a lot of
> time for debugging it so if someone have the same problem or want to
> help me ...
>
> Best regards,
>
>
>
> 2008/11/20 Yaakov (Cygwin Ports) <yselkowitz <at> users.sourceforge.net>:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
(Continue reading)

Yaakov (Cygwin Ports | 21 Nov 04:20

multiwindow support for _NET_WM_STATE_SKIP_TASKBAR


Jon,

Following up on our discussion about multiwindow not honouring
_NET_WM_STATE_SKIP_TASKBAR.  The attached patch was what I had in mind
but it has no effect.  I'm posting this now to at least start the
discussion.

You may wish to refer to the FD.o EWMH specs:

http://standards.freedesktop.org/wm-spec/wm-spec-1.4.html

Yaakov
Cygwin/X
Process _NET_WM_STATE_SKIP_TASKBAR in multiwindow.

FIXME: This does NOT work yet.

--- origsrc/xorg-server-1.5.3/hw/xwin/winmultiwindowwm.c	2008-11-18 00:15:45.825463100 -0600
+++ src/xorg-server-1.5.3/hw/xwin/winmultiwindowwm.c	2008-11-18 13:19:41.949202900 -0600
@@ -1470,6 +1470,8 @@
 #define HINT_BORDER	(1L<<1)
 #define HINT_SIZEBOX	(1l<<2)
 #define HINT_CAPTION	(1l<<3)
+/* Windows extended window styles */
+#define HINT_SKIPTASKBAR	(1L<<0)
 /* These two are used on their own */
 #define HINT_MAX	(1L<<0)
(Continue reading)


Gmane