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

Proposed by Cody Russell on 2009-09-17
Status: Merged
Merged at revision: not available
Proposed branch: lp:~bratsche/xsplash/panel-above
Merge into: lp:xsplash
Diff against target: None lines
To merge this branch: bzr merge lp:~bratsche/xsplash/panel-above
Reviewer Review Type Date Requested Status
Ted Gould (community) 2009-09-17 Approve on 2009-09-17
Review via email: mp+11944@code.launchpad.net
To post a comment you must log in.
Ted Gould (ted) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/xsplash.c'
2--- src/xsplash.c 2009-09-16 16:10:10 +0000
3+++ src/xsplash.c 2009-09-17 03:23:42 +0000
4@@ -448,6 +448,16 @@
5 h - y);
6 }
7
8+static gboolean
9+focus_out_event (GtkWidget *widget,
10+ GdkEventFocus *event,
11+ gpointer user_data)
12+{
13+ gtk_window_present (GTK_WINDOW (widget));
14+
15+ return FALSE;
16+}
17+
18 static void
19 composited_changed (GdkScreen *screen,
20 gpointer data)
21@@ -529,6 +539,10 @@
22 "key-press-event",
23 G_CALLBACK (key_press_event),
24 server);
25+ g_signal_connect (priv->window,
26+ "focus-out-event",
27+ G_CALLBACK (focus_out_event),
28+ server);
29
30 logo_filename = get_logo_filename (gdk_screen_get_width (priv->screen));
31 throbber_filename = get_throbber_filename ();

Subscribers

People subscribed via source and target branches