mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 04:22:05 +00:00
restart: Fix pointer/XID confusion
This causes an error in recent gcc.
This commit is contained in:
parent
029673d0ee
commit
5df59f75cd
@ -53,7 +53,7 @@ meta_restart_init (void)
|
|||||||
{
|
{
|
||||||
Display *xdisplay = meta_ui_get_display ();
|
Display *xdisplay = meta_ui_get_display ();
|
||||||
Atom atom_restart_helper = XInternAtom (xdisplay, "_MUTTER_RESTART_HELPER", False);
|
Atom atom_restart_helper = XInternAtom (xdisplay, "_MUTTER_RESTART_HELPER", False);
|
||||||
Window restart_helper_window = NULL;
|
Window restart_helper_window = None;
|
||||||
|
|
||||||
restart_helper_window = XGetSelectionOwner (xdisplay, atom_restart_helper);
|
restart_helper_window = XGetSelectionOwner (xdisplay, atom_restart_helper);
|
||||||
if (restart_helper_window)
|
if (restart_helper_window)
|
||||||
|
Loading…
Reference in New Issue
Block a user