Sponsored Content
Full Discussion: Xlib registering
Top Forums Programming Xlib registering Post 302801677 by thedardanius on Thursday 2nd of May 2013 12:15:57 PM
Old 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

Problems registering

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

Problem in registering new netfilter target module

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

Registering Load time

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

loginlog not registering failed logins

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

Trouble Registering? Countries or Regions Abusing Forums

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

Problem registering a new system

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

Registering from blocked country

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
XMoveResizeWindow()													       XMoveResizeWindow()

Name
  XMoveResizeWindow - change the size and position of a window.

Synopsis
  XMoveResizeWindow(display, w, x, y, width, height)
	Display *display;
	Window w;
	int x, y;
	unsigned int width, height;

Arguments
  display  Specifies a connection to an X server; returned from XOpenDisplay().

  w	   Specifies the ID of the window to be reconfigured.

  x	   Specify the new x and y coordinates of the upper-left pixel of the window's border, relative to the window's parent.
  y
  width    Specify the new width and height in pixels.	These arguments define the interior size of the window.
  height
Description
  XMoveResizeWindow()  moves  or resizes a window or both.  XMoveResizeWindow() does not raise the window.  Resizing a mapped window may lose
  its contents and generate an Expose event on that window depending on the bit_gravity attribute.  Configuring a window may  generate	expo-
  sure events on windows that the window formerly obscured, depending on the new size and location parameters.

  If  the  override_redirect  attribute  of  the  window  is  False (see Volume One, Chapter 4, Window Attributes) and the window manager has
  selected SubstructureRedirectMask on the parent, then a ConfigureRequest event is sent to the window manager, and no further processing  is
  performed.

  If  a  client  has  selected	StructureNotifyMask  on the window, then a ConfigureNotify event is generated after the move and resize takes
  place, and the event will contain the final position and size of the window.	This is only useful in the case of top-level  windows,	since
  the window manager may modify or prevent them being moved or resized.

Errors
  BadValue
  BadWindow

See Also
  XCirculateSubwindows(),  XCirculateSubwindowsDown(),	XCirculateSubwindowsUp(),  XConfigureWindow(), XLowerWindow(), XMoveWindow(), XQuery-
  Tree(), XRaiseWindow(), XReparentWindow(), XResizeWindow(), XRestackWindows().

Xlib - Window Manipulation												       XMoveResizeWindow()
All times are GMT -4. The time now is 04:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy