xwayland: Make xwl_randr_add_modes_fixed() public API
This is preparation work for making Xwayland rootful resizeable. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
This commit is contained in:
parent
d6c5999e94
commit
63c0a2dfa2
|
@ -1080,7 +1080,7 @@ mode_sort(const void *left, const void *right)
|
||||||
return (*mode_b)->mode.width - (*mode_a)->mode.width;
|
return (*mode_b)->mode.width - (*mode_a)->mode.width;
|
||||||
}
|
}
|
||||||
|
|
||||||
static Bool
|
Bool
|
||||||
xwl_randr_add_modes_fixed(struct xwl_output *xwl_output,
|
xwl_randr_add_modes_fixed(struct xwl_output *xwl_output,
|
||||||
int current_width, int current_height)
|
int current_width, int current_height)
|
||||||
{
|
{
|
||||||
|
|
|
@ -77,6 +77,10 @@ Bool xwl_screen_init_output(struct xwl_screen *xwl_screen);
|
||||||
|
|
||||||
Bool xwl_screen_init_randr_fixed(struct xwl_screen *xwl_screen);
|
Bool xwl_screen_init_randr_fixed(struct xwl_screen *xwl_screen);
|
||||||
|
|
||||||
|
Bool
|
||||||
|
xwl_randr_add_modes_fixed(struct xwl_output *xwl_output,
|
||||||
|
int current_width, int current_height);
|
||||||
|
|
||||||
void xwl_output_set_mode_fixed(struct xwl_output *xwl_output,
|
void xwl_output_set_mode_fixed(struct xwl_output *xwl_output,
|
||||||
RRModePtr mode);
|
RRModePtr mode);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue