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:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user