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 refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
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 feat: Implement BrowserWindow.getMediaSourceId() and BrowserWindow.moveAbove(mediaSourceId) (#18926) 2019-08-15 15:51:15 +09:00