public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: ssier@msn.com
Subject: Re: Can't resize windows in Cygwin/X 1.12.1
Date: Sat, 13 Jul 2013 13:22:00 -0000	[thread overview]
Message-ID: <51E15496.1050709@dronecode.org.uk> (raw)
In-Reply-To: <BAY171-W203A90770E9003C53AF2B4BB640@phx.gbl>

On 12/07/2013 22:40, STEVEN SITTSER wrote:
> Until recently I was using Cygwin/X under Cygwin 1.5.18 on Windows XP.  The
> windows displayed by our in-house X applications had resize borders - I
> could resize the windows by grabbing an edge.
> 
> Now, I am using Cygwin/X 1.12.1 under Cygwin 1.7.14 on Windows XP.  Now,
> the windows displayed by the same applications have a fixed size - I can't
> resize them by grabbing the edges.  (This is true both when I run the exact
> same executables under both Cygwin versions, and when I build the
> applications separately under each Cygwin version.)
> 
> I've been hoping that there is some sort of configuration setting that
> controls this behavior, but with many hours of digging through man pages,
> web pages, and miscellaneous documentation, I have been unable to come up
> with anything.  I was thinking maybe something that would go in .Xdefaults,
> or a command line parameter for startwxin, etc.

The .XWinrc file [1] can be used to do some overriding of window styles, but
it seems that it doesn't allow a sizing frame to be added.  Perhaps that's
something I need to look at adding.

[1] http://x.cygwin.com/docs/man5/XWinrc.5.html

> I would like to be able to restore the window behavior to what it was in
> Cygwin 1.5.18 without making changes to the source code of our
> applications.  However, if my symptoms imply that we've got something coded
> wrong in our applications, then any advice on fixing that would be
> appreciated.  I don't do any XWindows programming myself (and I'm only just
> barely familiar with XWindows in general), but I can pass any information
> on to those who do.

If using the latest X server doesn't resolve your problem, then possibly this
is a bug with the mapping of the X windows decoration hints into a native
Windows window style.

Can you install 'xprop' (using cygwin setup), and show the output you get from
running that, then clicking on the window which doesn't get a resize frame.

> As a test I ran xclock on an old Sun system via PuTTY under both Cygwin
> versions.  On both the window was resizable.  So, resizable windows do work
> in that case, at least.
> 
> I am (I believe) using the default XWindows setup from my Cygwin
> installation - that is, the XWindows server is being started by a shortcut
> in the Windows "Startup" folder with a target of "C:\cygwin\bin\run.exe
> /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe"
> 
> Thanks for any help anyone can provide.

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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/


      parent reply	other threads:[~2013-07-13 13:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-12 21:40 STEVEN SITTSER
2013-07-12 22:01 ` Larry Hall (Cygwin-X)
2013-07-13 13:22 ` Jon TURNEY [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51E15496.1050709@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=ssier@msn.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).