mirror of
https://github.com/Raymo111/i3lock-color.git
synced 2024-11-11 13:50:52 -05:00
added WM_CLASS property
This commit is contained in:
parent
dfe167bcac
commit
7e3c06c85b
1 changed files with 9 additions and 0 deletions
9
xcb.c
9
xcb.c
|
@ -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…
Reference in a new issue