Pekka Paalanen writes:
Hi Pekka,
set_toplevel overwrites set_transient. A surface cannot be both
toplevel and transient, roles are mutually exclusive.
That was it ! So obvious and I didn't get it. Thnaks.
Cheers,
pq
___
wayland-devel maili
On Sat, 28 Sep 2013 09:20:59 +0200
Tarnyko wrote:
> Hi folks,
>
> I'm trying to use the "wl_shell_surface_set_transient" function to position
> 2 surfaces relatively to each other.
>
> Here is a sample code, which compiles out-of-the-box with Wayland 1.2, and
> tries to map a 2nd surface at
Hi folks,
I'm trying to use the "wl_shell_surface_set_transient" function to position
2 surfaces relatively to each other.
Here is a sample code, which compiles out-of-the-box with Wayland 1.2, and
tries to map a 2nd surface at 100x100 relatively to the 1st one :
http://pastebin.com/T0SvT1f