mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
search for the window's screen by root window instead of Screen*, maybe it
2002-05-27 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_new): search for the window's screen by root window instead of Screen*, maybe it will help with bug #82664
This commit is contained in:
parent
2eeb984e4e
commit
aad6035c57
@ -1,3 +1,9 @@
|
||||
2002-05-27 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* src/window.c (meta_window_new): search for the window's screen
|
||||
by root window instead of Screen*, maybe it will help with
|
||||
bug #82664
|
||||
|
||||
2002-05-27 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* autogen.sh: Hook up intltoolize here.
|
||||
|
@ -1,5 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Name=Metacity
|
||||
Name[no]=Metacity
|
||||
Exec=metacity
|
||||
|
||||
[Window Manager]
|
||||
|
@ -282,7 +282,9 @@ meta_window_new (MetaDisplay *display, Window xwindow,
|
||||
tmp = display->screens;
|
||||
while (tmp != NULL)
|
||||
{
|
||||
if (((MetaScreen *)tmp->data)->xscreen == attrs.screen)
|
||||
MetaScreen *scr = tmp->data;
|
||||
|
||||
if (scr->xroot == attrs.root)
|
||||
{
|
||||
window->screen = tmp->data;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user