Ticket #6957: mythtv-0.22-xrefresh.patch

File mythtv-0.22-xrefresh.patch, 616 bytes (added by andy, 11 years ago)

invoke xrefresh after changing refresh rate

  • mythtv-0.22/libs/libmythui/DisplayResX.cpp

    diff -ru mythtv-0.22/mythtv-0.22/libs/libmythui/DisplayResX.cpp mythtv-0.22-mod/mythtv-0.22/libs/libmythui/DisplayResX.cpp
    old new  
    9294        XRRFreeScreenConfigInfo(cfg);
    9395        delete display;
    9496
     97       system("/usr/bin/xrefresh");
     98
    9599        if (RRSetConfigSuccess != status)
    96100            cerr<<"DisplaResX: XRRSetScreenConfigAndRate() call failed."<<endl;
    97101        return RRSetConfigSuccess == status;