Re: [PATCH v2] shell: moving drag surface refine

2012-08-07 Thread Juan Zhao
On Thu, 2012-08-02 at 12:01 -0400, Kristian Høgsberg wrote: > We need to loop through the rectangles in the region and make sure at > least one of them is at least boxsize wide and high. Consider a > common configuration: > > ++---+ > |

Re: [PATCH v2] shell: moving drag surface refine

2012-08-03 Thread Bill Spitzak
Kristian Høgsberg wrote: The idea was to use the bounding box of the surface pixman_region32_intersect(®ion, &shsurf->surface->transform.boundingbox, &shell->active_regions); This seems to be conflicting with what you

Re: [PATCH v2] shell: moving drag surface refine

2012-08-03 Thread Kristian Høgsberg
On Fri, Aug 03, 2012 at 09:58:27AM +0800, Juan Zhao wrote: > Thanks for your reply, I will refine it, I still have some questions. :) > > On Thu, 2012-08-02 at 12:01 -0400, Kristian Høgsberg wrote: > > > @@ -1669,7 +1669,10 @@ update_outputs(struct drm_compositor *ec, > > struct udev_device *drm_d

Re: [PATCH v2] shell: moving drag surface refine

2012-08-02 Thread Juan Zhao
Thanks for your reply, I will refine it, I still have some questions. :) On Thu, 2012-08-02 at 12:01 -0400, Kristian Høgsberg wrote: > > @@ -1669,7 +1669,10 @@ update_outputs(struct drm_compositor *ec, > struct udev_device *drm_device) > > } > > } > > > > - /* FIXME: hand

Re: [PATCH v2] shell: moving drag surface refine

2012-08-02 Thread Kristian Høgsberg
On Tue, Jul 31, 2012 at 01:00:26AM -0700, juan.j.z...@linux.intel.com wrote: > From: Juan Zhao > > When applications not directly based on toytoolkit, like simple-egl, efl > applications is grabbed and moved, they may be moved to the place under > the panel. Then they could not be grabbed again.

[PATCH v2] shell: moving drag surface refine

2012-07-31 Thread juan . j . zhao
From: Juan Zhao When applications not directly based on toytoolkit, like simple-egl, efl applications is grabbed and moved, they may be moved to the place under the panel. Then they could not be grabbed again. Don't allow the pointer's bounding box move across the shell's active_regions. One mor