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:
parent
dabfeb6dd8
commit
0069020e6c
13 changed files with 17 additions and 17 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue