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

Issue 2501763005: set WM_CLASS in X11 window host. (Closed)

Created:
4 years, 1 month ago by Muyuan
Modified:
4 years, 1 month ago
Reviewers:
xiyuan, sadrul, sky, xc
CC:
chromium-reviews, kalyank
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

set WM_CLASS in X11 window host. X11 chromium os window misses the WM_CLASS property, which makes developing / testing it with tiling window manager a little bit painful that there is no way to specify rules for such window. This CL aims to fix this issue. Test=Chromium window opens with WM_CLASS property. BUG=665654 Committed: https://crrev.com/dbec25ee5e2a59c5e5fd6fa24c7757f98155cbc7 Cr-Commit-Position: refs/heads/master@{#432357}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use ui::SetWindowClassHint instead. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M ui/aura/window_tree_host_x11.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
Muyuan
4 years, 1 month ago (2016-11-16 00:21:34 UTC) #2
xc
lgtm
4 years, 1 month ago (2016-11-16 00:26:57 UTC) #3
sadrul
https://codereview.chromium.org/2501763005/diff/1/ui/aura/window_tree_host_x11.cc File ui/aura/window_tree_host_x11.cc (right): https://codereview.chromium.org/2501763005/diff/1/ui/aura/window_tree_host_x11.cc#newcode167 ui/aura/window_tree_host_x11.cc:167: XFree(class_hint); Can you use ui::SetWindowClassHint() instead?
4 years, 1 month ago (2016-11-16 00:29:45 UTC) #4
Muyuan
https://codereview.chromium.org/2501763005/diff/1/ui/aura/window_tree_host_x11.cc File ui/aura/window_tree_host_x11.cc (right): https://codereview.chromium.org/2501763005/diff/1/ui/aura/window_tree_host_x11.cc#newcode167 ui/aura/window_tree_host_x11.cc:167: XFree(class_hint); On 2016/11/16 00:29:44, sadrul wrote: > Can you ...
4 years, 1 month ago (2016-11-16 00:51:43 UTC) #5
sadrul
lgtm
4 years, 1 month ago (2016-11-16 01:25:21 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2501763005/20001
4 years, 1 month ago (2016-11-16 02:13:16 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-16 02:18:43 UTC) #14
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 02:25:06 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/dbec25ee5e2a59c5e5fd6fa24c7757f98155cbc7
Cr-Commit-Position: refs/heads/master@{#432357}

Powered by Google App Engine
This is Rietveld 408576698