WEST PALM BEACH, Fla. (AP) — President Donald Trump offered support Monday for an effort to strengthen the federal gun background check system as he hunkered down at his private Florida golf course just 40 miles from last week’s deadly school shooting.

Press Secretary Sarah Huckabee Sanders said the president spoke on Friday to Sen. John Cornyn, a Texas Republican, about a bipartisan bill designed to strengthen the FBI database of prohibited gun buyers.

"While discussions are ongoing and revisions are being considered, the President is supportive of efforts to improve the Federal background check system," Sanders said in a statement.

Trump, who is spending the weekend at his private Palm Beach estate, started President’s Day at his nearby golf club. The White House did not immediately answer questions about whether he was playing golf. The president spent most of the weekend at Mar-a-Lago, as White House aides advised against golfing too soon after the shooting at a Parkland high school that left 17 dead.

Trump spent much of the holiday weekend watching cable television news and grousing to club members and advisers about the investigation of Russian election meddling.

In a marathon series of furious weekend tweets from Mar-a-Lago, Trump vented about Russia, raging at the FBI for what he perceived to be a fixation on the Russia investigation at the cost of failing to deter the attack on a Florida high school. He made little mention of the nearby school shooting victims and the escalating gun control debate.

Surviving students have called for tougher gun control and are planning a march in Washington next month. Trump has focused his comments on mental health, rather than guns.

The White House said Sunday the president will host a "listening session" with students and teachers this week, but offered no details on who would attend or what would be discussed.

The bipartisan background check legislation would be aimed at ensuring that federal agencies and states accurately report relevant criminal information to the FBI. It was introduced after the Air Force failed to report the criminal history of the gunman who slaughtered more than two dozen people at a Texas church.

Trump has been a strong supporter of gun rights and the National Rifle Association. Last year, he signed a resolution blocking an Obama-era rule designed to keep guns out of the hands of certain mentally disabled people.

Kristin Brown, co-president of the Brady Campaign to Prevent Gun Violence, said the measure Trump discussed with Cornyn would help to enforce existing rules but would not close loopholes permitting private sales on the internet and at gun shows. She’s pressing for a ban on assault-type weapons and for laws enabling family members, guardians or police to ask judges to strip gun rights temporarily from people who show warning signs of violence.

"We need a comprehensive system," Brown said. "One of these isn’t enough."

Trump was last seen publicly Friday night when he visited Parkland. He fired off tweets Saturday and Sunday and met House Speaker Paul Ryan Sunday afternoon. He also visited the golf club Sunday night.

President Barack Obama took heavy criticism in 2014 when he went golfing during a vacation just minutes after denouncing the militants who had beheaded an American journalist. He later regretted playing golf so soon after the killing.

Trump has grown increasingly frustrated since the indictment from special counsel Robert Mueller on Friday charged 13 Russians with a plot to interfere in the U.S. presidential election.

On Twitter, Trump stressed that the Russian effort began before he declared his candidacy and asserted that the Obama administration bears some blame for it. He also insisted he never denied that the Kremlin interfered in the 2016 U.S. campaign, although in fact he has frequently challenged the veracity of the evidence.

Trump tweeted about the nation’s "heavy heart" after the shooting in Parkland. But he also sought to use the shooting to criticize the nation’s leading law enforcement agency.

Trump said late Saturday that the FBI "missed all of the many signals" sent by the suspect and argued that agents are "spending too much time trying to prove Russian collusion with the Trump campaign."

The FBI received a tip last month that the man now charged in the school shooting had a "desire to kill" and access to guns and could be plotting an attack. But the agency said Friday that agents failed to investigate.

Lemire contributed from Paradise Island, Bahamas.