summaryrefslogtreecommitdiff
path: root/x11-wm/olvwm/files/patch-selection.c
blob: 35e8e0bfe62aecd8f11d266896d3168bb89f6230 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- 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;
 		}
 	}