← Back to team overview

ayatana-commits team mailing list archive

[Merge] lp:~bratsche/xsplash/panel-above into lp:xsplash

 

Cody Russell has proposed merging lp:~bratsche/xsplash/panel-above into lp:xsplash.

Requested reviews:
    Canonical Desktop Experience Team (canonical-dx-team)
-- 
https://code.launchpad.net/~bratsche/xsplash/panel-above/+merge/11944
Your team ayatana-commits is subscribed to branch lp:xsplash.
=== 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 ();


Follow ups