@ -22,7 +22,7 @@ void wlr_output_state_set_enabled(struct wlr_output_state *state,
bool enabled ) {
bool enabled ) {
state - > committed | = WLR_OUTPUT_STATE_ENABLED ;
state - > committed | = WLR_OUTPUT_STATE_ENABLED ;
state - > enabled = enabled ;
state - > enabled = enabled ;
state - > allow_ artifacts = true ;
state - > allow_ reconfiguration = true ;
}
}
void wlr_output_state_set_mode ( struct wlr_output_state * state ,
void wlr_output_state_set_mode ( struct wlr_output_state * state ,
@ -30,7 +30,7 @@ void wlr_output_state_set_mode(struct wlr_output_state *state,
state - > committed | = WLR_OUTPUT_STATE_MODE ;
state - > committed | = WLR_OUTPUT_STATE_MODE ;
state - > mode_type = WLR_OUTPUT_STATE_MODE_FIXED ;
state - > mode_type = WLR_OUTPUT_STATE_MODE_FIXED ;
state - > mode = mode ;
state - > mode = mode ;
state - > allow_ artifacts = true ;
state - > allow_ reconfiguration = true ;
}
}
void wlr_output_state_set_custom_mode ( struct wlr_output_state * state ,
void wlr_output_state_set_custom_mode ( struct wlr_output_state * state ,
@ -40,7 +40,7 @@ void wlr_output_state_set_custom_mode(struct wlr_output_state *state,
state - > custom_mode . width = width ;
state - > custom_mode . width = width ;
state - > custom_mode . height = height ;
state - > custom_mode . height = height ;
state - > custom_mode . refresh = refresh ;
state - > custom_mode . refresh = refresh ;
state - > allow_ artifacts = true ;
state - > allow_ reconfiguration = true ;
}
}
void wlr_output_state_set_scale ( struct wlr_output_state * state , float scale ) {
void wlr_output_state_set_scale ( struct wlr_output_state * state , float scale ) {