Remove setinputfocus

This commit is contained in:
Ximi1970
2021-01-16 13:56:30 +01:00
parent 573159a495
commit cd60856f43
2 changed files with 2 additions and 2 deletions

View File

@@ -823,7 +823,7 @@ void WindowCtrlUnix::normalizeWindow( quint64 window )
/*
* Set focus
*/
SetInputFocus( m_display, window );
// SetInputFocus( m_display, window ); // Throws error: Fedora 33
/*
* Flush the pipes

View File

@@ -465,7 +465,7 @@ void MoveWindow( void* display, quint64 window, int x, int y )
*/
int ErrorHandler( Display* display, XErrorEvent* event )
{
fprintf( stderr, "Error code: %x", event->error_code );
fprintf( stderr, "Error code: %x\n", event->error_code );
char buf[ 1024 ];
XGetErrorText( display, event->error_code, buf, 1024 );