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 CENTOS
xreparentevent
XReparentEvent(3) XLIB FUNCTIONS XReparentEvent(3)
NAME
XReparentEvent - ReparentNotify event structure
STRUCTURES
The structure for ReparentNotify events contains:
typedef struct {
int type; /* ReparentNotify */
unsigned long serial; /* # of last request processed by server */
Bool send_event; /* true if this came from a SendEvent request */
Display *display; /* Display the event was read from */
Window event;
Window window;
Window parent;
int x, y;
Bool override_redirect;
} XReparentEvent;
When you receive this event, the structure members are set as follows.
The type member is set to the event type constant name that uniquely identifies it. For example, when the X server reports a GraphicsEx-
pose event to a client application, it sends an XGraphicsExposeEvent structure with the type member set to GraphicsExpose. The display
member is set to a pointer to the display the event was read on. The send_event member is set to True if the event came from a SendEvent
protocol request. The serial member is set from the serial number reported in the protocol but expanded from the 16-bit least-significant
bits to a full 32-bit value. The window member is set to the window that is most useful to toolkit dispatchers.
The event member is set either to the reparented window or to the old or the new parent, depending on whether StructureNotify or Substruc-
tureNotify was selected. The window member is set to the window that was reparented. The parent member is set to the new parent window.
The x and y members are set to the reparented window's coordinates relative to the new parent window's origin and define the upper-left
outer corner of the reparented window. The override_redirect member is set to the override-redirect attribute of the window specified by
the window member. Window manager clients normally should ignore this window if the override_redirect member is True.
SEE ALSO
XAnyEvent(3), XButtonEvent(3), XCreateWindowEvent(3), XCirculateEvent(3), XCirculateRequestEvent(3), XColormapEvent(3), XConfigureEvent(3),
XConfigureRequestEvent(3), XCrossingEvent(3), XDestroyWindowEvent(3), XErrorEvent(3), XExposeEvent(3), XFocusChangeEvent(3), XGraphicsEx-
poseEvent(3), XGravityEvent(3), XKeymapEvent(3), XMapEvent(3), XMapRequestEvent(3), XPropertyEvent(3), XResizeRequestEvent(3), XSelection-
ClearEvent(3), XSelectionEvent(3), XSelectionRequestEvent(3), XUnmapEvent(3), XVisibilityEvent(3)
Xlib - C Language X Interface
X Version 11 libX11 1.6.0 XReparentEvent(3)