mirror of
https://github.com/hyprwm/hyprpicker.git
synced 2024-11-17 00:25:57 +01:00
guard name
This commit is contained in:
parent
d0ed94a52d
commit
13865551f2
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ void Events::scale(void *data, wl_output *wl_output, int32_t scale) {
|
|||
void Events::name(void *data, wl_output *wl_output, const char *name) {
|
||||
const auto PMONITOR = (SMonitor*)data;
|
||||
|
||||
if (name)
|
||||
PMONITOR->name = name;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue