LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-21-2009, 01:05 AM   #1
ravi13jain
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Rep: Reputation: 0
How to switch the FOCUS between any two application


Hi All,

Can anyone help me in providing the change Focus program or logic for switching between any two application.
There is X11 API's like XGetInputFocus and XsetInputFocus etc.
I have tried the sample code using these API's but i did not get the desired output.
Actually i was trying to make an Soft KeyBoard (virtual)application in which i need Focus trasfer mechanism to enter or send the key event as an input to another application.
Thanks in advance. Please Help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to switch the FOCUS between any two application. ravi13jain Linux - Newbie 1 08-20-2009 10:34 PM
Focus on Click or anything else besides Focus on mouse. mellor Linux - Newbie 2 05-29-2008 11:31 AM
second X DISPLAY steals focus on application exit jhwilliams Linux - Software 1 08-23-2007 01:22 PM
How to switch an application from one desktop to another using command line demianxyz Linux - Software 2 10-15-2006 06:36 PM
How can switch between two application? stny Programming 2 01-11-2006 03:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration