Ticket #44282: enable-ktimetracker.patch
File enable-ktimetracker.patch, 784 bytes (added by RJVB (René Bertin), 10 years ago) |
---|
-
CMakeLists.txt
old new 337 337 macro_optional_add_subdirectory(knode) 338 338 endif() 339 339 340 if(Q_WS_X11)340 #if(Q_WS_X11) 341 341 macro_optional_add_subdirectory(ktimetracker) 342 endif()342 #endif() 343 343 344 344 endif() 345 345 macro_optional_add_subdirectory(kontact) # must be the last one. -
./ktimetracker/ktimetrackerutility.cpp
old new 26 26 27 27 #include <math.h> 28 28 #include <stdlib.h> 29 #include <X11/Xlib.h> 30 #include <fixx11h.h> 29 #ifdef Q_WS_X11 30 # include <X11/Xlib.h> 31 # include <fixx11h.h> 32 #endif 31 33 32 34 QString getFocusWindow() 33 35 {