summaryrefslogtreecommitdiffstats
path: root/options/m_option.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-07-12 00:12:55 +0200
committerwm4 <wm4@nowhere>2020-07-12 00:12:55 +0200
commit4a93b046e954892edf3356bcd5745c612232fe15 (patch)
tree235153a1bf0393d7a576124994a7a48f71f00574 /options/m_option.h
parent06033df715b433d41b1a0855cf7805ff8f66d664 (diff)
downloadmpv-4a93b046e954892edf3356bcd5745c612232fe15.tar.bz2
mpv-4a93b046e954892edf3356bcd5745c612232fe15.tar.xz
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.
Diffstat (limited to 'options/m_option.h')
-rw-r--r--options/m_option.h1
1 files changed, 1 insertions, 0 deletions
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,