File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818int ptk_init (const wchar_t * name )
1919{
20+ #ifdef PTK_LINUX
21+ printf ("[app] initializing linux app...\n" );
22+ #endif
23+ #ifdef PTK_HAS_LIBX11
24+ printf ("[app] x11 support detected, trying to use x11app engine...\n" );
25+ #endif
2026 if (ptk_app_init (name ) != 0 ) {
2127 return -1 ;
2228 }
Original file line number Diff line number Diff line change @@ -185,18 +185,19 @@ int ptk_app_init(const wchar_t *name)
185185{
186186 linux_app .id = PTK_APP_ID_LINUX ;
187187#ifdef PTK_HAS_LIBX11
188+ printf ("[app] x11 support detected, trying to use x11app engine...\n" );
188189 ptk_x11app_driver_init (& linux_app .app );
189190 ptk_x11window_driver_init (& linux_app .window );
190191 if (linux_app .app .init (name ) == 0 ) {
191- logger_debug ("[app] use engine: x11app\n" );
192+ printf ("[app] use engine: x11app\n" );
192193 linux_app .id = PTK_APP_ID_LINUX_X11 ;
193194 linux_app .active = true;
194195 return 0 ;
195196 }
196197 memset (& linux_app .app , 0 , sizeof (linux_app .app ));
197198 memset (& linux_app .window , 0 , sizeof (linux_app .window ));
198199#endif
199- logger_debug ("[app] use engine: fbapp\n" );
200+ printf ("[app] use engine: fbapp\n" );
200201 ptk_fbapp_driver_init (& linux_app .app );
201202 ptk_fbwindow_driver_init (& linux_app .window );
202203 if (linux_app .app .init (name ) == 0 ) {
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ static const ctest_suite_t suites[] = {
4545
4646int main (int argc , char * * argv )
4747{
48- logger_set_level (LOGGER_LEVEL_ERROR );
48+ logger_set_level (LOGGER_LEVEL_INFO );
4949 if (ctest_parse_args (argc , argv ) != 0 ) {
5050 return 1 ;
5151 }
You can’t perform that action at this time.
0 commit comments