~njpatel/mutter/trunk

Viewing all changes in revision 8587.

  • Committer: Georges Basile Stavracas Neto
  • Date: 2017-10-03 22:38:32 UTC
  • Revision ID: git-v1:a5f4ffa58c2b4fc0c92cf0a92716de8745614db6
window: Track edge constraints

GTK has the ability to handle client-decorated windows
in such a way that the behavior of these windows must
match the behavior of the current window manager.

In Mutter, windows can be tiled horizontally (and, in
the future, vertically as well), which comes with a few
requirements that the toolkit must supply. Tiled windows
have their borders' behavior changed depending on the
tiled position, and the toolkit must be aware of this
information in order to properly match the window manager
behavior.

In order to provide toolkits with more precise and general
data regarding resizable and constrained edges, this patch
makes MetaWindow track its own edge constraints.

This will later be used by the backends to send information
to the toolkit.

https://bugzilla.gnome.org/show_bug.cgi?id=751857

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: