Merge branch 'blender-v4.0-release'
This commit is contained in:
commit
ba472eb69e
|
@ -1106,13 +1106,11 @@ static void libdecor_frame_handle_configure(libdecor_frame *frame,
|
||||||
/* Set the state. */
|
/* Set the state. */
|
||||||
{
|
{
|
||||||
enum libdecor_window_state window_state;
|
enum libdecor_window_state window_state;
|
||||||
if (!libdecor_configuration_get_window_state(configuration, &window_state)) {
|
if (libdecor_configuration_get_window_state(configuration, &window_state)) {
|
||||||
window_state = LIBDECOR_WINDOW_STATE_NONE;
|
frame_pending->is_maximised = window_state & LIBDECOR_WINDOW_STATE_MAXIMIZED;
|
||||||
|
frame_pending->is_fullscreen = window_state & LIBDECOR_WINDOW_STATE_FULLSCREEN;
|
||||||
|
frame_pending->is_active = window_state & LIBDECOR_WINDOW_STATE_ACTIVE;
|
||||||
}
|
}
|
||||||
|
|
||||||
frame_pending->is_maximised = window_state & LIBDECOR_WINDOW_STATE_MAXIMIZED;
|
|
||||||
frame_pending->is_fullscreen = window_state & LIBDECOR_WINDOW_STATE_FULLSCREEN;
|
|
||||||
frame_pending->is_active = window_state & LIBDECOR_WINDOW_STATE_ACTIVE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Commit the changes. */
|
/* Commit the changes. */
|
||||||
|
|
Loading…
Reference in New Issue