Niether window_size gets updated not geometry of struct window after configure event or callback. Is their no way to know updated size or resolution.
On Tue, May 27, 2014 at 8:14 PM, Jasper St. Pierre <[email protected]> wrote: > The window size comes in the "configure" event, which is similar to X11's > ConfigureNotify. See: > > http://cgit.freedesktop.org/wayland/weston/tree/clients/simple-egl.c#n269 > > If you're still using wl_shell_surface, then see: > > > http://cgit.freedesktop.org/wayland/weston/tree/clients/simple-egl.c?h=1.4#n272 > > > On Tue, May 27, 2014 at 4:51 AM, Rohit Nandan <[email protected]> > wrote: > >> 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. >> >> 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? >> >> Thanks >> Rohit Nandan >> >> _______________________________________________ >> wayland-devel mailing list >> [email protected] >> http://lists.freedesktop.org/mailman/listinfo/wayland-devel >> >> > > > -- > Jasper >
_______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
