summaryrefslogtreecommitdiff
path: root/packages/matchbox-keyboard/files/4-Add-rendering-debug-logging.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/matchbox-keyboard/files/4-Add-rendering-debug-logging.patch')
-rw-r--r--packages/matchbox-keyboard/files/4-Add-rendering-debug-logging.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/matchbox-keyboard/files/4-Add-rendering-debug-logging.patch b/packages/matchbox-keyboard/files/4-Add-rendering-debug-logging.patch
index 7ce61e469c..509cd09404 100644
--- a/packages/matchbox-keyboard/files/4-Add-rendering-debug-logging.patch
+++ b/packages/matchbox-keyboard/files/4-Add-rendering-debug-logging.patch
@@ -44,14 +44,14 @@ diff -r b010d54a6c50 -r 38c3459f2e1a src/matchbox-keyboard-ui.c
width_diff = width - ui->base_alloc_width;
height_diff = height - ui->base_alloc_height;
-@@ -1125,6 +1133,7 @@ mb_kbd_ui_event_loop(MBKeyboardUI *ui)
+@@ -1178,6 +1178,7 @@
}
break;
case ConfigureNotify:
+ DBG("ConfigureNotify %i,%i", xev.xconfigure.width, xev.xconfigure.height);
- if (xev.xconfigure.width != ui->xwin_width
- || xev.xconfigure.height != ui->xwin_height)
- mb_kbd_ui_handle_configure(ui,
+ if (xev.xconfigure.window == ui->xwin
+ && (xev.xconfigure.width != ui->xwin_width
+ || xev.xconfigure.height != ui->xwin_height))
diff -r b010d54a6c50 -r 38c3459f2e1a src/matchbox-keyboard.h
--- a/src/matchbox-keyboard.h Mon Apr 09 00:06:34 2007 +0000
+++ b/src/matchbox-keyboard.h Mon Apr 09 00:08:07 2007 +0000