10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Guys,
When I use putty and maximize it, then the second half of the emulator window is not utilized and used! I mean the mouse cursor is at the half of the page not at the bottom! i have to once minimize and maximize the window to tell putty that i am going to use the maxmized window...is... (4 Replies)
Discussion started by: messi777
4 Replies
2. IP Networking
Hello!
I'm writing a small telnet client using Erlang and the gen_tcp library.
I receive IAC WILL ECHO and IAC WILL SUPPRESS_GO_AHEAD
which I respond to.
Then I receive various text output from the server, and then this:
resize: unknown character, exiting.
I'm curious as to why I do... (1 Reply)
Discussion started by: Gustav
1 Replies
3. Shell Programming and Scripting
Hi,
I am programming a script that shows a figure on screen but I would be centered, so What I have to use command to get the size of the window?
Thanks a lot, (2 Replies)
Discussion started by: Gengis-Kahn
2 Replies
4. SCO
Hello friends,
I am using telnet from windows xp to connect to SCO Unix. Since i am used to telnet environment given by linux from windows, this one is annoying.
The cursor movements has no boundary, causing me to type control characters accidentally, which makes it difficult to navigate,... (1 Reply)
Discussion started by: frozensmilz
1 Replies
5. UNIX Desktop Questions & Answers
Hi,
When I launch firefox in mwm on VectorLinux 5.8, its window borders stretch just a bit beyond the screen size. My resolution is 800x600. How do I fix this issue so that it always stays within the screen when I launch it?
Thank you. (1 Reply)
Discussion started by: nixusr
1 Replies
6. UNIX Desktop Questions & Answers
Hi,
How can I resize the terminal window's default size in CDE (Solaris)?
Regards,
Sharif. (1 Reply)
Discussion started by: sharif
1 Replies
7. UNIX for Advanced & Expert Users
Hi,
How can I resize the ctelnet window in Solaris? (0 Replies)
Discussion started by: sharif
0 Replies
8. Shell Programming and Scripting
Hello,
I am starting up an Xnest window and trying to place a program inside of it. I have the window inside of it now but it always spawns with the top left corner at (0, 0). I need to find a way to set the x and y coordinates to something other than (0, 0). I tried using the -geometry option... (1 Reply)
Discussion started by: lesnaubr
1 Replies
9. Solaris
Hi,
I need to get the console window size for an application, for which I used ioctl() by passing the TIOCGWINSZ parameter. The ioctl() function does not fail (returns non zero), but it could not get the window size (gets 0x0). When I tried to verify the window size by the stty -a command, the... (2 Replies)
Discussion started by: diganta
2 Replies
10. UNIX for Dummies Questions & Answers
Hi, i will like to enquire whether anybody got encountered this problem before. When i try to print a report in pdf from window to the printer the size is what i want but when i batch print from Unix , calling a batch job the report that are generated out from the printer is of bigger font , why is... (0 Replies)
Discussion started by: blueberry80
0 Replies
XMoveResizeWindow() XMoveResizeWindow()
Name
XMoveResizeWindow - change the size and position of a window.
Synopsis
XMoveResizeWindow(display, w, x, y, width, height)
Display *display;
Window w;
int x, y;
unsigned int width, height;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
w Specifies the ID of the window to be reconfigured.
x Specify the new x and y coordinates of the upper-left pixel of the window's border, relative to the window's parent.
y
width Specify the new width and height in pixels. These arguments define the interior size of the window.
height
Description
XMoveResizeWindow() moves or resizes a window or both. XMoveResizeWindow() does not raise the window. Resizing a mapped window may lose
its contents and generate an Expose event on that window depending on the bit_gravity attribute. Configuring a window may generate expo-
sure events on windows that the window formerly obscured, depending on the new size and location parameters.
If the override_redirect attribute of the window is False (see Volume One, Chapter 4, Window Attributes) and the window manager has
selected SubstructureRedirectMask on the parent, then a ConfigureRequest event is sent to the window manager, and no further processing is
performed.
If a client has selected StructureNotifyMask on the window, then a ConfigureNotify event is generated after the move and resize takes
place, and the event will contain the final position and size of the window. This is only useful in the case of top-level windows, since
the window manager may modify or prevent them being moved or resized.
Errors
BadValue
BadWindow
See Also
XCirculateSubwindows(), XCirculateSubwindowsDown(), XCirculateSubwindowsUp(), XConfigureWindow(), XLowerWindow(), XMoveWindow(), XQuery-
Tree(), XRaiseWindow(), XReparentWindow(), XResizeWindow(), XRestackWindows().
Xlib - Window Manipulation XMoveResizeWindow()