RE: XGetInputFocus not working

2009-04-21 Thread VARADHARAJAN RAVINDRANATH
point where am I getting wrong ?? Thanks Regards, R.Varadharajan. -Original Message- From: Peter Hutterer [mailto:peter.hutte...@who-t.net] Sent: Tuesday, April 21, 2009 10:17 AM To: VARADHARAJAN RAVINDRANATH Cc: xorg@lists.freedesktop.org Subject: Re: XGetInputFocus not working On Tue

Re: XGetInputFocus not working

2009-04-21 Thread Peter Hutterer
On Tue, Apr 21, 2009 at 08:10:16AM +0200, VARADHARAJAN RAVINDRANATH wrote: Hi, Following is the code in the windows manager to get the focused window details: Some_fn() { Window focusWindow; Display *focusDisplay; focusDisplay = XOpenDisplay(NULL); int

RE: XGetInputFocus not working

2009-04-21 Thread VARADHARAJAN RAVINDRANATH
[mailto:peter.hutte...@who-t.net] Sent: Tuesday, April 21, 2009 12:25 PM To: VARADHARAJAN RAVINDRANATH Cc: xorg@lists.freedesktop.org Subject: Re: XGetInputFocus not working On Tue, Apr 21, 2009 at 08:10:16AM +0200, VARADHARAJAN RAVINDRANATH wrote: Hi, Following is the code in the windows

Re: XGetInputFocus not working

2009-04-20 Thread Peter Hutterer
On Tue, Apr 21, 2009 at 06:16:13AM +0200, VARADHARAJAN RAVINDRANATH wrote: I am developing an X11 windows manager with minimal functionality. Here, I need to find the focus window. I used XGetInputFocus API, this always returns 64 as window ID and never the actual Window ID of the focused