• Tor Lillqvist's avatar
    Remove the event_mask, it is now in GdkWindowObject. · 8beceb38
    Tor Lillqvist authored
    2002-03-01  Tor Lillqvist  <tml@iki.fi>
    
    	* gdk/win32/gdkwindow-win32.h (struct _GdkWindowImplWin32): Remove
    	the event_mask, it is now in GdkWindowObject.
    
    	* gdk/win32/gdkwindow-win32.c: Change accordingly. Set the
    	GDK_STRUCTURE_MASK in gdk_window_set_events(), as it is always set
    	in gdk_window_new(), too. (Bug#72921)
    
    	* gdk/win32/gdkevents-win32.c: Change accordingly here, too.
    	(vk_from_char): New function, calculates the virtual keycode
    	corresponding to the char in a WM_CHAR message.
    	(build_keypress_event, build_keyrelease_event): Use it.
    	(build_keypress_event): Call ImmReleaseContext() after using the
    	input context. This might plug a memory or resource leak.
    	(build_key_event_state): Remove #if 0 code.
    	(gdk_event_translate): Actually, it would be preferrable to always
    	handle just the WM_KEYDOWN and WM_KEYUP messages, not WM_CHAR at
    	all, and thus drop the contorted logic with ignore_wm_char etc.
    
    	* gdk/win32/gdkkeys-win32.c: (gdk_keymap_get_entries_for_keyval):
    	Debugging output.
    	(gdk_keymap_translate_keyboard_state): Return correct value. (But
    	_gtk_key_hash_lookup() doesn't check the return value...)
    8beceb38
Name
Last commit
Last update
contrib Loading commit data...
debian Loading commit data...
demos Loading commit data...
docs Loading commit data...
examples Loading commit data...
gdk Loading commit data...
gdk-pixbuf Loading commit data...
gtk Loading commit data...
m4macros Loading commit data...
modules Loading commit data...
po Loading commit data...
tests Loading commit data...
.cvsignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.pre-1-0 Loading commit data...
ChangeLog.pre-1-2 Loading commit data...
ChangeLog.pre-2-0 Loading commit data...
ChangeLog.pre-2-10 Loading commit data...
ChangeLog.pre-2-2 Loading commit data...
ChangeLog.pre-2-4 Loading commit data...
ChangeLog.pre-2-6 Loading commit data...
ChangeLog.pre-2-8 Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
INSTALL.in Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
NEWS.pre-1-0 Loading commit data...
README Loading commit data...
README.cvs-commits Loading commit data...
README.in Loading commit data...
README.nanox Loading commit data...
README.win32 Loading commit data...
TODO Loading commit data...
TODO.xml Loading commit data...
acconfig.h Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
config.h.win32.in Loading commit data...
configure.in Loading commit data...
gdk-2.0-uninstalled.pc.in Loading commit data...
gdk-2.0.pc.in Loading commit data...
gdk-pixbuf-2.0-uninstalled.pc.in Loading commit data...
gdk-pixbuf-2.0.pc.in Loading commit data...
gtk+-2.0-uninstalled.pc.in Loading commit data...
gtk+-2.0.pc.in Loading commit data...
gtk+.spec.in Loading commit data...
gtk-config-2.0.in Loading commit data...
gtk-zip.sh.in Loading commit data...
makecopyright Loading commit data...
sanity_check Loading commit data...