Bug 7995 - Falsy commenting or dead code in decoration.c r1.19
Summary: Falsy commenting or dead code in decoration.c r1.19
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: App/compiz (show other bugs)
Version: git
Hardware: All All
: medium minor
Assignee: David Reveman
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-25 03:40 UTC by Roland "Test-tools" Bär
Modified: 2006-10-11 15:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Roland "Test-tools" Bär 2006-08-25 03:40:04 UTC
In plugins/decoration.c r1.19 (and a while before) in function
decorWindowUpdate() at about line 863, we have following:

    /* if (dx == 0 && dy == 0) */
        move = FALSE;

This setting move unconditional to false, but later on at line 884, following:

    if (move)
        moveWindow (w, dx, dy, TRUE, TRUE);

One ot the other....
Comment 1 David Reveman 2006-10-11 15:13:09 UTC
Yes, I disabled the call to moveWindow here because it didn't work correctly and
my intentions were to enable it again. However, I have now removed this dead
code as I'm not sure we'll ever enable it again.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.