Wayland: fix issue #492 - mark FLTK differences.
This commit is contained in:
parent
2a3b4e1f2d
commit
16f660f676
@ -2374,10 +2374,15 @@ pointer_button(void *data,
|
||||
toggle_maximized(&frame_cairo->frame);
|
||||
break;
|
||||
case BUTTON_CLOSE:
|
||||
#ifdef DONT_APPLY_FLTK_CHANGES
|
||||
if (closeable(frame_cairo))
|
||||
libdecor_frame_close(&frame_cairo->frame);
|
||||
#else
|
||||
if (closeable(frame_cairo)) {
|
||||
libdecor_frame_close(&frame_cairo->frame);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -2221,11 +2221,17 @@ pointer_button(void *data,
|
||||
toggle_maximized(&frame_gtk->frame);
|
||||
break;
|
||||
case HEADER_CLOSE:
|
||||
#ifdef DONT_APPLY_FLTK_CHANGES
|
||||
if (closeable(frame_gtk))
|
||||
libdecor_frame_close(
|
||||
&frame_gtk->frame);
|
||||
#else
|
||||
if (closeable(frame_gtk)) {
|
||||
libdecor_frame_close(
|
||||
&frame_gtk->frame);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user