blob: 0e0e30fc120c9f7be1cec314ad5fd1772004d03d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
diff --git a/src/force-fullscreen.cpp b/src/force-fullscreen.cpp
index 0d3b07c..fa7996b 100644
--- a/src/force-fullscreen.cpp
+++ b/src/force-fullscreen.cpp
@@ -31,6 +31,7 @@
#include <wayfire/plugin.hpp>
#include <wayfire/output.hpp>
#include <wayfire/toplevel-view.hpp>
+#include <wayfire/window-scope.hpp>
#include <wayfire/view-transform.hpp>
#include <wayfire/compositor-view.hpp>
#include <wayfire/workspace-set.hpp>
@@ -393,6 +394,13 @@ class wayfire_force_fullscreen : public wf::per_output_plugin_instance_t
return false;
}
+ // Pyr: a drawer's window (the drawers plugin marks it exempt from monitor reservations) slides in on one
+ // monitor edge; scaled to the whole output it would leave the drawer's strip empty.
+ if (view->has_data<wf::monitor_reservation_exempt_t>())
+ {
+ return false;
+ }
+
return toggle_fullscreen(view);
};
|