Changeset f1ce7ff in mainline


Ignore:
Timestamp:
2023-10-16T09:36:57Z (15 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9e240c1
Parents:
9adae25
git-author:
Jiri Svoboda <jiri@…> (2023-10-15 09:34:16)
git-committer:
Jiri Svoboda <jiri@…> (2023-10-16 09:36:57)
Message:

Make GFX demo window fullscreen/undecorated in fullscreen mode

If running in fullscreen mode (terminal/console), there are two problems
with popup windows (system menu).

  1. When open, we currently cannot prevent the application GC from

overdrawing the popup window.

  1. After closing, we cannot ask the application GC to repaint itself

All in all, probably best choice is to avoid these problems.
This makes gfxdemo -d cons@ ui look just like gfxdemo console.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/gfxdemo/gfxdemo.c

    r9adae25 rf1ce7ff  
    11521152        params.caption = "GFX Demo";
    11531153
     1154        /* Do not decorate the window in fullscreen mode */
     1155        if (ui_is_fullscreen(ui))
     1156                params.style &= ~ui_wds_decorated;
     1157
    11541158        /*
    11551159         * Compute window rectangle such that application area corresponds
Note: See TracChangeset for help on using the changeset viewer.