This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <X11/Xlib.h> | |
#include <X11/Xutil.h> | |
/** | |
* Set the WM_CLASS property of a window specified by it's ID | |
* Usage: set_wm_class <window id> <window class> <application name> | |
* Compile with: gcc set_wm_class.c -lX11 -o set_wm_class |