Missing miral::toolkit::WindowSpec::set_state()

Bug #1661256 reported by Daniel d'Andrada
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MirAL
Fix Released
Low
Alan Griffiths

Bug Description

miral::toolkit::WindowSpec is missing a wrapper for mir_window_spec_set_state(MirWindowSpec* spec, MirWindowState state);

Related branches

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

This is hardly a big deal - the following works fine:

    auto const spec = WindowSpec::for_normal_surface(connection, 50, 50, mir_pixel_format_argb_8888)
        .set_name(test_name);

    mir_window_spec_set_state(spec, mir_window_state_fullscreen);

Changed in miral:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Alan Griffiths (alan-griffiths)
milestone: none → 1.2
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

Agreed. But we should have it for the sake of consistency.

Changed in miral:
status: In Progress → Fix Committed
Changed in miral:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.