don't return null on non-multihead

2002-06-07  Havoc Pennington  <hp@redhat.com>

	* src/place.c (meta_window_place): don't return null on non-multihead
This commit is contained in:
Havoc Pennington 2002-06-07 15:16:36 +00:00 committed by Havoc Pennington
parent a7c8cea1b5
commit 9bcdc8be00
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-06-07 Havoc Pennington <hp@redhat.com>
* src/place.c (meta_window_place): don't return null on non-multihead
2002-06-06 Havoc Pennington <hp@pobox.com>
* src/screen.c (meta_screen_get_current_xinerama): implement

View File

@ -849,7 +849,7 @@ const MetaXineramaScreenInfo*
meta_screen_get_current_xinerama (MetaScreen *screen)
{
if (screen->n_xinerama_infos == 1)
return 0;
return &screen->xinerama_infos[0];
/* Sadly, we have to do it this way. Yuck.
*/