Re: How to get the topmost window through xlib programming

2005-11-22 Thread Karthik Ramamoorthy
On 11/22/05, Tim Roberts <[EMAIL PROTECTED]> wrote: XGetInputFocus will tell you the window that currently holds thekeyboard focus.  That is usually what you what when you ask for the"topmost window".  XGetInputFocus is returning the WindowID of the topmost window with an a appended to it ie if win

How to get the topmost window through xlib programming

2005-11-22 Thread Karthik Ramamoorthy
Hi All,    Is there any option to get the topmost window or currently active window through anu xlib API . Because i think, through XQueryTree we can get all the Alive windows(windows that are not closed) only. So is there any means to get the topmost window, also is it possible to check w

Re: how to get handle of active window

2005-09-08 Thread Karthik Ramamoorthy
On 9/6/05, Karthik Ramamoorthy <[EMAIL PROTECTED]> wrote: On 9/6/05, Josip Deanovic < [EMAIL PROTECTED]> wrote: >You can use XQueryTree to get all the windows and then chose only >those you are interested in.    I tried with XQueryTree,  but its not  giving the proper win

Re: how to get handle of active window

2005-09-06 Thread Karthik Ramamoorthy
On 9/6/05, Josip Deanovic <[EMAIL PROTECTED]> wrote: >You can use XQueryTree to get all the windows and then chose only>those you are interested in.    I tried with XQueryTree,  but its not  giving the proper window id of the kids. I had opened one shell Terminal window and Mozilla. I wote

how to get handle of active window

2005-09-05 Thread Karthik Ramamoorthy
Hi All,     Can anybody tell me how to get handle of the currently active window in Desktop let it be kde or Gnome. Is there any Xlib function to get the handle. One xwininfo command is there, but for it mouse click is required to get the window property. So is there any other command

in which script the redhad update icon is loaded

2005-09-01 Thread Karthik Ramamoorthy
Hi,   I want to know in which script does the redhad update icon is loaded, so that i can edid that script so that when Xserver is loaded it runs my application also at load time. Is there a generalized script independent of kde and gnome? Karthik

scripts that run when we type startx

2005-09-01 Thread Karthik Ramamoorthy
Hi, I need to execute my program when Xserver is loaded( ie when we type startx from text mode). So can anybody specify the shell script into which i can incorporate my executable, so that whenever Xserver is loaded my application also runs during the loading.    I tried to incor

scripts that run when we type startx

2005-09-01 Thread Karthik Ramamoorthy
Hi, I need to execute my program when Xserver is loaded( ie when we type startx from text mode). So can anybody specify the shell script into which i can incorporate my executable, so that whenever Xserver is loaded my application also runs during the loading.    I tried to incorpora

can we change desktop size

2005-06-28 Thread Karthik Ramamoorthy
Hi, I used some API(XF86VidSwitchMode) to change the resolution of the Monitor, but its nto changing the size of the Desktop. So know i am in serach of some API to change the Desktop size. So if anybody has some idea or know API to change the Desktop size please mail me. Karthik __

xrandr not working in dual monitor

2005-06-26 Thread Karthik Ramamoorthy
Hi , I am not able to change the resolution of the Monitor dynamically at runtime after staring X. i tried with xrandr command its giving error "Xlib extension "XRANDR" missing display ":0.0". " I am attching my XFConfig file. In XFree86.0.log it shows "RandR

Re: How to change resolution of the Monitor

2005-06-26 Thread Karthik Ramamoorthy
randr extension. it works better for me than XF86VidMode. > Or check out http://www.freedesktop.org/wiki/Software_2fxfullscreen > if you want to work with XF86VidMode, but i never test it. Perhaps it's > useful for you. > greets > Alex > > Karthik Ramamoorthy schrieb: &g

xrandr not working in Dual Monitor

2005-06-25 Thread Karthik Ramamoorthy
Hi, xrandr is not working in my Dual Mnitor setup. In my /etc/X11XF86Config file. it i disable Xinerama then xrandr is working properly. But my Dual Configuration is not working properly. And if i enable Xinerama then xrandr is not working giving error as follow Xlib: extension "RANDR" mis

Re: How to change resolution of the Monitor

2005-06-25 Thread Karthik Ramamoorthy
's > useful for you. > greets > Alex > > Karthik Ramamoorthy schrieb: > > Hi, > > > > Can any one tell me using which API i can chage the resolution of > > Monitor. > > > > I found one ir XF86VidModeSwitchToMode but this API is nnot chainging

How to change resolution of the Monitor

2005-06-25 Thread Karthik Ramamoorthy
Hi, Can any one tell me using which API i can chage the resolution of Monitor. I found one ir XF86VidModeSwitchToMode but this API is nnot chainging resolution properly. My screen is going beyond the Monitor Surface area. I think its not altering my virtual resolution. So is there any

Does Intel 865G graphics card support gamma correction

2005-06-22 Thread Karthik Ramamoorthy
Hi all, In my system ie Intel PC with i865G integrated graphics card, i am not able to do gamma correction. My Linux is SuSE 9.2. Is it that Intel cards does have XFree86 driver support to change gamma values. How can i do gamma correction in my system. Is it possible in In