On Thu, Mar 04, 2010, Oleg Goldshmidt wrote about "Re: XMoveWindow()":
> > i have two displays i want one to be a copy of the other, so when i move a
> > window on one display, i want it to move to the same position in the other.
>...
> If you want to allow different WM
s to me that you are trying to move the wrong window.
Why not run XMoveWindow not on the window you opened, but walk up
the parents until you reach the window whose parent is root, and
move that one?
if i put the parent at x,y -> it will place it at x,y. but that not
what i want
's question, which was - why is this
>> something for the program to do?
>>
>> i have two displays i want one to be a copy of the other, so when i
> move a window on one display, i want it to move to the same position in the
> other.
>
> Then it seems to me that y
a copy of the other, so when i
move a window on one display, i want it to move to the same position
in the other.
Then it seems to me that you are trying to move the wrong window. Why
not run XMoveWindow not on the window you opened, but walk up the
parents until you reach the window whose pare
well, thanks all for responding.
i didn't want to start a debate,
just a "get the border size with _NET_FRAME_EXTENTS prop, and adjust" would
have been nice.
thanks anyway,
erez.
On Thu, Mar 4, 2010 at 10:53 AM, Oleg Goldshmidt wrote:
> 2010/3/4 Erez D :
>
> > i have two displays i want one to
2010/3/4 Erez D :
> i have two displays i want one to be a copy of the other, so when i move a
> window on one display, i want it to move to the same position in the other.
DIsclaimer: I don't know Xlib programming well enough to go into technicalities.
>From the common sense point of view, howe
so when i move a
window on one display, i want it to move to the same position in the other.
> i woudld expext the folowing line:
> XTranslateCoordinates(...,win,root,0,0, &x, &y, ...) ; XMoveWIndow(win,x,y)
> to do nothing.
>
> Then you would be wrong. The "x, y&quo
ent.
Yes, but that's avoiding Nadav's question, which was - why is this
something for the program to do?
i woudld expext the folowing line:
XTranslateCoordinates(...,win,root,0,0, &x, &y, ...) ;
XMoveWIndow(win,x,y)
to do nothing.
Then you would be wrong. The "x, y&qu
On Wed, Mar 3, 2010 at 2:18 PM, Nadav Har'El wrote:
> On Wed, Mar 03, 2010, Erez D wrote about "Re: XMoveWindow()":
> > > when i move the window to pos(x,y) using XMoveWindow(), it moves but
> > > positions the WM's window (e.g. the titlebar toplef
On Wed, Mar 03, 2010, Erez D wrote about "Re: XMoveWindow()":
> > when i move the window to pos(x,y) using XMoveWindow(), it moves but
> > positions the WM's window (e.g. the titlebar topleft) at (x,y) instead of
> > my window.
What you're doing is the right
On Wed, Mar 3, 2010 at 11:42 AM, Shachar Shemesh wrote:
> Erez D wrote:
>
> hi
>
> i have an Xlib app.
>
>
> i created a window. the window manager has reparented to add a frame and
> titlebar to it.
>
> when i move the window to pos(x,y) using XMoveWindow(),
Erez D wrote:
hi
i have an Xlib app.
i created a window. the window manager has reparented to add a frame
and titlebar to it.
when i move the window to pos(x,y) using XMoveWindow(), it moves but
positions the WM's window (e.g. the titlebar topleft) at (x,y)
instead of my window
hi
i have an Xlib app.
i created a window. the window manager has reparented to add a frame and
titlebar to it.
when i move the window to pos(x,y) using XMoveWindow(), it moves but
positions the WM's window (e.g. the titlebar topleft) at (x,y) instead of
my window.
i tryied
13 matches
Mail list logo