LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-16-2017, 09:12 AM   #1
manojpalhade
LQ Newbie
 
Registered: Mar 2017
Posts: 2

Rep: Reputation: Disabled
FVWM events


Hi,

I am very new and the first time I am working on FVWM and in Linux. I have to write code in C to subscribe if New Windows get opened in any Process using socket(default 127.0.0.1:10010). Check if this Windows Id of a new window is matching to given process id.

Please let me know if any of you have any information regarding same and/or better way to using FVWM api's possible with sample code.

Actually, I want to monitor(know Window Id​s​) all the Windows opened for a particular process(input as Process Id).

Thanks
Map
 
Old 03-17-2017, 12:11 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
DBus sounds like what you're looking for
It's IPCS userspace API which catches signals from applications starting inside the node level namespace.
 
Old 03-17-2017, 12:23 AM   #3
manojpalhade
LQ Newbie
 
Registered: Mar 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
I don't have option to choose DBus, I have to use X11 things and that too without using XC-APPGROUP X11 extension ( XAppGroup extension )
 
Old 03-20-2017, 02:22 AM   #4
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Sorry you didn't get any replys. I don't know GUI, but maybe others would reply
if you could provide a few more details on what code you might try.

I found a few things from this web-search:
Quote:
xorg|fvwm "new window" notification
but I don't know whether any of that is relevant (since I don't know X11 api)

Best wishes and welcome to LQ! p.s. a famous link: http://catb.org/~esr/faqs/smart-questions.html
 
2 members found this post helpful.
Old 03-20-2017, 03:01 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by manojpalhade View Post
I am working on FVWM and in Linux. I have to write code in C to subscribe if New Windows get opened ...
i'm not sure what you're trying to achieve, but maybe you're looking in the wrong place.
maybe FVWM is completely irrelevant for what you want, and you should rather look into things liek Xlibs, X protocols, NETWM, EWMH etc.
 
  


Reply



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
Hang on triggering udev events- is there a buildup of events? sonichedgehog Slackware 20 07-11-2008 02:49 AM
fvwm & fvwm-crystal? festhead Linux - Desktop 1 09-23-2007 09:49 AM
transparency not correct with fvwm + fvwm-crystal + radeon hedpe Linux - Desktop 0 01-30-2007 07:59 PM
clock not working in fvwm with fvwm-crystal hedpe Linux - Software 0 09-13-2005 08:04 PM
2 fvwm processes with 2 displays, only want one fvwm enzo250gto Linux - Software 0 01-27-2005 04:50 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:13 AM.

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