]> Pileus Git - ~andy/gtk/commit
[broadway] Clean up js side surface handling
authorAlexander Larsson <alexl@redhat.com>
Mon, 11 Apr 2011 09:32:25 +0000 (11:32 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 11 Apr 2011 10:09:43 +0000 (12:09 +0200)
commit33d16b16c9d1f0c458ff2b8bf2dc3f39769eb613
tree13365de36a207ae7f62eda931b88b59e220824fa
parent27c4d104fb41c54b5ebbe4e7426ef53d949d5e11
[broadway] Clean up js side surface handling

* Always calculate the context, don't store in surface.
* Store the toplevel element (frame or canvas) for easy access.
* Always use visibility hidden rathern than display none to hide windows,
  as this means we can always rely on dom positioning info.
gdk/broadway/broadway.js