nx-libs
nx-libs copied to clipboard
Resizing breaks after multiple xrandr calls
- nxagent -rrxinerama -ac -geometry 800x600
- xterm -display :55
- xrandr -> shows 800x600
- xrandr -s 1920x1200
- xrandr -s 800x600
Now the window cannot be resized larger than 800x600.
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.
Interesting, indeed. What patches have you added?
Simon Matter @.***> schrieb am Di., 21. März 2023, 08:32:
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.
— Reply to this email directly, view it on GitHub https://github.com/ArcticaProject/nx-libs/issues/1054#issuecomment-1477385416, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQHBZAX47ANZH7DJJ2GM3TW5FKPNANCNFSM6AAAAAAWBRU7LY . You are receiving this because you authored the thread.Message ID: @.***>
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?
single screen.
Regarding the patches: I'd any patches are required we are happy to add them upstream. Just need to know them ;-).
Simon Matter @.***> schrieb am Di., 21. März 2023, 16:01:
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?
— Reply to this email directly, view it on GitHub https://github.com/ArcticaProject/nx-libs/issues/1054#issuecomment-1477997099, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQHBZCEBOOFEEHOGVTKHTDW5G7DLANCNFSM6AAAAAAWBRU7LY . You are receiving this because you authored the thread.Message ID: @.***>
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 */