05-02-2013
Xlib registering
hey,
Im new to the linux world. Lately, I have tried to create a glx window with xlib, making it a popup window(fullscreen) so I set override_redirect to true. Im happy with the removed borders, but apparantly, the application doesnt show up in the left bar in ubuntu, neither when I press alt tab to see running apps. This I presume, means that the windows manager doesnt know about the window? How do I "register" like in windows my application to the window manager? I tried to use SetWMProperties, but that in one or another way didn't work out.
gr.
7 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
To the administrator
I have created this global account "synamics" for our support team but have also tried creating a personal account "asayers" with the correct email address but the system has never emailed me my username and password when I request it and so cannot log in. My email address... (1 Reply)
Discussion started by: synamics
1 Replies
2. Programming
Friends I'm facing a big problem trying to extend the netfilter. Somone please help me with your quick reply (any hint) as I've to meet a deadline.
My problem is that I've written a new netfilter target module and its corresponding userspace program for iptables to change the packet type of a... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies
3. Shell Programming and Scripting
I have a site with a few hundred pages.
I want to know which pages load in more than 6 seconds.
Is it possible? Is there any shell script or tool for this purpose? (0 Replies)
Discussion started by: shantanuo
0 Replies
4. Solaris
Hello guys,
I made a loginlog file to register failed login attempts on my sun-blade 1500 server ( just studying at home) . The code below is how I created the file :
# touch /var/adm/loginlog
# chmod 600 /var/adm/loginlog
# chgrp sys /var/adm/loginlog
After creating the file, I... (1 Reply)
Discussion started by: cjashu
1 Replies
5. Forum Support Area for Unregistered Users & Account Problems
The forums have been seeing a sharp increase in spam bots, forum robots, and malicious registrations from certain countries. If you have been directed to this thread due to a "No Permission Error" when trying to register please post in this thread and request permission to register, including... (1 Reply)
Discussion started by: Neo
1 Replies
6. Red Hat
Hi,
A registered a new system the other day using the subscription-manager (RedHat ES6, Academic edition) but it's not showing up on the web site so that I can entitle it and get updates, etc.
Any ideas?
~ Rob (1 Reply)
Discussion started by: caspersgrin
1 Replies
7. Forum Support Area for Unregistered Users & Account Problems
Hi, I'm come from Vietnam and want to join to Unix forum just because I like Unix programming and want to learning more.
My IP is allocate by DHCP server so it is dynamic.
Here is my desired username and my email:
Username: lucasdo
Email: rennersstar@gmail.com
Thank you very much for... (0 Replies)
Discussion started by: lucasdo
0 Replies
LEARN ABOUT ULTRIX
xreparentwindow
XReparentWindow(3X11) MIT X11R4 XReparentWindow(3X11)
Name
XReparentWindow - reparent windows
Syntax
XReparentWindow(display, w, parent, x, y)
Display *display;
Window w;
Window parent;
int x, y;
Arguments
display Specifies the connection to the X server.
parent Specifies the parent window.
w Specifies the window.
x
y Specify the x and y coordinatesof the position in the new parent window.
Description
If the specified window is mapped, automatically performs an request on it, removes it from its current position in the hierarchy, and
inserts it as the child of the specified parent. The window is placed in the stacking order on top with respect to sibling windows.
After reparenting the specified window, causes the X server to generate a event. The override_redirect member returned in this event is
set to the window's corresponding attribute. Window manager clients usually should ignore this window if this member is set to Finally, if
the specified window was originally mapped, the X server automatically performs a request on it.
The X server performs normal exposure processing on formerly obscured windows. The X server might not generate events for regions from the
initial request that are immediately obscured by the final request. A error results if:
o The new parent window is not on the same screen as the old parent window.
o The new parent window is the specified window or an inferior of the specified window.
o The specified window has a background, and the new parent window is not the same depth as the specified window.
can generate and errors.
Diagnostics
A value for a Window argument does not name a defined Window.
See Also
XChangeSaveSet(3X11)
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
XReparentWindow(3X11)