]> git.sur5r.net Git - i3/i3/blobdiff - src/con.c
Implement the window::fullscreen_mode event
[i3/i3] / src / con.c
index 5a3c88d21ce0bd8dff731ff8e3df44c8a8a40f6e..6918d64880064ead3f013188cda973efa52c7e5d 100644 (file)
--- a/src/con.c
+++ b/src/con.c
@@ -609,6 +609,9 @@ void con_toggle_fullscreen(Con *con, int fullscreen_mode) {
 
     DLOG("mode now: %d\n", con->fullscreen_mode);
 
+    /* Send an ipc window "fullscreen_mode" event */
+    ipc_send_window_event("fullscreen_mode", con);
+
     /* update _NET_WM_STATE if this container has a window */
     /* TODO: when a window is assigned to a container which is already
      * fullscreened, this state needs to be pushed to the client, too */