Create the ulock window as GTK_WINDOW_POPUP
This commit is contained in:
parent
65268f66f1
commit
7a76275ca1
1 changed files with 1 additions and 1 deletions
2
ulock.c
2
ulock.c
|
@ -245,7 +245,7 @@ static void wait_for_selection(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void create_lock_window(void) {
|
static void create_lock_window(void) {
|
||||||
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
|
window = gtk_window_new(GTK_WINDOW_POPUP);
|
||||||
|
|
||||||
gtk_widget_realize(window);
|
gtk_widget_realize(window);
|
||||||
gdk_window_add_filter(NULL, (GdkFilterFunc)xevent_filter, NULL);
|
gdk_window_add_filter(NULL, (GdkFilterFunc)xevent_filter, NULL);
|
||||||
|
|
Reference in a new issue