aboutsummaryrefslogtreecommitdiffstats
path: root/xevents.c
diff options
context:
space:
mode:
authorokan2013-05-11 22:01:07 +0000
committerokan2013-05-11 22:01:07 +0000
commitc10f247fe2e763d3a27fa7c71afcbeee388da4ec (patch)
tree0546d0045b9f905194a580ff69ee127edff36ca3 /xevents.c
parent4b59df09f499f58b09ee0ed3be0bbab3f4e78638 (diff)
downloadcwm-c10f247fe2e763d3a27fa7c71afcbeee388da4ec.tar.gz
new -> init
Diffstat (limited to 'xevents.c')
-rw-r--r--xevents.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xevents.c b/xevents.c
index 006e3c2..f9c3f2f 100644
--- a/xevents.c
+++ b/xevents.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: xevents.c,v 1.75 2013/05/10 16:32:48 okan Exp $
+ * $OpenBSD: xevents.c,v 1.76 2013/05/11 22:01:07 okan Exp $
*/
/*
@@ -86,7 +86,7 @@ xev_handle_maprequest(XEvent *ee)
if ((cc = client_find(e->window)) == NULL) {
XGetWindowAttributes(X_Dpy, e->window, &xattr);
- cc = client_new(e->window, screen_fromroot(xattr.root), 1);
+ cc = client_init(e->window, screen_fromroot(xattr.root), 1);
}
if ((cc->flags & CLIENT_IGNORE) == 0)