awesome/objects
Uli Schlachter 70fef83e50 drawin: Don't special-case moves
The code in drawin_moveresize() tries to be clever and only updates the drawing
state of the drawable when it is resized, not when it is moved around. This used
to be necessary because once upon a time, drawin_update_drawing() threw away all
of the drawing state and thus forcing a repaint. These days it just calls
drawable_set_geometry() as well and that function special-cases moves.

So this old code in drawin_moveresize() is no longer necessary and actually
caused problems.

These problems occurred because drawin_update_drawing() is being clever and
doesn't do anything for .visible = false drawins, because their drawing state
will be updated once they become visible. However, not skipping
drawable_set_geometry() means that this broke, because drawin_map() thought that
the drawing state was up to date while in reality it wasn't.

References: http://article.gmane.org/gmane.comp.window-managers.awesome/10852
Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-10-11 13:12:57 +02:00
..
button.c Clean up header includes 2014-03-30 20:07:48 +02:00
button.h Clean up header includes 2014-03-30 20:07:48 +02:00
client.c Clean up header includes 2014-03-30 20:07:48 +02:00
client.h Clean up header includes 2014-03-30 20:07:48 +02:00
drawable.c Clean up header includes 2014-03-30 20:07:48 +02:00
drawable.h Clean up header includes 2014-03-30 20:07:48 +02:00
drawin.c drawin: Don't special-case moves 2014-10-11 13:12:57 +02:00
drawin.h Clean up header includes 2014-03-30 20:07:48 +02:00
key.c Clean up header includes 2014-03-30 20:07:48 +02:00
key.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
screen.c screen: Fix output deletion 2014-03-31 13:17:34 +02:00
screen.h Clean up header includes 2014-03-30 20:07:48 +02:00
tag.c Clean up header includes 2014-03-30 20:07:48 +02:00
tag.h Fix handling of _NET_CURRENT_DESKTOP messages (FS#1219,FS#1217) 2014-03-08 15:33:34 +01:00
timer.c Clean up header includes 2014-03-30 20:07:48 +02:00
timer.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
window.c Clean up header includes 2014-03-30 20:07:48 +02:00
window.h Clean up header includes 2014-03-30 20:07:48 +02:00