aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/xview/files/patch-clients-olwm-selection.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/xview/files/patch-clients-olwm-selection.c')
-rw-r--r--x11-toolkits/xview/files/patch-clients-olwm-selection.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-toolkits/xview/files/patch-clients-olwm-selection.c b/x11-toolkits/xview/files/patch-clients-olwm-selection.c
new file mode 100644
index 000000000000..de1eeaca1a2f
--- /dev/null
+++ b/x11-toolkits/xview/files/patch-clients-olwm-selection.c
@@ -0,0 +1,18 @@
+--- clients/olwm/selection.c.orig 2005-03-28 06:39:46.000000000 -0800
++++ clients/olwm/selection.c 2013-09-17 22:55:40.832118661 -0700
+@@ -316,13 +316,13 @@
+ XSetSelectionOwner(cli->dpy, XA_PRIMARY,
+ NoFocusWin, timestamp);
+ if (NoFocusWin != XGetSelectionOwner(cli->dpy, XA_PRIMARY))
+- return;
++ return 0;
+ } else {
+ /* First look to see if window is already listed. */
+ for(tc = ListEnum(&l); tc != NULL; tc = ListEnum(&l))
+ {
+ if (tc == cli)
+- return;
++ return 0;
+ }
+ }
+