mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 19:10:43 -05:00
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:
parent
a7c8cea1b5
commit
9bcdc8be00
@ -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>
|
2002-06-06 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* src/screen.c (meta_screen_get_current_xinerama): implement
|
* src/screen.c (meta_screen_get_current_xinerama): implement
|
||||||
|
@ -849,7 +849,7 @@ const MetaXineramaScreenInfo*
|
|||||||
meta_screen_get_current_xinerama (MetaScreen *screen)
|
meta_screen_get_current_xinerama (MetaScreen *screen)
|
||||||
{
|
{
|
||||||
if (screen->n_xinerama_infos == 1)
|
if (screen->n_xinerama_infos == 1)
|
||||||
return 0;
|
return &screen->xinerama_infos[0];
|
||||||
|
|
||||||
/* Sadly, we have to do it this way. Yuck.
|
/* Sadly, we have to do it this way. Yuck.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user