summaryrefslogtreecommitdiff
path: root/security/openssh-askpass/files/patch-x11-ssh-askpass.c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2016-11-06 21:19:33 +0000
committerHiroki Sato <hrs@FreeBSD.org>2016-11-06 21:19:33 +0000
commit4fa48c015a922ac8720dc925150cc63d56a3aa6d (patch)
tree2a94ba1f62e014461c3c5a4ceaada2db9d313594 /security/openssh-askpass/files/patch-x11-ssh-askpass.c
parentUpdate zfsnap2 to 2.0.0-beta3 (diff)
Add obsolete window size hint information. This solved
a problem with i3 window manager which could make the ssh-askpass window too small. Suggested by: Guilherme Salazar Obtained from: https://groups.google.com/forum/#!topic/mailing.openbsd.tech/MKSja1XZzOs
Notes
Notes: svn path=/head/; revision=425584
Diffstat (limited to 'security/openssh-askpass/files/patch-x11-ssh-askpass.c')
-rw-r--r--security/openssh-askpass/files/patch-x11-ssh-askpass.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/openssh-askpass/files/patch-x11-ssh-askpass.c b/security/openssh-askpass/files/patch-x11-ssh-askpass.c
new file mode 100644
index 000000000000..ba3b499cee17
--- /dev/null
+++ b/security/openssh-askpass/files/patch-x11-ssh-askpass.c
@@ -0,0 +1,13 @@
+--- x11-ssh-askpass.c.orig 2016-11-06 16:18:21.595954000 +0900
++++ x11-ssh-askpass.c 2016-11-06 16:20:39.207609000 +0900
+@@ -764,6 +764,10 @@
+ d->sizeHints->flags = 0;
+ d->sizeHints->flags |= PPosition;
+ d->sizeHints->flags |= PSize;
++ d->sizeHints->x = d->w3.w.x;
++ d->sizeHints->y = d->w3.w.y;
++ d->sizeHints->width = d->w3.w.width;
++ d->sizeHints->height = d->w3.w.height;
+ d->sizeHints->min_width = d->w3.w.width;
+ d->sizeHints->min_height = d->w3.w.height;
+ d->sizeHints->flags |= PMinSize;