public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: "Matt D." <matt@codespunk.com>
To: cygwin-xfree@cygwin.com
Subject: Wine creating windows offscreen when "multiwindow" is used?
Date: Thu, 03 Jul 2014 22:47:00 -0000	[thread overview]
Message-ID: <53B5DD59.5020302@codespunk.com> (raw)

I have a monitor configuration with three 1920x1080 monitors aligned 
side-by-side horizontally with a fourth above the center. The primary 
monitor is the center one at the bottom. xinit generates a single screen 
5760x2160 to cover the area. The root window is hidden and all windows 
in the buffer are drawn with native Windows decorations.

When an X window is created at 0,0, it is visible on the primary 
monitor, despite 0,0 in the buffer being offscreen. This is great. 
However, when Wine creates a window at 0,0, it is aligned to 0,0 in the 
buffer (-1920x-1080 screen coordinates on Windows) and is not visible.

Is there a solution for this? This is a discrepancy between what regular 
X windows do and where Wine positions its windows.

I also noticed that when creating a window with XCreateSimpleWindow, the 
x and y coordinates are ignored. For example, I would expect a window 
created at 0,0 in the X buffer to be visible at 0,0 screen coordinates; 
but instead it's just somewhere offset slightly from the top left of the 
primary monitor. Any x/y coordinates specified do not seem to affect 
where it goes.

The behavior I would expect is for 0,0 in the buffer to be mapped to 0,0 
in screen coordinates, 1920x, 1080y in my configuration.

To clarify my use of Wine, I connected to a remote CentOS 6.5 machine 
via ssh with x forwarding for testing.

Can anyone provide some insight on this?


Matt D.

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


             reply	other threads:[~2014-07-03 22:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-03 22:47 Matt D. [this message]
2014-07-06 16:27 ` Jon TURNEY
2014-07-09 16:10   ` Jon TURNEY
2014-07-09 22:22     ` Matt D.
2014-07-21 15:58       ` Jon TURNEY

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=53B5DD59.5020302@codespunk.com \
    --to=matt@codespunk.com \
    --cc=cygwin-xfree@cygwin.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).