Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
363 B

  1. void
  2. togglefullscreen(const Arg *arg)
  3. {
  4. Client *c = selmon->sel;
  5. if (!c)
  6. return;
  7. #if FAKEFULLSCREEN_CLIENT_PATCH
  8. if (c->fakefullscreen == 1) { // fake fullscreen --> fullscreen
  9. c->fakefullscreen = 2;
  10. setfullscreen(c, 1);
  11. } else
  12. setfullscreen(c, !c->isfullscreen);
  13. #else
  14. setfullscreen(c, !c->isfullscreen);
  15. #endif // FAKEFULLSCREEN_CLIENT_PATCH
  16. }