PDA

View Full Version : X11 api (dev question)


jinxjinx
06-27-2006, 04:43 PM
does anyone know if there is a way to make x11 move around all its client windows?
I want to write an application that has control over all the client window properties like size and position.

thanks

hayne
06-27-2006, 04:53 PM
an application that has control over all the client window properties like size and position
That sort of application is usually called a "window manager".
You can only be running one window manager at a time.
See the X11 FAQ at the top of this forum section for info on running a different window manager.
The source code for most of the alternative window managers is available so you could use one of these as a starting point.

jinxjinx
06-27-2006, 05:21 PM
so your saying i would need to write a whole new window manager to run on top of x11?

there is no way to control other windows with out changing the current window manager?

dmacks
06-27-2006, 08:24 PM
Some window managers may have ways for external apps to affect certain window parameters and/or there may be standard (xlib or wm) way to do it. For example, "xwininfo" can query an arbitrary window.

dmacks
07-10-2006, 11:30 PM
Check out 'xwit':

SYNOPSIS
xwit [-display display] [-sync] [-pop] [-iconify] [-unmap]
[-resize w h] [-rows r] [-columns c] [-[r]move x y]
[-[r]warp x y] [-colormap colormapid] [-[no]save]
[-name name] [-iconname name]
[-bitmap file] [-mask file] [-[r]iconmove x y]
[-[no]backingstore] [-[no]saveunder]
[-[no]keyrepeat keycode ... keycode - keycode ...]
[-id windowid] [-root] [-current] [-select] [-names initialsub-
string...]