<table><tr><td style="">dfries added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D16246">View Revision</a></tr></table><br /><div><div><p>KWindowSystem::setUserTime(winId(), 0);<br />
"The most common case is the special value 0 which means not to activate the window after being shown."  Whatever that means, because I called it before QDialog::show(); (the documentation doesn't say and I'm assuming if you've already called show() it's too late),  and didn't see a getting focus behavior difference in fvwm or kde (tested without this patch, so the Reminder window appeared where it was last).</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">// KDE with "Focus Follows Mouse - Mouse Precedence"
// called with 0, mouse not under window, gets focus
// not called, mouse not under window, gets focus
// KDE with "Click to Focus"
// called with 0, mouse not under window, doesn't get focus
// not called, mouse not under window, doesn't get focus
// called with 0, mouse under window, gets focus
// not called, mouse under window, gets focus</pre></div>

<p>"there's still the window decoration and mouse pointer size that you would need to take into account"</p>

<p>+            // need to include the frame which can be under the cursor<br />
+            QRect withFrame = frameGeometry();</p>

<p>That is to take care of the window decorations.<br />
I don't see the mouse pointer size mattering, just the single pixel hot point.</p>

<p>Opinions?  Will it be accepted if I fix up the patch, or do I just drop it?  Most of the time I put the Reminder in the corner and so with the rest of the patches it doesn't get triggered.</p>

<p>I will need someone to push them for me once the sequence has been approved, I'll fixup <a href="https://phabricator.kde.org/D16245" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D16245</a> tonight.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R210 KOrganizer</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16246">https://phabricator.kde.org/D16246</a></div></div><br /><div><strong>To: </strong>dfries, mlaurent, dvratil<br /><strong>Cc: </strong>dvratil, kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss<br /></div>