Browse Source

Merge pull request #218 from ivanvig/wm_class-patch

added wm_class property
master
Ingo Bürk 6 years ago
committed by GitHub
parent
commit
a395006844
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      xcb.c

+ 9
- 0
xcb.c View File

@ -149,6 +149,15 @@ xcb_window_t open_fullscreen_window(xcb_connection_t *conn, xcb_screen_t *scr, c
strlen(name),
name);
xcb_change_property(conn,
XCB_PROP_MODE_REPLACE,
win,
XCB_ATOM_WM_CLASS,
XCB_ATOM_STRING,
8,
2 * (strlen("i3lock") + 1),
"i3lock\0i3lock\0");
/* Map the window (= make it visible) */
xcb_map_window(conn, win);


Loading…
Cancel
Save