Skip to content

Instantly share code, notes, and snippets.

@xlab
Created July 26, 2012 13:56
Show Gist options
  • Save xlab/3182174 to your computer and use it in GitHub Desktop.
Save xlab/3182174 to your computer and use it in GitHub Desktop.
Enable movable dialogs (DIALOGMODE=free) in 'matchbox-window-manager'
diff -ur orig/matchbox-window-manager-1.2/src/dialog_client.c matchbox-window-manager-1.2/src/dialog_client.c
--- orig/matchbox-window-manager-1.2/src/dialog_client.c 2007-08-16 08:51:54.000000000 +0300
+++ matchbox-window-manager-1.2/src/dialog_client.c 2008-10-13 13:12:02.000000000 +0200
@@ -667,8 +667,8 @@
int bdr_south = 0, bdr_west = 0, bdr_east = 0, bdr_north = 0;
/* Check if we actually want to perform any sizing intervention */
- if (w->config->dialog_stratergy == WM_DIALOGS_STRATERGY_FREE)
- return;
+// if (w->config->dialog_stratergy == WM_DIALOGS_STRATERGY_FREE)
+// return;
/* Allow decorationless dialogs to position themselves anywhere
* But centered initially if 0,0 and a splash screen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment