Search
lxdream.org :: lxdream/src/gtkui/gtkui.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gtkui/gtkui.c
changeset 839:51f1c4195790
prev837:4eae2ddccf9c
next845:d6131bbe2219
author nkeynes
date Tue Sep 02 03:34:00 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Implement absolute positioning mouse mode when not grabbed
enable/disable grab on dreamcast start/stop where it's requested
by the controllers
file annotate diff log raw
1.1 --- a/src/gtkui/gtkui.c Thu Aug 28 01:39:51 2008 +0000
1.2 +++ b/src/gtkui/gtkui.c Tue Sep 02 03:34:00 2008 +0000
1.3 @@ -198,6 +198,7 @@
1.4 gboolean gtk_gui_disc_changed( gdrom_disc_t disc, const gchar *disc_name, void *ptr )
1.5 {
1.6 main_window_update_title( main_win );
1.7 + return TRUE;
1.8 }
1.9
1.10 gboolean gui_init( gboolean withDebug )
1.11 @@ -232,7 +233,6 @@
1.12 GtkWidget *gdrommenu = gdrom_menu_new();
1.13 gtk_menu_item_set_submenu( GTK_MENU_ITEM(gdrommenuitem), gdrommenu );
1.14 main_win = main_window_new( lxdream_package_name, menubar, toolbar, accel_group );
1.15 - main_window_set_use_grab(main_win, TRUE);
1.16 if( withDebug ) {
1.17 gtk_gui_show_debugger();
1.18 }
1.19 @@ -260,6 +260,11 @@
1.20 gtk_gui_update();
1.21 }
1.22
1.23 +void gui_set_use_grab( gboolean flag )
1.24 +{
1.25 + main_window_set_use_grab(main_win, TRUE);
1.26 +}
1.27 +
1.28 gboolean gui_error_dialog( const char *msg, ... )
1.29 {
1.30 if( main_win != NULL ) {
.