diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-03 13:42:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-03 13:42:34 +0000 |
commit | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (patch) | |
tree | 3cb05783d73b2c33589ba305144a31c718e123cd /app-text/llpp/files | |
parent | 16449a80e28af2209916cc66d19c9a44ca2b90d9 (diff) |
gentoo resync : 03.03.2019
Diffstat (limited to 'app-text/llpp/files')
-rw-r--r-- | app-text/llpp/files/llpp-26b-WM_CLASS.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/app-text/llpp/files/llpp-26b-WM_CLASS.patch b/app-text/llpp/files/llpp-26b-WM_CLASS.patch deleted file mode 100644 index e99d9a4e4e5a..000000000000 --- a/app-text/llpp/files/llpp-26b-WM_CLASS.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- llpp-26b/link.c -+++ llpp-26b/link.c -@@ -4392,6 +4392,31 @@ - return caml_copy_string (FZ_VERSION); - } - -+#if !defined (_WIN32) && !defined (__APPLE__) -+#undef pixel -+#include <X11/X.h> -+#include <X11/Xlib.h> -+#include <X11/Xutil.h> -+#include <GL/glx.h> -+ -+static void set_wm_class (void) -+{ -+ Display *dpy; -+ Window win; -+ XClassHint hint; -+ -+ dpy = XOpenDisplay (getenv ("DISPLAY")); -+ DefaultScreen (dpy); -+ hint.res_name = "llpp"; -+ hint.res_class = "llpp"; -+ win = glXGetCurrentDrawable (); -+ XSetClassHint (dpy, win, &hint); -+ XCloseDisplay (dpy); -+} -+#else -+#define set_wm_class() -+#endif -+ - CAMLprim void ml_init (value csock_v, value params_v) - { - CAMLparam2 (csock_v, params_v); -@@ -4460,5 +4485,6 @@ - errx (1, "pthread_create: %s", strerror (ret)); - } - -+ set_wm_class (); - CAMLreturn0; - } |