10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Is it possible to toggle back and forth between an xterm invoked from one tty, and a shell invoked from a different tty?
I am running Centos 7 with KDE and booting in non-graphic mode. After logging in on the default window (/dev/tty1) , I can then use ALT-F2 to access a new window (/dev/tty2),... (1 Reply)
Discussion started by: rhgscty
1 Replies
2. HP-UX
Hello,
I'm new to HP-UX and I'm not sure about some concepts related to resizing fs's under this OS.
First of all I'm only asking about resizing ONLINE, it means, without having to umount the fs nor rebooting, etc.
Q1. I've read that in order to resize a fs online there are 2 requirements:... (3 Replies)
Discussion started by: asanchez
3 Replies
3. Solaris
I'm used to using AIX but a new box running Solaris I need a little help with.
The disk are presented from a SAN, the disk needing to change is presented as 148GBs drive which was allocated to a file system as the same. I need to change that without losing any data. I know I can change the disk... (7 Replies)
Discussion started by: ltlawnman
7 Replies
4. Solaris
Is there a way to take space from the /opt slice (/dev/dsk/c1t0d0s5) and then put it in the /var (/dev/dsk/c1t0d0s1)? In theory, I should be able to ufsdump /opt and /var to another drive. Use disk label to resize those two slices (ex. take 10G from opt and add to /var) and then newfs and dump back... (1 Reply)
Discussion started by: adelsin
1 Replies
5. Red Hat
Hi everyone!
I have a strange situation. I'm running an NX remote Gnome desktop session. On the remote machine, there is a whole load of unsaved data in a window. A problem that I've been having with this NX session is that I can't load Gnome Applets, including the Window Switcher. So.. when I... (0 Replies)
Discussion started by: alexandicity
0 Replies
6. UNIX for Advanced & Expert Users
How can I define the size of the terminal window?
If I open multiple windows, it should be opened by these defined sizes.
I need your help in this.
Thanking you in advance. (0 Replies)
Discussion started by: sharif
0 Replies
7. Solaris
Hi,
How can I define the window's size when I use ctelnet command?
For eg. I am opening the cluster windows by using
ctelnet host1 host2..., Here I wanna define the windows's size. (0 Replies)
Discussion started by: sharif
0 Replies
8. Linux
I want to run a script that changes the size of the window from which it's been started. Turns out that if I start up a putty windowo to a remove linux box, I can simply issue the command 'resize -s row col' and it will in fact do the resize. If I'm physically running on the local linux system's... (1 Reply)
Discussion started by: MarkSeger
1 Replies
9. Windows & DOS: Issues & Discussions
Hello,
We someone help me resolve this problem. I have window 2000 professional, windows 98 and Unixware 7.0.1 on the network. I was able to establish connection with all. However, l was unable to ping window 98 from window 2000 professional. I was able to ping the window 2000 from the window... (10 Replies)
Discussion started by: kayode
10 Replies
10. UNIX for Dummies Questions & Answers
I downloaded the Solaris recommended patched for x86 and tried to install it, but I got the message that I dont have enough disk space. I don't want to install the patches without the option to back out. Anyway I did a df -k and found that my root mount point is in 948MB whereas my /export/home is... (5 Replies)
Discussion started by: dangral
5 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()