Changeset 45007


Ignore:
Timestamp:
12/13/20 23:59:41 (19 months ago)
Author:
obi
Message:

fix read framebuffer size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/infobar.h

    r45001 r45007  
    817817
    818818                        char* res = NULL;
    819                         res = string_newline(command("cat /sys/class/graphics/fb0/virtual_size | tr ',' ' '"));
     819                        res = string_newline(command("fbset | sed -nr 's/.*mode.*\"([^\"]+)-.*/\1/p' | tr 'x' ' '"));
    820820                        if(res == NULL)
    821821                        {
Note: See TracChangeset for help on using the changeset viewer.