Re: How to move, resize and redraw a window at the same time?

2008-05-22 Thread Havoc Pennington
Hi, 2008/5/19 Zhe Su [EMAIL PROTECTED]: So I'm wondering is there and method to move, resize and redraw a window at the same time to avoid flick? The underlying X window system doesn't support doing this, though it may in the future as compositing managers become the norm. The best you can

How to move, resize and redraw a window at the same time?

2008-05-19 Thread Zhe Su
Hi, I just found that gdk_window_move_resize() can move and resize a gdk window at the same time to avoid flick. However I found that it's still not possible to redraw the window immediately after move and resize. I tried following code: gdk_window_move_resize(window_-window, x, y, width,

Re: How to move, resize and redraw a window at the same time?

2008-05-19 Thread Zhe Su
Thanks a lot. On Tue, May 20, 2008 at 11:52 AM, Havoc Pennington [EMAIL PROTECTED] wrote: Hi, 2008/5/19 Zhe Su [EMAIL PROTECTED]: So I'm wondering is there and method to move, resize and redraw a window at the same time to avoid flick? The underlying X window system doesn't support

How to move, resize and redraw a window at the same time?

2008-05-19 Thread Zhe Su
Hi, I just found that gdk_window_move_resize() can move and resize a gdk window at the same time to avoid flick. However I found that it's still not possible to redraw the window immediately after move and resize. I tried following code: gdk_window_move_resize(window_-window, x, y, width,

Re: How to move, resize and redraw a window at the same time?

2008-05-19 Thread Havoc Pennington
Hi, 2008/5/19 Zhe Su [EMAIL PROTECTED]: So I'm wondering is there and method to move, resize and redraw a window at the same time to avoid flick? The underlying X window system doesn't support doing this, though it may in the future as compositing managers become the norm. The best you can

Re: How to move, resize and redraw a window at the same time?

2008-05-19 Thread Zhe Su
Thanks a lot. On Tue, May 20, 2008 at 11:52 AM, Havoc Pennington [EMAIL PROTECTED] wrote: Hi, 2008/5/19 Zhe Su [EMAIL PROTECTED]: So I'm wondering is there and method to move, resize and redraw a window at the same time to avoid flick? The underlying X window system doesn't support

Re: How to move, resize and redraw a window at the same time?

2008-05-19 Thread Yu Feng
On Tue, 2008-05-20 at 12:00 +0800, Zhe Su wrote: Thanks a lot. On Tue, May 20, 2008 at 11:52 AM, Havoc Pennington [EMAIL PROTECTED] wrote: Hi, 2008/5/19 Zhe Su [EMAIL PROTECTED]: So I'm wondering is there and method to move, resize and redraw a