<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Implement Custom Window Focus"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=66289">66289</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Implement Custom Window Focus
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>afuturepilotis@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>wayland
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr></table>
      <p>
        <div>
        <pre>So I've always thought the perfect way to deal with window focus would be the
following:

With two windows open (A and B), assuming A is above B, but B is visible behind
A. (I.E. a terminal window on top of a web browser window).

Focus is initially on A (mouse and keyboard).
When the mouse hovers over B the scroll wheel is enabled for B, but keyboard
focus is still in A. (So you can scroll a page on the web browser while still
having the terminal on top.)

When the mouse is single clicked (or clicked and dragged, etc.) A is still
raised, but keyboard focus goes to B. (So you can go to a different webpage
without the Terminal disappearing behind the web browser. This would be great
for copy/pasting things from one window to another).

When B is double clicked it is then raised and A is no longer in focus.

Does that make sense? I've heard that this isn't possible with the X server (at
least without a LOT of hacking).

I'd like the ability to do highly customizable window focus (keyboard and mouse
independent) like this.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>