summaryrefslogtreecommitdiff
path: root/Kernel/ProcessGUI.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-26 05:35:45 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-26 05:35:45 +0100
commit244d5bcce1b0c1b6926dd74e61ae50934171bd4f (patch)
tree8ae69948469b92eb7d68ac3d5b41a9dd3d0b197c /Kernel/ProcessGUI.cpp
parentbba21adae377c2b1f1876adb0f877f62cdb075e9 (diff)
downloadserenity-244d5bcce1b0c1b6926dd74e61ae50934171bd4f.zip
WindowServer: More event -> message renaming.
Diffstat (limited to 'Kernel/ProcessGUI.cpp')
-rw-r--r--Kernel/ProcessGUI.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/ProcessGUI.cpp b/Kernel/ProcessGUI.cpp
index 5b8e492848..6487d155c9 100644
--- a/Kernel/ProcessGUI.cpp
+++ b/Kernel/ProcessGUI.cpp
@@ -145,7 +145,7 @@ int Process::gui$invalidate_window(int window_id, const GUI_Rect* a_rect)
Rect rect;
if (a_rect)
rect = *a_rect;
- WSMessageLoop::the().post_event(&window, make<WSPaintEvent>(rect));
+ WSMessageLoop::the().post_message(&window, make<WSPaintEvent>(rect));
WSMessageLoop::the().server_process().request_wakeup();
return 0;
}
@@ -169,7 +169,7 @@ int Process::gui$notify_paint_finished(int window_id, const GUI_Rect* a_rect)
Rect rect;
if (a_rect)
rect = *a_rect;
- WSMessageLoop::the().post_event(&window, make<WSWindowInvalidationEvent>(rect));
+ WSMessageLoop::the().post_message(&window, make<WSWindowInvalidationEvent>(rect));
WSMessageLoop::the().server_process().request_wakeup();
return 0;
}
@@ -207,7 +207,7 @@ int Process::gui$set_window_title(int window_id, const char* title, size_t size)
return -EBADWINDOW;
auto& window = *(*it).value;
String new_title(title, size);
- WSMessageLoop::the().post_event(&window, make<WSSetWindowTitle>(move(new_title)));
+ WSMessageLoop::the().post_message(&window, make<WSSetWindowTitle>(move(new_title)));
WSMessageLoop::the().server_process().request_wakeup();
return 0;
}
@@ -240,7 +240,7 @@ int Process::gui$set_window_rect(int window_id, const GUI_Rect* rect)
return -EBADWINDOW;
auto& window = *(*it).value;
Rect new_rect = *rect;
- WSMessageLoop::the().post_event(&window, make<WSSetWindowRect>(new_rect));
+ WSMessageLoop::the().post_message(&window, make<WSSetWindowRect>(new_rect));
WSMessageLoop::the().server_process().request_wakeup();
return 0;
}