mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
fixed the 'focus flicker' problem, seen with GTK2 applications
This commit is contained in:
@@ -403,7 +403,10 @@ handleDeadProcess(void *foo)
|
||||
static void
|
||||
saveTimestamp(XEvent *event)
|
||||
{
|
||||
LastTimestamp = CurrentTime;
|
||||
/*
|
||||
* Never save CurrentTime as LastTimestamp because CurrentTime
|
||||
* it's not a real timestamp (it's the 0L constant)
|
||||
*/
|
||||
|
||||
switch (event->type) {
|
||||
case ButtonRelease:
|
||||
@@ -433,7 +436,7 @@ saveTimestamp(XEvent *event)
|
||||
case SelectionNotify:
|
||||
LastTimestamp = event->xselection.time;
|
||||
#ifdef XDND
|
||||
wXDNDProcessSelection(event);
|
||||
wXDNDProcessSelection(event);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user