electron/shell/browser/ui/x
Charles Kerr 83d5833b4f
refactor: precache the IsWindowStateEvent() XAtom (#22706)
* refactor: precache the IsWindowStateEvent() atom

XAtoms never change after creation so we can perload the atoms we need.
This is useful in WindowStateWatcher's XEvent handler, which is called
on every XEvent, e.g. mouse movement...

* empty commit for ci
2020-03-17 19:30:58 -05:00
..
event_disabler.cc refactor: run clang-tidy (#20231) 2019-09-16 18:12:00 -04:00
event_disabler.h
window_state_watcher.cc refactor: precache the IsWindowStateEvent() XAtom (#22706) 2020-03-17 19:30:58 -05:00
window_state_watcher.h refactor: precache the IsWindowStateEvent() XAtom (#22706) 2020-03-17 19:30:58 -05:00
x_window_utils.cc refactor: run clang-tidy (#20231) 2019-09-16 18:12:00 -04:00
x_window_utils.h