]> git.sur5r.net Git - i3/i3/blobdiff - src/util.c
Bugfix: Change the event mask to ignore enter notifies when rendering the layout...
[i3/i3] / src / util.c
index 2ca1e1ca1ab82f63d397eeedc7b3dfc2d77b5e9b..d44a2593ab695210fa3a3751c795fe424789fea0 100644 (file)
@@ -371,8 +371,8 @@ void toggle_fullscreen(xcb_connection_t *conn, Client *client) {
                 /* Because the coordinates of the window haven’t changed, it would not be
                    re-configured if we don’t set the following flag */
                 client->force_reconfigure = true;
-                /* We left fullscreen mode, redraw the container */
-                render_container(conn, client->container);
+                /* We left fullscreen mode, redraw the whole layout to ensure enternotify events are disabled */
+                render_layout(conn);
         }
 
         xcb_flush(conn);