From d2736997dd0b9b3c59174a34b6c01f1facf9e3f1 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Fri, 6 Jun 2014 12:53:12 +0100 Subject: Show window decorations by default --- alphademo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alphademo.c b/alphademo.c index 03776cd..5e7e00e 100644 --- a/alphademo.c +++ b/alphademo.c @@ -54,7 +54,7 @@ int main(int argc, char **argv) g_signal_connect(G_OBJECT(window), "screen-changed", G_CALLBACK(screen_changed), NULL); /* toggle title bar on click - we add the mask to tell X we are interested in this event */ - gtk_window_set_decorated(GTK_WINDOW(window), FALSE); + gtk_window_set_decorated(GTK_WINDOW(window), TRUE); gtk_widget_add_events(window, GDK_BUTTON_PRESS_MASK); g_signal_connect(G_OBJECT(window), "button-press-event", G_CALLBACK(clicked), NULL); -- cgit v1.2.3