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 OSX
tk_movetoplevelwindow
Tk_MoveToplevelWindow(3) Tk Library Procedures Tk_MoveToplevelWindow(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tk_MoveToplevelWindow - Adjust the position of a top-level window
SYNOPSIS
#include <tk.h>
Tk_MoveToplevelWindow(tkwin, x, y)
ARGUMENTS
Tk_Window tkwin (in) Token for top-level window to move.
int x (in) New x-coordinate for the top-left pixel of tkwin's border, or the top-left pixel of the decorative border
supplied for tkwin by the window manager, if there is one.
int y (in) New y-coordinate for the top-left pixel of tkwin's border, or the top-left pixel of the decorative border
supplied for tkwin by the window manager, if there is one.
_________________________________________________________________
DESCRIPTION
In general, a window should never set its own position; this should be done only by the geometry manger that is responsible for the win-
dow. For top-level windows the window manager is effectively the geometry manager; Tk provides interface code between the application and
the window manager to convey the application's desires to the geometry manager. The desired size for a top-level window is conveyed using
the usual Tk_GeometryRequest mechanism. The procedure Tk_MoveToplevelWindow may be used by an application to request a particular position
for a top-level window; this procedure is similar in function to the wm geometry Tcl command except that negative offsets cannot be speci-
fied. It is invoked by widgets such as menus that want to appear at a particular place on the screen.
When Tk_MoveToplevelWindow is called it does not immediately pass on the new desired location to the window manager; it defers this action
until all other outstanding work has been completed, using the Tk_DoWhenIdle mechanism.
KEYWORDS
position, top-level window, window manager
Tk Tk_MoveToplevelWindow(3)