<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>270336</bug_id>
          
          <creation_ts>2024-03-01 01:29:29 -0800</creation_ts>
          <short_desc>[WPE] WPE Platform: add API to get/set the primary display</short_desc>
          <delta_ts>2024-03-01 02:26:03 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WPE WebKit</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>265636</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Carlos Garcia Campos">cgarcia</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2017943</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-03-01 01:29:29 -0800</bug_when>
    <thetext>We are currently using the default display for the screen manager, which is wrong for apps not using the default display and explicitly creating one. In most of the cases there&apos;s only one display, and in most of the cases where there&apos;s more than one, the first one created is the primary one. So, we can add API to get the primary display that is set automatically for the first created display, but still allow to set any other display as primary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2017944</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-03-01 01:31:26 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/25340</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2017951</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-03-01 02:25:58 -0800</bug_when>
    <thetext>Committed 275544@main (a997251a7158): &lt;https://commits.webkit.org/275544@main&gt;

Reviewed commits have been landed. Closing PR #25340 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>