mirror of
https://github.com/0intro/wmii
synced 2024-11-25 07:09:38 +03:00
28 lines
461 B
C
28 lines
461 B
C
/* Copyight 2008 Kris Maglione <maglione.k at Gmail>
|
|
* See LICENSE file for license details.
|
|
*/
|
|
#include <ctype.h>
|
|
#include <stdarg.h>
|
|
#include <stdbool.h>
|
|
#include <string.h>
|
|
#include <stuff/x.h>
|
|
#include <stuff/util.h>
|
|
#include <fmt.h>
|
|
|
|
int
|
|
main(int argc, char *argv[]) {
|
|
XWindow w;
|
|
|
|
ARGBEGIN{
|
|
}ARGEND;
|
|
|
|
initdisplay();
|
|
|
|
if(!getulong(EARGF(exit(1)), &w))
|
|
exit(1);
|
|
|
|
XSetInputFocus(display, w, RevertToParent, CurrentTime);
|
|
XCloseDisplay(display);
|
|
}
|
|
|