<html>
    <head>
      <base href="https://bugzilla.gnome.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Wayland] gtk_window_present() not working"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=766284#c45">Comment # 45</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Wayland] gtk_window_present() not working"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=766284">bug 766284</a>
              from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=cedric.bellegarde%40adishatz.org" title="Cédric Bellegarde <cedric.bellegarde@adishatz.org>"> <span class="fn">Cédric Bellegarde</span></a>
</span></b>
        <pre>I tried to fix the issue using present_with_time() but timestamp seems to be a
GdkX11 thing...

<span class="quote">>timestamp = gtk_get_current_event_time ();</span >

<span class="quote">>I don't think GDK_CURRENT_TIME should reach gdk</span >

Matthias, it should not but when you react to external events in your software:
- Opening a new link in a browser
- Raising window when software is launched from command line but already
running

gtk_get_current_event_time() will return GDK_CURRENT_TIME.

So I guess the check in gdk_wayland_window_focus is wrong.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>