Ticket #9941: 0002-osd-Force-cutpoint-dialog-to-front-of-cutpoint-edit-.patch

File 0002-osd-Force-cutpoint-dialog-to-front-of-cutpoint-edit-.patch, 1.2 KB (added by Lawrence Rust <lvr@…>, 10 years ago)
  • mythtv/libs/libmythtv/osd.h

    From cf3bd2c4c46ef1a6b080df532fd636aaf46f9a69 Mon Sep 17 00:00:00 2001
    From: Lawrence Rust <lvr@softsystem.co.uk>
    Date: Sun, 24 Jul 2011 20:55:37 +0200
    Subject: [PATCH] osd: Force cutpoint dialog to front of cutpoint edit position
    
    At present the cutpoint dialog is displayed behind the edit position window.
    This patch forces the dialog to the front by prepending the name with \xff
    
    Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
    ---
     mythtv/libs/libmythtv/osd.h |    4 +++-
     1 files changed, 3 insertions(+), 1 deletions(-)
    
    diff --git a/mythtv/libs/libmythtv/osd.h b/mythtv/libs/libmythtv/osd.h
    index 1f1ef1e..d3831b2 100644
    a b  
    1313#define OSD_DLG_EDITING   "OSD_EDITING"
    1414#define OSD_DLG_ASKALLOW  "OSD_ASKALLOW"
    1515#define OSD_DLG_EDITOR    "OSD_EDITOR"
    16 #define OSD_DLG_CUTPOINT  "OSD_CUTPOINT"
     16// Force the cutpoint dialog to be drawn last (i.e. in front) by
     17// prepending the identifier with a high sorting character
     18#define OSD_DLG_CUTPOINT  "\xff_OSD_CUTPOINT"
    1719#define OSD_DLG_DELETE    "OSD_DELETE"
    1820#define OSD_DLG_CONFIRM   "mythconfirmpopup"
    1921// Force subtitle/interactive screens to be drawn first (i.e. at the back) by