1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:38:11 +00:00

WindowServer+LibGUI: Rename WindowType::MenuApplet => Applet

This commit is contained in:
Andreas Kling 2021-04-04 17:55:50 +02:00
parent dabfeb6dd8
commit 0069020e6c
13 changed files with 17 additions and 17 deletions

View file

@ -602,7 +602,7 @@ Gfx::IntRect Widget::window_relative_rect() const
Gfx::IntRect Widget::screen_relative_rect() const
{
auto window_position = window()->window_type() == WindowType::MenuApplet
auto window_position = window()->window_type() == WindowType::Applet
? window()->applet_rect_on_screen().location()
: window()->rect().location();
return window_relative_rect().translated(window_position);