Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resizing breaks after multiple xrandr calls #1054

Open
uli42 opened this issue Mar 20, 2023 · 5 comments
Open

Resizing breaks after multiple xrandr calls #1054

uli42 opened this issue Mar 20, 2023 · 5 comments

Comments

@uli42
Copy link
Member

uli42 commented Mar 20, 2023

  1. nxagent -rrxinerama -ac -geometry 800x600
  2. xterm -display :55
  3. xrandr -> shows 800x600
  4. xrandr -s 1920x1200
  5. xrandr -s 800x600

Now the window cannot be resized larger than 800x600.

@realsimix
Copy link
Contributor

Interesting, it works for me. Tested on RHEL7 on AMD64 and on an ARM64 Manjaro laptop with NX binaries borrowed from Fedora.
On RHEL7 that's with my own RPMs based on nx-libs-3.5.99.26 + a number of patches.

Let me know if you want me to test something.

@uli42
Copy link
Member Author

uli42 commented Mar 21, 2023 via email

@realsimix
Copy link
Contributor

I was afraid this question will come :)

For the RPMs on RHEL7 I have a lot of patches included and it may be a bit difficult to list them all.

But, for the ARM64 host I simply took the binaries from Fedora and they consist of nx-libs-3.5.99.26 and only a simple patch as you can see here https://src.fedoraproject.org/rpms/nx-libs/tree/rawhide

I was just thinking, do you have a single screen or multiple?

@uli42
Copy link
Member Author

uli42 commented Mar 21, 2023 via email

@realsimix
Copy link
Contributor

I think all of the patches are either PRs or already in latest git, so nothing to provide beside this oneliner which was for some old distribution but works on all up to RHEL9:

--- nx-libs-3.6.x-20180221/nx-X11/programs/Xserver/Xext/shape.c.orig    2018-02-09 03:41:22.000000000 +0100
+++ nx-libs-3.6.x-20180221/nx-X11/programs/Xserver/Xext/shape.c 2018-02-21 15:50:08.075752303 +0100
@@ -55,7 +55,6 @@
 #endif
 #include "protocol-versions.h"
 #include "regionstr.h"
-#include "gcstruct.h"
 
 typedef        RegionPtr (*CreateDftPtr)(
        WindowPtr /* pWin */

uli42 added a commit to uli42/nx-libs that referenced this issue May 17, 2024
Patch by realsimix: "Oneliner which was for some old distribution but
works on all up to RHEL9."

Mentioned in ArcticaProject#1054
uli42 added a commit to uli42/nx-libs that referenced this issue May 20, 2024
Patch by realsimix: "Oneliner which was for some old distribution but
works on all up to RHEL9."

Mentioned in ArcticaProject#1054
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants