Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Issue 182034: gtk: Skip over minimized top-level windows when finding a window to dock to. ... (Closed)

Created:
11 years, 3 months ago by James Hawkins
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

gtk: Fix a typo that breaks tab dragging when another gtk window is minimized. BUG=20228, 20513 TEST=Extensive tab dragging. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25007

Patch Set 1 #

Total comments: 12

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/dock_info_gtk.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
James Hawkins
11 years, 3 months ago (2009-08-31 20:46:19 UTC) #1
Evan Martin
LGTM http://codereview.chromium.org/182034/diff/1/2 File chrome/browser/dock_info_gtk.cc (right): http://codereview.chromium.org/182034/diff/1/2#newcode70 Line 70: return false; maybe delete this doubled line ...
11 years, 3 months ago (2009-08-31 21:03:39 UTC) #2
Daniel Erat
http://codereview.chromium.org/182034/diff/1/4 File chrome/common/x11_util.cc (right): http://codereview.chromium.org/182034/diff/1/4#newcode151 Line 151: Atom net_wm_state_atom = XInternAtom(GetXDisplay(), "_NET_WM_STATE", True); Please cache ...
11 years, 3 months ago (2009-08-31 21:08:11 UTC) #3
Evan Martin
http://codereview.chromium.org/182034/diff/1/2 File chrome/browser/dock_info_gtk.cc (right): http://codereview.chromium.org/182034/diff/1/2#newcode70 Line 70: return false; On 2009/08/31 21:03:39, Evan Martin wrote: ...
11 years, 3 months ago (2009-08-31 21:11:39 UTC) #4
Daniel Erat
http://codereview.chromium.org/182034/diff/1/2 File chrome/browser/dock_info_gtk.cc (right): http://codereview.chromium.org/182034/diff/1/2#newcode83 Line 83: if (x11_util::IsWindowMinimized(window)) { Higher-level comment: I wouldn't expect ...
11 years, 3 months ago (2009-08-31 21:14:35 UTC) #5
James Hawkins
11 years, 3 months ago (2009-08-31 21:30:20 UTC) #6
James Hawkins
On 2009/08/31 21:14:35, Daniel Erat wrote: > http://codereview.chromium.org/182034/diff/1/2 > File chrome/browser/dock_info_gtk.cc (right): > > http://codereview.chromium.org/182034/diff/1/2#newcode83 ...
11 years, 3 months ago (2009-08-31 21:31:19 UTC) #7
use derat at chromium.org
On Mon, Aug 31, 2009 at 2:31 PM, <jhawkins@chromium.org> wrote: > Spot on. =A0There was ...
11 years, 3 months ago (2009-08-31 22:07:19 UTC) #8
James Hawkins
On 2009/08/31 22:07:19, derat wrote: > On Mon, Aug 31, 2009 at 2:31 PM, <mailto:jhawkins@chromium.org> ...
11 years, 3 months ago (2009-08-31 23:07:48 UTC) #9
use derat at chromium.org
11 years, 3 months ago (2009-08-31 23:17:36 UTC) #10
LGTM

On Mon, Aug 31, 2009 at 4:07 PM, <jhawkins@chromium.org> wrote:
> On 2009/08/31 22:07:19, derat wrote:
>> What's the reason for TopMostFinder -- why isn't the iteration by
>> LocalProcessWindowFinder sufficient?
>
> LocalProcessWindowFinder only finds the window in our process that is
> under the pointer. =A0We use this explicitly when raising another browser
> window which the pointer is over that is lower than the top-most browser
> window. =A0TopMostFinder makes sure that the window we found is not
> obscured by any other top-level window, whether it's in our process or
> not. =A0We can place the check for window =3D=3D target_ first because we
> already know (from LocalProcessWindowFinder) that the window we're
> looking for is visible and the pointer is inside the window bounds.

Ah.  I was about to ask why these couldn't be combined into a single
class, but I'm guessing that this is all done this way to match the
Windows code.

>
> http://codereview.chromium.org/182034
>

Powered by Google App Engine
This is Rietveld 408576698