|
@@ -189,10 +189,14 @@ void la_ScanWacomDevices(Display *display, int deviceid){
|
|
}
|
|
}
|
|
|
|
|
|
void laHideCursor(){
|
|
void laHideCursor(){
|
|
- //if(!MAIN.CurrentWindow) return; XFixesHideCursor(MAIN.dpy, MAIN.CurrentWindow->win);
|
|
|
|
|
|
+#ifdef NDEBUG
|
|
|
|
+ if(!MAIN.CurrentWindow) return; XFixesHideCursor(MAIN.dpy, MAIN.CurrentWindow->win);
|
|
|
|
+#endif
|
|
}
|
|
}
|
|
void laShowCursor(){
|
|
void laShowCursor(){
|
|
- //if(!MAIN.CurrentWindow) return; XFixesShowCursor(MAIN.dpy, MAIN.CurrentWindow->win);
|
|
|
|
|
|
+#ifdef NDEBUG
|
|
|
|
+ if(!MAIN.CurrentWindow) return; XFixesShowCursor(MAIN.dpy, MAIN.CurrentWindow->win);
|
|
|
|
+#endif
|
|
}
|
|
}
|
|
|
|
|
|
int la_XErrorHandler(Display *display, XErrorEvent *event){
|
|
int la_XErrorHandler(Display *display, XErrorEvent *event){
|