Re:Re: Hide or show the surface

2017-01-05 Thread Anthenony
Hi,Jonas: I try to set invisible on current surface with “attach(0, 0, 0)”, but as said in website, attach NULL buffer will cause freeze issue, so I want to use another way to make invisible effort. I find this function “set_buffer_scale”, but how to use it? I have done experiment to use wl_su

Re: Hide or show the surface

2016-12-22 Thread Jonas Ådahl
On Fri, Dec 23, 2016 at 09:52:45AM +0800, Anthenony wrote: > Hi, All: > > > As far as I know there is no interface to hide or show the client. I want > to make sure whether other method is feasible. > For example, I move the client out of the screen. > > Hide: > attach(m_wl_sufface,

Hide or show the surface

2016-12-22 Thread Anthenony
Hi, All: As far as I know there is no interface to hide or show the client. I want to make sure whether other method is feasible. For example, I move the client out of the screen. Hide: attach(m_wl_sufface, 1000, 1000); commit(); Show: attach(m_wl_sufface, 0, 0); commit(); Anywa