Add a new HashSet template
* Intended to replace RBSet in most cases. * Optimized for iteration speed
This commit is contained in:
parent
410893ad0f
commit
45af29da80
243 changed files with 1400 additions and 662 deletions
|
|
@ -1255,7 +1255,7 @@ void DisplayServerX11::delete_sub_window(WindowID p_id) {
|
|||
DEBUG_LOG_X11("delete_sub_window: %lu (%u) \n", wd.x11_window, p_id);
|
||||
|
||||
while (wd.transient_children.size()) {
|
||||
window_set_transient(wd.transient_children.front()->get(), INVALID_WINDOW_ID);
|
||||
window_set_transient(*wd.transient_children.begin(), INVALID_WINDOW_ID);
|
||||
}
|
||||
|
||||
if (wd.transient_parent != INVALID_WINDOW_ID) {
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ class DisplayServerX11 : public DisplayServer {
|
|||
Callable drop_files_callback;
|
||||
|
||||
WindowID transient_parent = INVALID_WINDOW_ID;
|
||||
RBSet<WindowID> transient_children;
|
||||
HashSet<WindowID> transient_children;
|
||||
|
||||
ObjectID instance_id;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue