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

Issue 578443004: linux: Default to custom frame for EWMH-supporting WMs. (Closed)

Created:
6 years, 3 months ago by Daniel Erat
Modified:
6 years, 3 months ago
CC:
chromium-reviews, sadrul, Ilya Sherman, asvitkine+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

linux: Default to custom frame for EWMH-supporting WMs. Change the logic for determining if we should default to custom window frames (as opposed to using WM-drawn titlebars): a) Don't use custom frames for window managers that don't support EWMH (Extended Window Manager Hints). b) Don't use custom frames for EWMH-supporting tiling WMs and a few other WMs that don't play well with custom frames. c) Otherwise, use custom frames. Previously, custom frames were only used for a hardcoded set of EWMH-supporting window managers. BUG=345482 Committed: https://crrev.com/8d3a769f091ad5db1907aa7e5b46ca2c4ac7052d Cr-Commit-Position: refs/heads/master@{#295975}

Patch Set 1 #

Total comments: 7

Patch Set 2 : merge against enums change #

Patch Set 3 : add to a comment #

Total comments: 1

Patch Set 4 : update comment further #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -17 lines) Patch
M ui/base/x/x11_util.cc View 1 2 3 1 chunk +28 lines, -17 lines 0 comments Download

Messages

Total messages: 17 (2 generated)
Daniel Erat
you will never escape, elliot. we won't let you. https://codereview.chromium.org/578443004/diff/1/ui/base/x/x11_util.cc File ui/base/x/x11_util.cc (right): https://codereview.chromium.org/578443004/diff/1/ui/base/x/x11_util.cc#newcode1017 ui/base/x/x11_util.cc:1017: ...
6 years, 3 months ago (2014-09-16 23:48:34 UTC) #2
Elliot Glaysher
lgtm https://codereview.chromium.org/578443004/diff/1/ui/base/x/x11_util.cc File ui/base/x/x11_util.cc (right): https://codereview.chromium.org/578443004/diff/1/ui/base/x/x11_util.cc#newcode1017 ui/base/x/x11_util.cc:1017: // frames. On 2014/09/16 23:48:34, Daniel Erat wrote: ...
6 years, 3 months ago (2014-09-16 23:59:36 UTC) #3
Matt Giuca
It looks like this CL is doing a lot of things at once, so it's ...
6 years, 3 months ago (2014-09-17 00:56:37 UTC) #4
Matt Giuca
Forgot to press M. https://codereview.chromium.org/578443004/diff/1/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc File chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc (right): https://codereview.chromium.org/578443004/diff/1/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc#newcode148 chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc:148: case ui::WM_UNKNOWN: return UMA_LINUX_WINDOW_MANAGER_OTHER; I ...
6 years, 3 months ago (2014-09-17 01:09:16 UTC) #5
Daniel Erat
On 2014/09/17 01:09:16, Matt Giuca wrote: > Forgot to press M. > > https://codereview.chromium.org/578443004/diff/1/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc > ...
6 years, 3 months ago (2014-09-18 16:07:44 UTC) #6
Daniel Erat
https://codereview.chromium.org/578443004/diff/1/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc File chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc (right): https://codereview.chromium.org/578443004/diff/1/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc#newcode148 chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc:148: case ui::WM_UNKNOWN: return UMA_LINUX_WINDOW_MANAGER_OTHER; On 2014/09/17 01:09:15, Matt Giuca ...
6 years, 3 months ago (2014-09-18 16:07:58 UTC) #7
Daniel Erat
split the detection and metrics changes into https://codereview.chromium.org/585553003/ (and also fixed an embarrassing typo where ...
6 years, 3 months ago (2014-09-18 17:02:23 UTC) #8
Matt Giuca
Thanks for splitting this out. Can you rebase this CL off of your other one ...
6 years, 3 months ago (2014-09-19 01:01:38 UTC) #9
Daniel Erat
i was holding off on reuploading until the other change had been reviewed; sorry if ...
6 years, 3 months ago (2014-09-19 16:58:52 UTC) #10
Daniel Erat
https://codereview.chromium.org/578443004/diff/40001/ui/base/x/x11_util.cc File ui/base/x/x11_util.cc (right): https://codereview.chromium.org/578443004/diff/40001/ui/base/x/x11_util.cc#newcode999 ui/base/x/x11_util.cc:999: // is needed for titlebar-dragging-initiated window movement. will change ...
6 years, 3 months ago (2014-09-19 16:59:55 UTC) #11
Matt Giuca
lgtm, thanks for your patience on this. Can you change the CL description, so where ...
6 years, 3 months ago (2014-09-22 00:18:01 UTC) #12
Daniel Erat
sure, i've used your wording.
6 years, 3 months ago (2014-09-22 14:43:17 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/578443004/60001
6 years, 3 months ago (2014-09-22 14:44:24 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 4ef88ad7f610899f19d6276b936808d39b5bd458
6 years, 3 months ago (2014-09-22 15:32:45 UTC) #16
commit-bot: I haz the power
6 years, 3 months ago (2014-09-22 15:33:26 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8d3a769f091ad5db1907aa7e5b46ca2c4ac7052d
Cr-Commit-Position: refs/heads/master@{#295975}

Powered by Google App Engine
This is Rietveld 408576698