mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 20:12:06 +00:00
examples/cogl-x11-tfp: Fix compilation
Fix a couple of minor compilation problems from a bad rebase - a missing label and a missing variable.
This commit is contained in:
parent
baa2fba8e2
commit
157c1a090c
@ -188,6 +188,8 @@ main (int argc, char **argv)
|
|||||||
|
|
||||||
while (TRUE)
|
while (TRUE)
|
||||||
{
|
{
|
||||||
|
XEvent xev;
|
||||||
|
|
||||||
XWindowEvent (xdpy, xwin, StructureNotifyMask, &xev);
|
XWindowEvent (xdpy, xwin, StructureNotifyMask, &xev);
|
||||||
|
|
||||||
if (xev.xany.type == MapNotify)
|
if (xev.xany.type == MapNotify)
|
||||||
@ -226,7 +228,7 @@ main (int argc, char **argv)
|
|||||||
case ClientMessage:
|
case ClientMessage:
|
||||||
if (event.xclient.message_type == atom_wm_protocols &&
|
if (event.xclient.message_type == atom_wm_protocols &&
|
||||||
event.xclient.data.l[0] == atom_wm_delete_window)
|
event.xclient.data.l[0] == atom_wm_delete_window)
|
||||||
goto out;
|
return 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
cogl_xlib_renderer_handle_event (renderer, &event);
|
cogl_xlib_renderer_handle_event (renderer, &event);
|
||||||
|
Loading…
Reference in New Issue
Block a user