1
0
mirror of https://github.com/gryf/wmtemp.git synced 2026-02-16 05:55:54 +01:00

Using NVCtrlLib library instead of nvidia-settings program. Refactoring and

code cleanup. Changed version to 0.4.0
This commit is contained in:
2012-05-30 11:21:27 +02:00
parent 4e92b6f5ca
commit ac503a1ee5
5 changed files with 32 additions and 45 deletions

View File

@@ -366,7 +366,7 @@ void setMaskXY(int x, int y) {
/*******************************************************************************\
|* openXwindow *|
\*******************************************************************************/
void openXwindow(int argc, char *argv[], char *pixmap_bytes[], char *pixmask_bits, int pixmask_width, int pixmask_height) {
void openXwindow(int argc, char *argv[], char *pixmap_bytes[], const char *pixmask_bits, int pixmask_width, int pixmask_height) {
unsigned int borderwidth = 1;
XClassHint classHint;

View File

@@ -45,7 +45,7 @@ Display *display;
void AddMouseRegion(int index, int left, int top, int right, int bottom);
int CheckMouseRegion(int x, int y);
void openXwindow(int argc, char *argv[], char **, char *, int, int);
void openXwindow(int argc, char *argv[], char **, const char *, int, int);
void RedrawWindow(void);
void RedrawWindowXY(int x, int y);