]> git.sur5r.net Git - i3/i3/blobdiff - include/data.h
Implement the urgency hint for windows/workspaces
[i3/i3] / include / data.h
index c942a96ac8a9b79a09089bc949eb52406a7d4e6f..6d1869c0bfe8f79400a927c5d47276bf497bf6e0 100644 (file)
@@ -201,6 +201,9 @@ struct Workspace {
         /** Temporary flag needed for re-querying xinerama screens */
         bool reassigned;
 
+        /** True if any client on this workspace has its urgent flag set */
+        bool urgent;
+
         /** the client who is started in fullscreen mode on this workspace,
          * NULL if there is none */
         Client *fullscreen_client;
@@ -400,6 +403,9 @@ struct Client {
          * the screen and its requested size is used */
         bool dock;
 
+        /** True if the client set the urgency flag in its WM_HINTS property */
+        bool urgent;
+
         /* After leaving fullscreen mode, a client needs to be reconfigured
          * (configuration = setting X, Y, width and height). By setting the
          * force_reconfigure flag, render_layout() will reconfigure the