From owner-freebsd-x11@FreeBSD.ORG Mon Dec 5 16:19:15 2011 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F09E106564A for ; Mon, 5 Dec 2011 16:19:15 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id C89798FC13 for ; Mon, 5 Dec 2011 16:19:14 +0000 (UTC) Received: by ywp17 with SMTP id 17so6322366ywp.13 for ; Mon, 05 Dec 2011 08:19:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=uzZkbKp1+l2xeP3r9ZOQiMUc2WBubAi/UnDRrCfE1bA=; b=Gll8G3sYoIH5eNTSh821mKeiE3evj+5K74I1B/ELxinWYvwyDFlihs1D3o4lFTbdG9 ZX0eEq3lS1r8qvUFw9RaWHvHvFcl4OhqCEl67MqMQ1GqM7tw7azoxElp3kQ8IUUlhC9D qb8pS4CSizJdqLblv9fddAqlKd/yHFuuSpuzE= MIME-Version: 1.0 Received: by 10.50.181.202 with SMTP id dy10mr9135538igc.14.1323101953364; Mon, 05 Dec 2011 08:19:13 -0800 (PST) Received: by 10.43.50.193 with HTTP; Mon, 5 Dec 2011 08:19:13 -0800 (PST) Date: Mon, 5 Dec 2011 11:19:13 -0500 Message-ID: From: Aryeh Friedman To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to get x_window_t for a give window ID in libxcb X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 16:19:15 -0000 I am asking this here because I can not think of a better place (if there is let me know): Using the code at http://www.javakb.com/Uwe/Forum.aspx/java-programmer/21292/Getting-X11-window-idas a model I have made it so I can get the ID of any Java created window.... I also know how to set event masks and such... what I don't know is how to tie them together namely I need to find a lib/function that will give me back the x_window_t for that window and then allow me to modify the event mask