tigervnc/u_change-button-layout-in-ServerDialog.patch
Joan Torres 8996db4473 Accepting request 1066027 from home:jtorres:branches:X11:XOrg
- A little cleanup of specfile
- Update to tigervnc 1.13.0
  * The servers and native viewer now support RealVNC's RSA-AES authentication methods and encryption
  * The native viewer is now translated to Romanian and Georgian
  * The native viewer now (optionally) supports PiKVM's H.264 encoding
  * The display settings for the native viewer have been overhauled to make them easier to understand
  * The native viewer now supports adding exceptions for expired certificates
  * Resolved an issue where full-screen mode didn't work in the native viewer on macOS 13
  * Lock key synchronization has been re-enabled in the native viewer after being accidentally disabled in 1.11.0
  * Xvnc/libvnc.so can now be built with Xorg 1.21
  * x0vncserver is a bit better at handling differing server and client keyboard layout
  * x0vncserver now correctly handles zaphod mode
- Removed patches (no longer needed):
  * tigervnc-newfbsize.patch (https://github.com/TigerVNC/tigervnc/pull/13)
  * n_utilize-system-crypto-policies.patch (https://github.com/TigerVNC/tigervnc/pull/1262)
  * xserver211.patch & u_tigervnc-211.patch (https://github.com/TigerVNC/tigervnc/pull/1383)
- Refreshed patches:
  * n_tigervnc-date-time.patch
  * n_vncserver.patch
  * u_change-button-layout-in-ServerDialog.patch

OBS-URL: https://build.opensuse.org/request/show/1066027
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=241
2023-02-15 17:41:53 +00:00

33 lines
1.0 KiB
Diff

Patch-mainline: To be upstreamed
References: bnc#1084865
Author: Michal Srb <msrb@suse.com>
Subject: Change button layout in ServerDialog.
To fit strings in languages with longer words...
---
vncviewer/ServerDialog.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Index: tigervnc-1.13.0/vncviewer/ServerDialog.cxx
===================================================================
--- tigervnc-1.13.0.orig/vncviewer/ServerDialog.cxx
+++ tigervnc-1.13.0/vncviewer/ServerDialog.cxx
@@ -70,7 +70,7 @@ ServerDialog::ServerDialog()
serverName = new Fl_Input_Choice(x, y, w() - margin*2 - server_label_width, INPUT_HEIGHT, _("VNC server:"));
usedDir = NULL;
- int adjust = (w() - 20) / 4;
+ int adjust = (w() - 20) / 3;
int button_width = adjust - margin/2;
x = margin;
@@ -93,6 +93,8 @@ ServerDialog::ServerDialog()
x = 0;
y += margin/2 + BUTTON_HEIGHT;
+ adjust = (w() - 20) / 4;
+ button_width = adjust - margin/2;
divider = new Fl_Box(x, y, w(), 2);
divider->box(FL_THIN_DOWN_FRAME);