Skip to content

Commit c267b76

Browse files
gap: Set error modal class (#1522)
1 parent c67b640 commit c267b76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/gap/src/pal_linux_xcb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2876,6 +2876,7 @@ void gap_pal_modal_error(String message) {
28762876
pal_xcb_wm_state_update(&xcb, window, xcb.atomWmStateModal, true);
28772877
pal_xcb_set_window_type(&xcb, window, xcb.atomWmWindowTypeDialog);
28782878
pal_xcb_set_window_min_size(&xcb, window, textSize);
2879+
pal_xcb_class_set(&xcb, window, string_lit("volo-error"), string_lit("volo"));
28792880
pal_xcb_title_set(&xcb, window, string_lit("Error"));
28802881
pal_xcb_register_delete_msg(&xcb, window); // Register a custom delete message atom.
28812882
xcb.map_window(xcb.con, window);

0 commit comments

Comments
 (0)