mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
win32: Implement the set_accept_focus() vfunc
Implement the ClutterStageWindow::set_accept_focus() virtual function in the win32 backend. If accept_focus is set to be TRUE then we call SetforegroundWindow() after calling ShowWindow(). This is similar to what GDK does when dealing with the same situation. http://bugzilla.clutter-project.org/show_bug.cgi?id=2500
This commit is contained in:
@ -50,15 +50,17 @@ struct _ClutterStageWin32
|
||||
gint win_height;
|
||||
gint scroll_pos;
|
||||
RECT fullscreen_rect;
|
||||
gboolean is_foreign_win;
|
||||
gboolean tracking_mouse;
|
||||
wchar_t *wtitle;
|
||||
gboolean is_cursor_visible;
|
||||
|
||||
ClutterBackendWin32 *backend;
|
||||
ClutterStageState state;
|
||||
|
||||
ClutterStage *wrapper;
|
||||
|
||||
guint is_foreign_win : 1;
|
||||
guint tracking_mouse : 1;
|
||||
guint is_cursor_visible : 1;
|
||||
guint accept_focus : 1;
|
||||
};
|
||||
|
||||
struct _ClutterStageWin32Class
|
||||
|
Reference in New Issue
Block a user