mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
2008-03-30 Neil Roberts <neil@o-hand.com>
* clutter/win32/clutter-win32.h: * clutter/win32/clutter-stage-win32.h: * clutter/win32/clutter-stage-win32.c: * clutter/win32/clutter-event-win32.c: * clutter/win32/clutter-backend-win32.h: * clutter/win32/clutter-backend-win32.c: Upgraded for multi-stage support. * clutter/win32/clutter-stage-win32.c (clutter_stage_win32_request_coords): Fixed so that it doesn't set the position or size if it hasn't changed. This was causing problems when the window was resized using the top left corner. In that case the window receives resize and move messages separately which caused the window to flash at a different size or position while one message was handled before the other. (clutter_stage_win32_realize): Added PFD_GENERIC_ACCELERATED to the list of pixel format flags to force it to use hardware acceleration. 2008-03-30 Neil Roberts <neil@o-hand.com> * clutter-sections.txt: Added clutter_win32_get_stage_from_window
This commit is contained in:
@ -45,8 +45,7 @@ struct _ClutterBackendWin32
|
||||
{
|
||||
ClutterBackend parent_instance;
|
||||
|
||||
/* main stage singleton */
|
||||
ClutterActor *stage;
|
||||
HGLRC gl_context;
|
||||
|
||||
GSource *event_source;
|
||||
};
|
||||
@ -61,9 +60,6 @@ void _clutter_backend_win32_events_uninit (ClutterBackend *backend);
|
||||
|
||||
GType clutter_backend_win32_get_type (void) G_GNUC_CONST;
|
||||
|
||||
ClutterActor *
|
||||
clutter_backend_win32_get_stage (ClutterBackend *backend);
|
||||
|
||||
void
|
||||
clutter_backend_win32_add_options (ClutterBackend *backend,
|
||||
GOptionGroup *group);
|
||||
|
Reference in New Issue
Block a user