Skip to content

Commit

Permalink
2007-05-15 Ross Burton <[email protected]>
Browse files Browse the repository at this point in the history
	* gtk-im/im-protocol.c:
	Send the event with a mask specified.  I'm not entirely sure why,
	but everyone else does it.

	* src/matchbox-keyboard-ui.c:
	Listen for events with the same mask.  Also redraw the keyboard
	when it is shown.


git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-keyboard@1539 b067294f-1dea-0310-9683-c47a78595994
  • Loading branch information
ross committed May 15, 2007
1 parent 5f10197 commit a0671a8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
10 changes: 10 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
2007-05-15 Ross Burton <[email protected]>

* gtk-im/im-protocol.c:
Send the event with a mask specified. I'm not entirely sure why,
but everyone else does it.

* src/matchbox-keyboard-ui.c:
Listen for events with the same mask. Also redraw the keyboard
when it is shown.

2007-05-14 Matthew Allum <[email protected]>

* gtk-im/im-protocol.c: (protocol_send_event):
Expand Down
4 changes: 2 additions & 2 deletions gtk-im/im-protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ protocol_send_event (InvokerEvent e)

XSendEvent (GDK_DISPLAY (),
gdk_x11_get_default_root_xwindow (),
False,
NoEventMask,
False,
SubstructureRedirectMask | SubstructureNotifyMask,
&event);

XSync (GDK_DISPLAY(), False);
Expand Down
3 changes: 2 additions & 1 deletion src/matchbox-keyboard-ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ void
mb_kbd_ui_show(MBKeyboardUI *ui)
{
XMapWindow(ui->xdpy, ui->xwin);
mb_kbd_ui_redraw (ui);
}

void
Expand Down Expand Up @@ -669,7 +670,7 @@ mb_kbd_ui_resources_create(MBKeyboardUI *ui)
CWOverrideRedirect|CWEventMask,
&win_attr);

XSelectInput (ui->xdpy, ui->xwin_root, PropertyChangeMask);
XSelectInput (ui->xdpy, ui->xwin_root, SubstructureNotifyMask);

wm_hints = XAllocWMHints();

Expand Down

0 comments on commit a0671a8

Please sign in to comment.