Mercurial > dwindows
diff dw.h @ 2266:bb0690c04413
GTK4: First buildable version... although tons still left to do.
No thread safety at all, only single threaded apps... no menus.
Signal handlers are a complete mess.... but progress.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 30 Jan 2021 01:53:20 +0000 |
parents | 63bb97e94cd3 |
children | 819f2492c85f |
line wrap: on
line diff
--- a/dw.h Fri Jan 29 13:18:47 2021 +0000 +++ b/dw.h Sat Jan 30 01:53:20 2021 +0000 @@ -1249,7 +1249,11 @@ /* Key Modifiers */ #define KC_CTRL GDK_CONTROL_MASK #define KC_SHIFT GDK_SHIFT_MASK +#if GTK_MAJOR_VERSION > 3 +#define KC_ALT GDK_ALT_MASK +#else #define KC_ALT GDK_MOD1_MASK +#endif typedef GtkWidget *HWND; #ifndef _ENVRNMNT_H