← Back to team overview

ayatana-commits team mailing list archive

[Branch ~xsplash-team/xsplash/trunk] Rev 70: merge lp:~bratsche/xsplash/panel-above

 

Merge authors:
  Cody Russell (bratsche)
Related merge proposals:
  https://code.launchpad.net/~bratsche/xsplash/panel-above/+merge/11944
  proposed by: Cody Russell (bratsche)
  review: Approve - Ted Gould (ted)
------------------------------------------------------------
revno: 70 [merge]
committer: Cody Russell <crussell@xxxxxxxxxxxxx>
branch nick: xsplash
timestamp: Thu 2009-09-17 00:28:26 -0500
message:
  merge lp:~bratsche/xsplash/panel-above
modified:
  src/xsplash.c


--
lp:xsplash
https://code.launchpad.net/~xsplash-team/xsplash/trunk

Your team ayatana-commits is subscribed to branch lp:xsplash.
To unsubscribe from this branch go to https://code.launchpad.net/~xsplash-team/xsplash/trunk/+edit-subscription.
=== modified file 'src/xsplash.c'
--- src/xsplash.c	2009-09-16 16:10:10 +0000
+++ src/xsplash.c	2009-09-17 03:23:42 +0000
@@ -448,6 +448,16 @@
                                    h - y);
 }
 
+static gboolean
+focus_out_event (GtkWidget     *widget,
+                 GdkEventFocus *event,
+                 gpointer       user_data)
+{
+  gtk_window_present (GTK_WINDOW (widget));
+
+  return FALSE;
+}
+
 static void
 composited_changed (GdkScreen *screen,
                     gpointer data)
@@ -529,6 +539,10 @@
                     "key-press-event",
                     G_CALLBACK (key_press_event),
                     server);
+  g_signal_connect (priv->window,
+                    "focus-out-event",
+                    G_CALLBACK (focus_out_event),
+                    server);
 
   logo_filename = get_logo_filename (gdk_screen_get_width (priv->screen));
   throbber_filename = get_throbber_filename ();