mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
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:
@@ -1080,7 +1080,7 @@ mode_sort(const void *left, const void *right)
|
||||
return (*mode_b)->mode.width - (*mode_a)->mode.width;
|
||||
}
|
||||
|
||||
static Bool
|
||||
Bool
|
||||
xwl_randr_add_modes_fixed(struct xwl_output *xwl_output,
|
||||
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_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,
|
||||
RRModePtr mode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user