terminal
terminal copied to clipboard
Focus current tab
Fix #73
Tested this with multiple terminal windows and tabs. should work without issues.
Is it necessary to add another dependency (especially X11 specific)? Is using "get_server_time" essential?
@jeremypw Unfortunately it seems get_server_time is essential. Apparently present_with_time needs a timestamp to solve focus stealing and the only timestamp I passed to it that worked was this one. Using regular datetime functions did not work and I found an answer in SO that linked to this function.
Might be worth delaying trying to fix this until https://github.com/elementary/notifications/issues/153 is fixed. It should not be necessary to add that extra dependency.