📄 getgeom.c
字号:
#include "nxlib.h"StatusXGetGeometry(Display *dpy, Drawable d, Window *root, int *x, int *y, unsigned int *width, unsigned int *height, unsigned int *borderWidth, unsigned int *depth){ GR_WINDOW_INFO info; GR_SCREEN_INFO sinfo; GrGetWindowInfo(d, &info); GrGetScreenInfo(&sinfo); *root = GR_ROOT_WINDOW_ID; *x = info.x; *y = info.y; *width = info.width; *height = info.height; *borderWidth = info.bordersize; *depth = sinfo.bpp; return 1;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -