• Owen W. Taylor's avatar
    Use utility functions to convert between frame and client rectangles · f36a6273
    Owen W. Taylor authored
    There are extensive places in the code where we convert between the client
    rectangle and the frame rectangle. Instead of manually doing it use
    new helper functions on MetaWindow and the existing meta_window_get_outer_rect().
    
    This fixes a number of bugs where the computation was being done incorrectly,
    most of these bugs are with the recently added custom frame extents, but
    some relate to invisible borders or even simply to confusion between the
    window and frame rectangle.
    
    Switch the placement code to place the frame rectangle rather
    than the client window - this simplifies things considerably.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=707194
    f36a6273
Name
Last commit
Last update
..
man Loading commit data...
reference Loading commit data...
.cvsignore Loading commit data...
Makefile.am Loading commit data...
code-overview.txt Loading commit data...
compositor-control.txt Loading commit data...
dialogs.txt Loading commit data...
how-constraints-works.txt Loading commit data...
how-to-get-focus-right.txt Loading commit data...
strut-and-related-updating.txt Loading commit data...
theme-format.txt Loading commit data...