Optimize panel updating a bit, changing _calculate_position() calls.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Thu, 13 Nov 2014 13:49:03 +0000 (15:49 +0200)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Thu, 13 Nov 2014 13:49:03 +0000 (15:49 +0200)
commitb270075867e548885690a1f0feb55128ece9216a
tree80cffa2c91fb4d56ac4394b797434e3a2bb25629
parent6ea47e80529b19917ab4ab0d92a84d441b285ab1
Optimize panel updating a bit, changing _calculate_position() calls.

Moving should not be retried panel window each time since there are
coords remembered, and those coords should be not erased on each size
request so they can be compared on size allocation eliminating those
unwanted window resizing/strut changing.
To do that _calculate_position() should fill GdkRectangle instead of
coords in Panel private data.
src/misc.c
src/panel.c
src/private.h