summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-08-10 19:50:18 +0200
committerDavid Seifert <soap@gentoo.org>2017-08-13 13:29:25 +0200
commit04237409ccaa6f6809f0dc28bfc8b5522bbbf5f0 (patch)
tree500c5ed7f491796f9b8f930cc1da28279c300472 /x11-misc
parentx11-misc/slim: remove unused patch (diff)
downloadgentoo-04237409ccaa6f6809f0dc28bfc8b5522bbbf5f0.tar.gz
gentoo-04237409ccaa6f6809f0dc28bfc8b5522bbbf5f0.tar.bz2
gentoo-04237409ccaa6f6809f0dc28bfc8b5522bbbf5f0.zip
x11-misc/xkbd: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/5383
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xkbd/files/xkbd-0.8.15-fix-geometry.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/x11-misc/xkbd/files/xkbd-0.8.15-fix-geometry.patch b/x11-misc/xkbd/files/xkbd-0.8.15-fix-geometry.patch
deleted file mode 100644
index 3620dc5d6f2a..000000000000
--- a/x11-misc/xkbd/files/xkbd-0.8.15-fix-geometry.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -ruN xkbd-0.8.15/src/xkbd.c xkbd-0.8.15-new/src/xkbd.c
---- xkbd-0.8.15/src/xkbd.c 2003-09-29 10:29:35.000000000 -0700
-+++ xkbd-0.8.15-new/src/xkbd.c 2008-03-23 02:43:20.000000000 -0700
-@@ -307,19 +307,20 @@
- 0, BlackPixel(display, screen_num),
- WhitePixel(display, screen_num));
-
-+ wret = DisplayWidth(display, screen_num);
-+ hret = DisplayHeight(display, screen_num)/4;
-+ xret = 0;
-+ yret = DisplayHeight(display, screen_num) - hret;
-+
- if (geometry != NULL)
- {
-- XParseGeometry(geometry, &xret, &yret, &wret, &hret );
-- }
-- else
-- {
-- if (wm_type != WM_MATCHBOX)
-- {
-- wret = DisplayWidth(display, screen_num);
-- hret = DisplayHeight(display, screen_num)/4;
-- xret = 0;
-- yret = DisplayHeight(display, screen_num) - hret;
-- }
-+ int flags;
-+
-+ flags = XParseGeometry(geometry, &xret, &yret, &wret, &hret );
-+ if( flags & XNegative )
-+ xret += DisplayWidth( display, screen_num ) - wret;
-+ if( flags & YNegative )
-+ yret += DisplayHeight( display, screen_num ) - hret;
- }
-
- /* check for user selected keyboard conf file */