Restacking x11/Xlib Window


 
Thread Tools Search this Thread
Operating Systems Solaris Restacking x11/Xlib Window
# 1  
Old 01-24-2014
Restacking x11/Xlib Window

I have a full screen top level window (application) on Solaris 10. We have a minimal window manager (DTWM), because of the critical nature of the app. On top of the first application, we have another application with a top level window, that covers the upper left area of the first application. Now, when the first top level application revceives messages as client windows, the seccond top level application (window) disappears into the background. This is standard behavior, but is it possible to squeeze the second top level window between the first top level window and its client(s) programmatically? I tried XLib's XRegonfigureWindow and XRestackWindows, but those fail.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Toggle between xterm window and standard terminal window

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. Programming

Xlib search window by his name

Hello, I just try to get the control of a Window by searching his name. I curretly do that : Window CMD::window_from_name_search(Display *display, Window current, char const *needle) { Window retval, root, parent, *children; unsigned children_count; char *name = NULL; ... (0 Replies)
Discussion started by: Loustak
0 Replies

3. UNIX for Advanced & Expert Users

[Solved] putty+x11:How do I pass X11 display rights to "su"?

I can log into a unix system with Putty. I've set the "X11 forwarding" checkbox, and I've verified that I can display an X11 window back on my laptop. What I need to be able to do is "su" to another uid after logging in and then run something which display a window back on my laptop, with the... (2 Replies)
Discussion started by: dkarr
2 Replies

4. UNIX for Dummies Questions & Answers

X window/X11 basics

Hi all, Can anybody suggest a good resource to know about X/X-window/X11 etc in linux/unix. Introduction and useful commands. Its little confusing to me. thanks in advance! (0 Replies)
Discussion started by: lramsb4u
0 Replies

5. Solaris

Pop-up window using X11

Anyone know of a way to create a pop-up window using X11? I'm not to sure where to start. I just think it would be neat to do. So I was hoping someone out there had documentation on how to go about this, or if I was going to have to write/compile a program to do so. Thank you! Adelsin (8 Replies)
Discussion started by: adelsin
8 Replies

6. UNIX for Dummies Questions & Answers

Newbie needs help with Xlib / X11 programming,dunno who to ask,but you :(

Hi,I'm new here and to Unix also. I'm totall newbie. Here is what I have to do: -Basics of programming user interface with Xlib library -Xlib -Client/Server model of X-Windows system -Example of "Hello world" with button which changes text ,so that when u click displays another... (4 Replies)
Discussion started by: megane16v
4 Replies

7. Solaris

How to set DISPLAY to support X11 window server

I can run xclock from root but not able to run in a user (oracle) I am getting this error during installation of ORACLE-10g (10.2) in Solaris-10 (X86).............when I do ./runInstaller when ever try, getting this error....... DISPLAY not set. Please set the DISPLAY and try again. or... (2 Replies)
Discussion started by: gohappy
2 Replies

8. Windows & DOS: Issues & Discussions

cygwin-x/can't install xorg-x11-f100 & xorg-x11-fnts

Hello All. Really a newbie to Linux/Unix. Trying to get into Linux. Using XP PE currently. Installed cygwin and trying to intall cygwin-x. Everything else is setup nice but i can't seem to install these two packages (without whom xwin won't start) 1. xorg-x11-f100 2. xorg-x11-fnts Tried the... (1 Reply)
Discussion started by: binodbdrchand
1 Replies

9. UNIX for Advanced & Expert Users

Problem with X11 Root Window

At school, on an HP-UX or B.11.11 U 9000/785 system, my X11 root window is always set to 8-bit color, but all the child windows are 24-bit. The problem with this, is any background/wallpaper looks extremely ugly with the 8-bit color. Is there any way to make X starts with 24-bit color root window?... (0 Replies)
Discussion started by: ljfong
0 Replies
Login or Register to Ask a Question
winop(n)						       BLT Built-In Commands							  winop(n)

__________________________________________________________________________________________________________________________________________________

NAME
winop - Perform assorted window operations SYNOPSIS
winop lower ?window?... winop map ?window?... winop move window x y winop raise ?window?... winop snap window photoName winop unmap ?window?... winop warpto ?window? _________________________________________________________________ DESCRIPTION
The winop command performs various window operations on Tk windows using low-level Xlib function calls to work around window manager pecu- liarities. INTRODUCTION
Tk has several commands for manipulating its windows: raise, lower, wm, etc. These commands ask the window manager to perform operations on Tk windows. In some cases, a particular window manager won't perform the operation as expected. For example, if you positioned a toplevel window using wm geometry, the window may not actually be at those particular coordinates. The position of the window may be offset by dimensions of the title bar added by the window manager. In situations like these, the winop command can be used to workaround these difficulties. Instead, it makes low-level Xlib (such XRaiseWindow and XMapWindow) calls to perform these operations. toplevel .top wm withdraw .top # Set the geometry to make the window manager # place the window. wm geometry .top +100+100 # Move the window to the desired location # and "update" to force the window manager # to recognize it. winop move .top 100 100 update wm deiconify .top winop move .top 100 100 OPERATIONS
The following operations are available for the winop command: winop lower ?window?... Lowers window to the bottom of the X window stack. Window is the path name of a Tk window. winop map ?window?... Maps window on the screen. Window is the path name of a Tk window. If window is already mapped, this command has no effect. winop move window x y Move window to the screen location specified by x and y. Window is the path name of a Tk window, while x and y are screen coordi- nates. This command returns the empty string. winop raise ?window?... Raises window to the top of the X window stack. Window must be a valid path name of a Tk window. This command returns the empty string. winop snap window photoName Takes a snapshot of the window and stores the contents in the photo image photoName. Window is the valid path name of a Tk window which must be totally visible (unobscured). PhotoName is the name of a Tk photo image which must already exist. This command can fail if the window is obscured in any fashion, such as covered by another window or partially offscreen. In that case, an error message is returned. winop unmap ?window?... Unmaps window from the screen. Window is the path name of a Tk window. winop warpto ?window? Warps the pointer to window. Window is the path name of a Tk window which must be mapped. If window is in the form @x,y, where x and y are root screen coordinates, the pointer is warped to that location on the screen. [I've never heard a good case for warping the pointer in an application. It can be useful for testing, but in applications, it's always a bad idea. Simply stated, the user owns the pointer, not the application. If you have an application that needs it, I'd like to hear about it.] If no window argument is present the current location of the pointer is returned. The location is returned as a list in the form "x y", where x and y are the current coordinates of the pointer. KEYWORDS
window, map, raise, lower, pointer, warp BLT
2.4 winop(n)