Skip to content

Instantly share code, notes, and snippets.

@ayanamist
Created December 6, 2013 06:21
Show Gist options
  • Save ayanamist/7819386 to your computer and use it in GitHub Desktop.
Save ayanamist/7819386 to your computer and use it in GitHub Desktop.
Fix bug of xfwm4 which sometime eat minimize button. More detail please refer to https://bugzilla.xfce.org/show_bug.cgi?id=10413
Index: xfwm4-4.10.1/src/netwm.c
===================================================================
--- xfwm4-4.10.1.orig/src/netwm.c 2013-05-05 23:58:42.000000000 +0800
+++ xfwm4-4.10.1/src/netwm.c 2013-12-06 12:26:31.351436498 +0800
@@ -1325,7 +1325,6 @@
c->initial_layer = c2->win_layer;
TRACE ("Applied layer is %lu", c->initial_layer);
}
- FLAG_UNSET (c->xfwm_flags, XFWM_FLAG_HAS_HIDE);
}
if (!FLAG_TEST (c->flags, CLIENT_FLAG_ABOVE|CLIENT_FLAG_BELOW|CLIENT_FLAG_FULLSCREEN))
{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment