diff options
author | Adam Jackson <ajax@redhat.com> | 2015-06-02 13:58:30 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2015-07-08 16:41:28 -0400 |
commit | 74d64ceea02bffad1caf3d1a727edbd38d968059 (patch) | |
tree | 12249ea348c7c5a4df84fe04196e8b1bc4cd6556 /hw/xwin/winscrinit.c | |
parent | 315661a425018a546f7bcc18ad3e5f4578473ca6 (diff) |
mi: Remove questionable optimization from the rootless path
This is effectively a revert of 7b506fdc840aebed6b5acb91437a2cb620b5bddc
except the coding style reindent broke that. The code makes no sense in
any case. drawable can never be null since it's the first member of
WindowRec, and we're never called with a null window. Neither can it be
an UNDRAWABLE_WINDOW since those are InputOnly windows; the rootless
code does not set the root window to either UNDRAWABLE or InputOnly, so.
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw/xwin/winscrinit.c')
0 files changed, 0 insertions, 0 deletions