Changeset 5d86797 in mainline


Ignore:
Timestamp:
2023-01-04T20:48:35Z (22 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
17c0f5d
Parents:
3c54869
Message:

Need to update GC when unpainting a button

This caused nothing to happen when the last window was closed until
the next second ticked and the task bar was repainted because of
the clock.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/taskbar/wndlist.c

    r3c54869 r5d86797  
    289289        if (entry->visible)
    290290                ui_fixed_remove(wndlist->fixed, ui_pbutton_ctl(entry->button));
     291
    291292        list_remove(&entry->lentries);
    292293
     
    494495                return rc;
    495496
     497        rc = gfx_update(gc);
     498        if (rc != EOK)
     499                return rc;
     500
    496501        return EOK;
    497502}
Note: See TracChangeset for help on using the changeset viewer.