LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File xzgv-0.9.1-iconify.patch of Package xzgv (Project X11:Utilities)

--- src/main.c.orig
+++ src/main.c
@@ -597,10 +597,7 @@ RECURSE_PROTECT_END;
 
 void cb_iconify(void)
 {
-XIconifyWindow(GDK_WINDOW_XDISPLAY(mainwin->window),
-               GDK_WINDOW_XWINDOW(mainwin->window),
-               XScreenNumberOfScreen(XDefaultScreenOfDisplay(
-                 GDK_WINDOW_XDISPLAY(mainwin->window))));
+gtk_window_iconify(GTK_WINDOW(mainwin));
 }