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

Issue 2769773004: X11: Fix task manager able to resize to 1x1px (Closed)

Created:
3 years, 9 months ago by Tom (Use chromium acct)
Modified:
3 years, 9 months ago
Reviewers:
Elliot Glaysher
CC:
chromium-reviews, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

X11: Fix task manager able to resize to 1x1px The call to XSetWMNormalHints in DWTHX11::MapWindow was clobbering the WM_NORMAL_HINTS property, which includes hints about window positioning and min/max size. I believe the intention was to only change the PPosition hint, because it does "size_hints.flags = PPosition". This unsets the other hints as well. The correct behavior is to do XGetWMNormalHints before XSetWMNormalHints. BUG=704772 R=erg@chromium.org Review-Url: https://codereview.chromium.org/2769773004 Cr-Commit-Position: refs/heads/master@{#459517} Committed: https://chromium.googlesource.com/chromium/src/+/58d4af36b33d601214867661b8d9e1e6c1d9fb56

Patch Set 1 #

Patch Set 2 : Use read-modify-write #

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

Messages

Total messages: 14 (8 generated)
Tom (Use chromium acct)
3 years, 9 months ago (2017-03-24 01:43:30 UTC) #2
Elliot Glaysher
can other processes modify our hints? if so, our caching won't reflect them.
3 years, 9 months ago (2017-03-24 17:15:56 UTC) #6
Tom (Use chromium acct)
On 2017/03/24 17:15:56, Elliot Glaysher wrote: > can other processes modify our hints? if so, ...
3 years, 9 months ago (2017-03-24 18:24:44 UTC) #7
Elliot Glaysher
lgtm
3 years, 9 months ago (2017-03-24 18:25:17 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/2769773004/20001
3 years, 9 months ago (2017-03-24 18:29:54 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-03-24 19:25:39 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/58d4af36b33d601214867661b8d9...

Powered by Google App Engine
This is Rietveld 408576698