forked from AuroraMiddleware/gtk
win32: Stop using MODx modifiers
The win32 backend is using GDK_MOD2_MASK for AltGr, so define GDK_MOD2_MASK locally to keep this working, but remove any mention of GDK_MOD3_MASK,...,GDK_MOD5_MASK.
This commit is contained in:
parent
7fa103717d
commit
25e9a54902
@ -72,6 +72,8 @@
|
||||
|
||||
#include <imm.h>
|
||||
|
||||
#define GDK_MOD2_MASK (1 << 4)
|
||||
|
||||
#ifndef XBUTTON1
|
||||
#define XBUTTON1 1
|
||||
#define XBUTTON2 2
|
||||
@ -743,9 +745,6 @@ print_event_state (guint state)
|
||||
CASE (CONTROL);
|
||||
CASE (ALT);
|
||||
CASE (MOD2);
|
||||
CASE (MOD3);
|
||||
CASE (MOD4);
|
||||
CASE (MOD5);
|
||||
CASE (BUTTON1);
|
||||
CASE (BUTTON2);
|
||||
CASE (BUTTON3);
|
||||
|
@ -38,6 +38,8 @@
|
||||
#include "gdkkeysprivate.h"
|
||||
#include "gdkwin32keys.h"
|
||||
|
||||
#define GDK_MOD2_MASK (1 << 4)
|
||||
|
||||
enum _GdkWin32KeyLevelState
|
||||
{
|
||||
GDK_WIN32_LEVEL_NONE = 0,
|
||||
|
Loading…
Reference in New Issue
Block a user