[Bug 257778] net/x2goclient: Do not use pos() for window position

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 11 Aug 2021 21:21:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257778

            Bug ID: 257778
           Summary: net/x2goclient: Do not use pos() for window position
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: nc@FreeBSD.org
          Reporter: jsm@FreeBSD.org
             Flags: maintainer-feedback?(nc@FreeBSD.org)
          Assignee: nc@FreeBSD.org
 Attachment #227120 text/plain
         mime type:

Created attachment 227120
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227120&action=edit
pos() replaced by mapToGlobal(QPoint(0,0)

At least using LXQt the sanity check of saved (bogus) window position fails,
and the clients main window starts outside the screen. Fix by this attached
patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.