mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-05-06 19:45:57 +02:00
Remove setinputfocus
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user