You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: include/i3ipc++/ipc.hpp
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -164,6 +164,15 @@ struct workspace_event_t {
164
164
};
165
165
166
166
167
+
/**
168
+
* A window event
169
+
*/
170
+
structwindow_event_t {
171
+
WindowEventType type;
172
+
std::shared_ptr<container_t> container; ///< A container event associated with @note With some WindowEventType could be null
173
+
};
174
+
175
+
167
176
/**
168
177
* @deprecated
169
178
*/
@@ -245,7 +254,7 @@ class connection {
245
254
sigc::signal<void, constworkspace_event_t&> signal_workspace_event; ///< Workspace event signal
246
255
sigc::signal<void> signal_output_event; ///< Output event signal
247
256
sigc::signal<void> signal_mode_event; ///< Output mode event signal
248
-
sigc::signal<void, WindowEventType> signal_window_event; ///< Window event signal
257
+
sigc::signal<void, constwindow_event_t&> signal_window_event; ///< Window event signal
249
258
sigc::signal<void> signal_barconfig_update_event; ///< Barconfig update event signal
250
259
sigc::signal<void, EventType, const std::shared_ptr<constbuf_t>&> signal_event; ///< i3 event signal @note Default handler routes event to signal according to type
0 commit comments