Code style

This commit is contained in:
Simon Long 2024-05-07 14:30:39 +01:00
parent c2873a75f3
commit a553d174b5

View file

@ -89,9 +89,10 @@ magnify(struct output *output, struct wlr_buffer *output_buffer, struct wlr_box
} }
if (theme->mag_fullscreen) { if (theme->mag_fullscreen) {
// The lines below were the first attempt at enabling fullscreen (with no other changes required). // The lines below were the first attempt at enabling fullscreen (with no other changes
// They appeared to work with a 4K monitor set to 1080p, but when the monitor was set to native // required). They appeared to work with a 4K monitor set to 1080p, but when the monitor
// 4K, they resulted in a corrupt magnifier. Keeping here for the time being in case they are useful later... // was set to native 4K, they resulted in a corrupt magnifier. Keeping here for the time
// being in case they are useful later...
//int width = output_buffer->width * 2 + 1; //int width = output_buffer->width * 2 + 1;
//int height = output_buffer->height * 2 + 1; //int height = output_buffer->height * 2 + 1;
//double x = ox - ((width - 1) / 2.0); //double x = ox - ((width - 1) / 2.0);