LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 02-03-2007, 12:25 AM   #1
LQ Newbie
Registered: Sep 2006
Posts: 18

Rep: Reputation: 0
xwindows, how can a client window be notified when parent window is moved/resized?

I've a doubt regarding xwindow programming.
xwindows, how can a client window be notified when parent window is moved or resized? (in xlib/Xt).

Can someone please help?
shamju joseph
Old 02-03-2007, 07:30 PM   #2
Registered: Jun 2006
Location: Mariposa
Distribution: Slackware 9.1
Posts: 938

Rep: Reputation: 30
I think you're mostly out of luck here.

The closest event you can get is ConfigureNotify. This informs the client application that one of its windows has been resized. Is it possible for your application to keep a list of subwindows of that window, so you can "notify" code for each of them?

And I could be wrong, but I don't think there's an event to notify the client that one of its windows has been moved.


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
aterm transparency lagging when moved/resized bjharker Linux - Software 4 07-02-2006 02:12 PM
Strange behaviour in resized rxvt window cothrige Linux - Software 5 03-29-2006 12:23 PM
Music is scratchy sounding unless window is moved macewan Linux - Hardware 4 12-08-2004 08:58 AM
xwindows problem after changed window manager in RedHat 9 Sully735 Red Hat 2 10-23-2003 08:55 PM
How do I reattach floating window to its parent? bscbrit Linux - Newbie 3 09-24-2003 10:49 AM

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

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