01-31-2014
Yeah, I am trying to find out if a (particular) window is visible and ready to receive input. I tried all sorts of routines, (XListProperties, XGetWindowProperty, XGetWindowAttributes) but all of them return that he window is visible, whether that is true or not. Also tried xprod -name, -id, but those return the same information whatever the state of the window.
Again, I am using DTWM as sole window manager, and that might just be the problem. On my Gnome desktop, I get the correct information.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Do you think there a way to get the windows titles of an X11 application with multiple windows on AIX?
I have only the application's process id, but I can use shell and C++ programming. I am looking for a hint/links to explore.
Thanks! (0 Replies)
Discussion started by: lolal500
0 Replies
2. Windows & DOS: Issues & Discussions
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
3. Shell Programming and Scripting
I am writing a script to cross check the dbscript. For that I am searching the SQL manipulators in the dbscript as shown below. But my problem is the variable $pattern is coming as null when comes out of the foreach loop.
File content:
=========
vi /home2/niroj_p/dbscript.sql
-------... (1 Reply)
Discussion started by: Niroj
1 Replies
4. Solaris
dear bro.
I using /usr/X11/bin/xorgconfig command configed xorg, and sync && init 6
but after restarted, used svcs -a to checked services status:
maintenance 23:41:50 svc:/application/x11/xvnc-inetd:default
How to solve this problem and connect to solaris using vncviewer under... (5 Replies)
Discussion started by: P2Baby
5 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I recently upgraded to windows 7 and am therefore reinstalling cygwin/x11 after a long time. On XP I would start xterm from the startxwin.bat file. I am experiencing trouble starting with the startxwin executable which is the new recommended startup method as well as afew other... (2 Replies)
Discussion started by: ScKaSx
2 Replies
6. Solaris
Hey everyone
I have a solaris 10 install, with an extra zone installed. I am ssh-ing to it from a windows machine using putty, with Xming installed. I can get the global zone to forward the X11 windows fine, but when I ssh to the zone, it doesn't work, giving the error:
Xlib: connection to... (1 Reply)
Discussion started by: goodvikings
1 Replies
7. Windows & DOS: Issues & Discussions
Hi,
I was hoping that somebody could assist me with the following issue.
I recently installed a windows 7 64 bit professional on a desktop with following specs: Intel Core i7 3.4Ghz, 16 GB DDR3 RAM, AMD Radeon HD 6450.
(Which was a upgrade of a xp 32 bit based system)
Since I'm more... (10 Replies)
Discussion started by: kristofvdo
10 Replies
8. UNIX for Advanced & Expert Users
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
9. UNIX for Dummies Questions & Answers
I know this question might have been asked a lot but couldn't find anything that worked. From a windows machine 'A' I can only SSH into Linux server 'B' from where I can SSH into another Linux server 'C'. I need to be able to run GUI interfaces on server C which run on my Windows machine. I... (3 Replies)
Discussion started by: hr.prasan
3 Replies
10. Shell Programming and Scripting
Dear All,
Saying, I have two distinct functions with the same goal (counting lines containing a specific pattern in a file MyFile).
To perform that operation, I used a "while loop" with two different syntax ("grep" command would be much more better in that case but this is not the concern in... (8 Replies)
Discussion started by: dae
8 Replies
LEARN ABOUT REDHAT
glutvisibilityfunc
glutVisibilityFunc(3GLUT) GLUT glutVisibilityFunc(3GLUT)
NAME
glutVisibilityFunc - sets the visibility callback for the current window.
SYNTAX
void glutVisibilityFunc(void (*func)(int state));
ARGUMENTS
func The new visibility callback function.
DESCRIPTION
glutVisibilityFunc sets the visibility callback for the current window. The visibility callback for a window is called when the visibility
of a window changes. The state callback parameter is either GLUT_NOT_VISIBLE or GLUT_VISIBLE depending on the current visibility of the
window. GLUT_VISIBLE does not distinguish a window being totally versus partially visible. GLUT_NOT_VISIBLE means no part of the window is
visible, i.e., until the window's visibility changes, all further rendering to the window is discarded.
GLUT considers a window visible if any pixel of the window is visible or any pixel of any descendant window is visible on the screen.
Passing NULL to glutVisibilityFunc disables the generation of the visibility callback.
If the visibility callback for a window is disabled and later re-enabled, the visibility status of the window is undefined; any change in
window visibility will be reported, that is if you disable a visibility callback and re-enable the callback, you are guaranteed the next
visibility change will be reported.
SEE ALSO
glutCreateWindow, glutPopWindow
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutVisibilityFunc(3GLUT)