Skip to content

Commit b4ad0b5

Browse files
PapyElGringoDrakulix
authored andcommitted
expose x11 hints
1 parent 0b3d070 commit b4ad0b5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/xwayland/xwm/surface.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,11 @@ impl X11Surface {
388388
self.state.lock().unwrap().transient_for
389389
}
390390

391+
/// Returns the hints for the underlying X11 window
392+
pub fn hints(&self) -> Option<WmHints> {
393+
self.state.lock().unwrap().hints
394+
}
395+
391396
/// Returns the size hints for the underlying X11 window
392397
pub fn size_hints(&self) -> Option<WmSizeHints> {
393398
self.state.lock().unwrap().normal_hints

0 commit comments

Comments
 (0)