3327a198e1
* Rename ShellGtkWindowActor to ShellGtkEmbed, and make it require a ShellEmbeddedWindow rather than a general GtkWindow. * Add ShellEmbeddedWindow subclass of GtkWindow that bypasses most of the GtkWindow complexity for size negotiation, and calls out to a clutter actor instead; also automatically handle reparenting the GtkWindow into the stage window. * Use the reworked ShellGtkEmbed in ShellTrayManager, this simplifies the code a bit, and more importantly results in the tray icons having the correct size negotiation, rather than having a fixed 24x24 size. http://bugzilla.gnome.org/show_bug.cgi?id=580047
20 lines
675 B
C
20 lines
675 B
C
#ifndef __SHELL_EMBEDDED_WINDOW_PRIVATE_H__
|
|
#define __SHELL_EMBEDDED_WINDOW_PRIVATE_H__
|
|
|
|
#include "shell-embedded-window.h"
|
|
#include "shell-gtk-embed.h"
|
|
|
|
void _shell_embedded_window_set_actor (ShellEmbeddedWindow *window,
|
|
ShellGtkEmbed *embed);
|
|
|
|
void _shell_embedded_window_allocate (ShellEmbeddedWindow *window,
|
|
int x,
|
|
int y,
|
|
int width,
|
|
int height);
|
|
|
|
void _shell_embedded_window_realize (ShellEmbeddedWindow *window);
|
|
void _shell_embedded_window_unrealize (ShellEmbeddedWindow *window);
|
|
|
|
#endif /* __SHELL_EMBEDDED_WINDOW_PRIVATE_H__ */
|