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, matt@codespunk.com Subject: Re: Wine creating windows offscreen when "multiwindow" is used? Date: Mon, 21 Jul 2014 15:58:00 -0000 [thread overview] Message-ID: <53CD3881.2060306@dronecode.org.uk> (raw) In-Reply-To: <53BDC08E.5060703@codespunk.com> On 09/07/2014 23:22, Matt D. wrote: > Yes! That fixed it. Windows from Wine open up just as regular X > windows on the primary monitor. Thanks for testing. This change is included in 1.14.1-4 > To achieve this is appears as though you're ignoring the Window's > requested x/y position entirely and favoring the placement > heuristics, as these coordinates are being ignored. When the requested position isn't on a monitor, yes. > I do have a use-case where I want windows from Wine to be created at > a designated position for testing, so I don't have to test on a > Windows machine for placement as well. Is it at all possible to have > these windows map their coordinates strictly, as in 0,0 on the > primary monitor would be 1920x1080 in my case. This is a bit more work. Firstly, it seems there are some bugs in the way we transform between X and Windows coordinates, so it's only done correctly when the top-left of the X screen is at the top-left of the Windows virtual desktop. Secondly, I'm not sure how we can have X coordinates 0,0 not at the top-left and have things work correctly. X windows with negative coordinates are by definition off-screen, so may not render correctly. Or we could adjust the placement of all windows by the required offset, but I'm not sure that is a good idea. > For example, I may want a child window which is a custom dialog > aligned to the center of its parent, or a newly created window to be > center-aligned to the screen. You might find running wine in 'virtual desktop' mode helpful, as I don't think it has enough knowledge of the Xinerama monitor layout to place windows centered on a monitor. -- 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/
prev parent reply other threads:[~2014-07-21 15:58 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-07-03 22:47 Matt D. 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 [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=53CD3881.2060306@dronecode.org.uk \ --to=jon.turney@dronecode.org.uk \ --cc=cygwin-xfree@cygwin.com \ --cc=matt@codespunk.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: linkBe 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).