summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorracarr <racarr>2007-01-27 21:42:28 +0000
committerracarr <racarr>2007-01-27 21:42:28 +0000
commita5bd6d8d6dcf12c42fbf25314ba3fbbf3ee05e5a (patch)
treec6aed891b553eed22873d6e920e4f19ffb07e82e
parent7feb329ae3ec3f803cf5269f4de12d7f92fd9deb (diff)
downloadberyl-desktop-manager-a5bd6d8d6dcf12c42fbf25314ba3fbbf3ee05e5a.tar.gz
beryl-desktop-manager-a5bd6d8d6dcf12c42fbf25314ba3fbbf3ee05e5a.tar.bz2
Force keep below
-rw-r--r--src/bdm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bdm.c b/src/bdm.c
index 5cc79b2..29f8f7c 100644
--- a/src/bdm.c
+++ b/src/bdm.c
@@ -35,7 +35,7 @@ static void render (int width, int height, GdkPixbuf *pixbuf)
static gboolean on_alpha_window_expose(GtkWidget * widget, GdkEventExpose * expose, GdkPixbuf *pixbuf)
{
static int iWidth;
- static int iHeight;
+ static int iHeight;
g_pCairoContext = gdk_cairo_create(widget->window);
cairo_set_operator (g_pCairoContext, CAIRO_OPERATOR_SOURCE);
@@ -154,6 +154,7 @@ int main(int argc, char * argv[])
on_alpha_screen_changed(dwindow,NULL,NULL);
gtk_window_resize(GTK_WINDOW(dwindow),onex,oney);
gtk_widget_set_app_paintable(dwindow, TRUE);
+ gtk_window_set_keep_below(window,TRUE);
g_signal_connect( G_OBJECT(dwindow),"expose-event",G_CALLBACK(on_alpha_window_expose),scaledpix);
gtk_widget_show(GTK_WINDOW(dwindow));
on_alpha_window_expose(dwindow,0,scaledpix);