shithub: drawterm

Download patch

ref: fc0d38552e53914b7f638be23cb09eda488ce25e
parent: 2894b8f250339d56c4970a985d9f878bae91b138
author: Jacob Moody <moody@posixcafe.org>
date: Mon Jan 17 23:43:07 EST 2022

gui-wl: handle pgup and pgdown

--- a/gui-wl/wl-cb.c
+++ b/gui-wl/wl-cb.c
@@ -197,6 +197,12 @@
 	case XKB_KEY_Right:
 		utf32 = Kright;
 		break;
+	case XKB_KEY_Page_Up:
+		utf32 = Kpgup;
+		break;
+	case XKB_KEY_Page_Down:
+		utf32 = Kpgdown;
+		break;
 	default:
 		utf32 = xkb_keysym_to_utf32(keysym);
 		break;
@@ -537,7 +543,7 @@
 	wl_surface_commit(wl->surface);
 	wl_display_roundtrip(wl->display);
 
-	xdg_toplevel_set_app_id(wl->xdg_toplevel, "devdraw");
+	xdg_toplevel_set_app_id(wl->xdg_toplevel, "drawterm");
 
 	cb = wl_surface_frame(wl->surface);
 	wl_callback_add_listener(cb, &wl_surface_frame_listener, wl);