X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fmplex.h;h=7b72b310b1bf81d176640a5ea1cad06705d36382;hb=562cb4d37ba7667ac846fc3d426b152d21ef2c22;hp=455c75b230f2d85ee150ae1603a1d514e131ed91;hpb=1cd244db6df1337d594b9e2456c735cbc28aea6c;p=ion3.git diff --git a/ioncore/mplex.h b/ioncore/mplex.h index 455c75b..7b72b31 100644 --- a/ioncore/mplex.h +++ b/ioncore/mplex.h @@ -1,7 +1,7 @@ /* * ion/ioncore/mplex.h * - * Copyright (c) Tuomo Valkonen 1999-2007. + * Copyright (c) Tuomo Valkonen 1999-2008. * * See the included file LICENSE for details. */ @@ -36,6 +36,7 @@ #define MPLEX_ATTACH_SIZEPOLICY 0x0040 /* size policy field is set */ #define MPLEX_ATTACH_INDEX 0x0080 /* index field is set */ #define MPLEX_ATTACH_WHATEVER 0x0100 /* set REGION_FIT_WHATEVER */ +#define MPLEX_ATTACH_PASSIVE 0x0200 /* sets SKIP_FOCUS */ enum{ @@ -93,7 +94,7 @@ DECLCLASS(WMPlex){ int mx_count; WLListNode *mx_current; WLListNode *mx_list; - WMPlexPHolder *mx_phs; + WMPlexPHolder *misc_phs; Watch stdispwatch; WMPlexSTDispInfo stdispinfo; @@ -184,6 +185,12 @@ extern void mplex_call_changed_hook(WMPlex *mplex, WHook *hook, extern void mplex_remanage_stdisp(WMPlex *mplex); +/* Note: only the size policy field is changed; actual geometry is not + * yet changed. + */ +extern void mplex_set_szplcy(WMPlex *mplex, WRegion *sub, WSizePolicy szplcy); +extern WSizePolicy mplex_get_szplcy(WMPlex *mplex, WRegion *sub); + /* Dynfuns */ DYNFUN void mplex_managed_geom(const WMPlex *mplex, WRectangle *geom);