ports/x11-wm/olvwm/files/patch-selection.c
Cy Schubert fbde5c5dd6 Fix build under 10-CURRENT.
Split old-style patch files into current standard individual patch files.
2013-09-18 05:16:46 +00:00

18 lines
489 B
C

--- selection.c.orig 2013-09-17 21:38:07.442239399 -0700
+++ selection.c 2013-09-17 21:45:20.241114850 -0700
@@ -318,13 +318,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;
}
}