mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
window: Remove width/height from meta_window_new_for_wayland
This commit is contained in:
@ -508,8 +508,6 @@ MetaWindow* meta_window_new_with_attrs (MetaDisplay *display,
|
||||
MetaCompEffect effect,
|
||||
XWindowAttributes *attrs);
|
||||
MetaWindow *meta_window_new_for_wayland (MetaDisplay *display,
|
||||
int width,
|
||||
int height,
|
||||
MetaWaylandSurface *surface);
|
||||
void meta_window_unmanage (MetaWindow *window,
|
||||
guint32 timestamp);
|
||||
|
@ -1369,8 +1369,6 @@ display_notify_window (MetaDisplay *display, MetaWindow *window)
|
||||
|
||||
MetaWindow *
|
||||
meta_window_new_for_wayland (MetaDisplay *display,
|
||||
int width,
|
||||
int height,
|
||||
MetaWaylandSurface *surface)
|
||||
{
|
||||
XWindowAttributes attrs;
|
||||
@ -1379,8 +1377,8 @@ meta_window_new_for_wayland (MetaDisplay *display,
|
||||
|
||||
attrs.x = 0;
|
||||
attrs.y = 0;
|
||||
attrs.width = width;
|
||||
attrs.height = height;
|
||||
attrs.width = 1;
|
||||
attrs.height = 1;
|
||||
attrs.border_width = 0;
|
||||
attrs.depth = 24;
|
||||
attrs.visual = NULL;
|
||||
|
Reference in New Issue
Block a user