From 4a93b046e954892edf3356bcd5745c612232fe15 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 12 Jul 2020 00:12:55 +0200 Subject: x11: add option to make window appear on a specific workspace Mess this into the --geometry option, because I like to be irresponsible. I considered adding a separate option, but at least this allows me to defer the question how the hell this should work as property (geometry simply and inherently does not). Tested on IceWM only. Option equality test and string output not tested. --- options/m_option.h | 1 + 1 file changed, 1 insertion(+) (limited to 'options/m_option.h') diff --git a/options/m_option.h b/options/m_option.h index f51ca95fa8..25dc212482 100644 --- a/options/m_option.h +++ b/options/m_option.h @@ -98,6 +98,7 @@ struct m_geometry { bool xy_valid : 1, wh_valid : 1; bool w_per : 1, h_per : 1; bool x_sign : 1, y_sign : 1, x_per : 1, y_per : 1; + int ws; // workspace; valid if !=0 }; void m_geometry_apply(int *xpos, int *ypos, int *widw, int *widh, -- cgit v1.2.3