Results 1 to 4 of 4
Hi,
I am trying to resize a window using the XResizeWindow(),
the window was not created by me. I have got the ID of the
window the XResizeWindow() needs, but ...
- 11-17-2008 #1Just Joined!
- Join Date
- Nov 2008
- Posts
- 2
XResizeWindow not working?
Hi,
I am trying to resize a window using the XResizeWindow(),
the window was not created by me. I have got the ID of the
window the XResizeWindow() needs, but still the XResizeWindow() doesn't resize the Window.
Instead of XResizeWindow(), I tried by sending the ConfigureRequest event too, but still there is not effect.
Anybody knows what I could be doing wrong?
Thanks
Suresh
- 11-17-2008 #2
Just a possibility here:
Your XResizeWindow() request won't necessarily be sent to the X server until one of two things happens:
- you wait for an event; or
- you do an XFlush().
Are you doing one of these two things?--
Bill
Old age and treachery will overcome youth and skill.
- 11-17-2008 #3Just Joined!
- Join Date
- Nov 2008
- Posts
- 2
XResizeWindow not working?
Hi Bill,
I have used Xsync() & XFlush() after the call to XResizeWindow(). I tried with some other functions like
XMoveResizeWindow() and XConfigureWindow() too.
But no effect on the window. Isn't it possible to
resize a window if it is not created by us?
Thanks and regards
Suresh C
- 11-17-2008 #4Yes, it is, and I have no idea why it's not working for you.Isn't it possible to resize a window if it is not created by us?--
Bill
Old age and treachery will overcome youth and skill.


Reply With Quote