<div dir="ltr"><div>The window size comes in the "configure" event, which is similar to X11's ConfigureNotify. See:<br><br><a href="http://cgit.freedesktop.org/wayland/weston/tree/clients/simple-egl.c#n269">http://cgit.freedesktop.org/wayland/weston/tree/clients/simple-egl.c#n269</a><br>
<br></div>If you're still using wl_shell_surface, then see:<br><br><a href="http://cgit.freedesktop.org/wayland/weston/tree/clients/simple-egl.c?h=1.4#n272">http://cgit.freedesktop.org/wayland/weston/tree/clients/simple-egl.c?h=1.4#n272</a><br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 27, 2014 at 4:51 AM, Rohit Nandan <span dir="ltr"><<a href="mailto:pulkitnandan@gmail.com" target="_blank">pulkitnandan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have a app with all opengl and egl function calls which is backed up by a window system library. In wayland case I have added fullscreen option using F11 handler in window system library exactly like simple-egl but here my redraw function is outside that library so glviewport and app size is not modified. In case of X11, Xevent has has event.xconfigure.width/height which can be passed to resize calllback of gl app to resize drawing as well. <div>

<br></div><div>How do one achieve this in wayland case to query current window width & hieght. Simple-egl doenot set its anywhere when in fullscreen mode. or any way to query max resolution?</div><div><br></div><div>
Thanks</div><span class="HOEnZb"><font color="#888888">
<div>Rohit Nandan</div></font></span></div>
<br>_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>  Jasper<br>
</div>