~gala-dev/gala/windowswitcher-fade-opacity

« back to all changes in this revision

Viewing changes to vapi/libmutter.vapi

  • Committer: RabbitBot
  • Author(s): Tom Beckmann, Rico Tzschichholz, Cody Garver
  • Date: 2014-04-06 18:30:23 UTC
  • mfrom: (368.1.21 plugins)
  • Revision ID: rabbitbot-20140406183023-0v1juolllz5u2fht
Add plugin support, move zoom functionality into a plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
#endif
32
32
                [CCode (cheader_filename = "meta/prefs.h")]
33
33
                public static bool get_attach_modal_dialogs ();
34
 
#if HAS_MUTTER38
35
34
                [CCode (cheader_filename = "meta/prefs.h")]
36
35
                public static bool get_auto_maximize ();
37
 
#endif
38
36
                [CCode (cheader_filename = "meta/prefs.h")]
39
37
                public static bool get_auto_raise ();
40
38
                [CCode (cheader_filename = "meta/prefs.h")]
80
78
                public static GLib.List<weak Meta.KeyPref> get_keybindings ();
81
79
#endif
82
80
                [CCode (cheader_filename = "meta/prefs.h")]
83
 
#if HAS_MUTTER38
84
81
                public static int get_mouse_button_menu ();
85
 
#else
86
 
                public static uint get_mouse_button_menu ();
87
 
#endif
88
82
                [CCode (cheader_filename = "meta/prefs.h")]
89
83
                public static Meta.VirtualModifier get_mouse_button_mods ();
90
84
                [CCode (cheader_filename = "meta/prefs.h")]
91
 
#if HAS_MUTTER38
92
85
                public static int get_mouse_button_resize ();
93
 
#else
94
 
                public static uint get_mouse_button_resize ();
95
 
#endif
96
86
#if !HAS_MUTTER312
97
87
                [CCode (cheader_filename = "meta/prefs.h")]
98
88
                public static bool get_no_tab_popup ();
157
147
                public static void error_trap_push (Meta.Display display);
158
148
                [CCode (cheader_filename = "meta/main.h", cname = "meta_error_trap_push_with_return")]
159
149
                public static void error_trap_push_with_return (Meta.Display display);
160
 
#if HAS_MUTTER38
161
150
                [CCode (cheader_filename = "meta/main.h", cname = "meta_external_binding_name_for_action")]
162
151
                public static string external_binding_name_for_action (uint keybinding_action);
163
 
#endif
164
152
                [CCode (cheader_filename = "meta/main.h", cname = "meta_fatal")]
165
153
                public static void fatal (string format, ...);
166
154
                [CCode (cheader_filename = "meta/main.h", cname = "meta_free_gslist_and_elements")]
204
192
                public static void set_verbose (bool setting);
205
193
#endif
206
194
                [CCode (cheader_filename = "meta/main.h", cname = "meta_show_dialog")]
207
 
#if HAS_MUTTER36
208
195
                public static GLib.Pid show_dialog (string type, string message, string timeout, string display, string ok_text, string cancel_text, string icon_name, int transient_for, GLib.SList<string> columns, GLib.SList<string> entries);
209
 
#else
210
 
                public static GLib.Pid show_dialog (string type, string message, string timeout, string display, string ok_text, string cancel_text, int transient_for, GLib.SList<string> columns, GLib.SList<string> entries);
211
 
#endif
212
196
                [CCode (cheader_filename = "meta/main.h", cname = "meta_topic_real")]
213
197
                public static void topic_real (Meta.DebugTopic topic, string format, ...);
214
198
                [CCode (cheader_filename = "meta/main.h", cname = "meta_unsigned_long_equal")]
220
204
                [CCode (cheader_filename = "meta/main.h", cname = "meta_warning")]
221
205
                public static void warning (string format, ...);
222
206
        }
223
 
#if HAS_MUTTER38
224
207
        [CCode (cheader_filename = "meta/meta-background.h", type_id = "meta_background_get_type ()")]
225
208
        public class Background : GLib.Object, Clutter.Content {
226
209
                [CCode (has_construct_function = false)]
291
274
                public double x;
292
275
                public double y;
293
276
        }
294
 
#else
295
 
        [CCode (cheader_filename = "meta/meta-background-actor.h", type_id = "meta_background_actor_get_type ()")]
296
 
        public class BackgroundActor : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
297
 
                [CCode (has_construct_function = false)]
298
 
                protected BackgroundActor ();
299
 
                [CCode (has_construct_function = false, type = "ClutterActor*")]
300
 
                public BackgroundActor.for_screen (Meta.Screen screen);
301
 
#if !HAS_MUTTER36
302
 
                public void add_glsl_snippet (Meta.SnippetHook hook, string declarations, string code, bool is_replace);
303
 
                public void set_uniform_float (string uniform_name, int n_components, int count, [CCode (array_length_cname = "uniform_length", array_length_pos = 4.1)] float[] uniform);
304
 
#endif
305
 
                [NoAccessorMethod]
306
 
                public float dim_factor { get; set; }
307
 
        }
308
 
#endif
309
277
        [CCode (cheader_filename = "meta/compositor.h")]
310
278
        [Compact]
311
279
        public class Compositor {
312
280
                public void add_window (Meta.Window window);
313
281
                public void destroy ();
314
 
#if HAS_MUTTER38
315
282
                public bool filter_keybinding (Meta.Screen screen, Meta.KeyBinding binding);
316
 
#endif
317
283
                public void flash_screen (Meta.Screen screen);
318
 
#if !HAS_MUTTER38
319
 
                [CCode (cheader_filename = "meta/compositor.h", cname = "meta_get_background_actor_for_screen")]
320
 
                public static unowned Clutter.Actor? get_background_actor_for_screen (Meta.Screen screen);
321
 
#endif
322
284
#if !HAS_MUTTER310
323
285
                [CCode (cheader_filename = "meta/compositor.h", cname = "meta_get_overlay_group_for_screen")]
324
286
                public static unowned Clutter.Actor? get_overlay_group_for_screen (Meta.Screen screen);
328
290
#endif
329
291
                [CCode (cheader_filename = "meta/compositor-mutter.h", cname = "meta_get_stage_for_screen")]
330
292
                public static unowned Clutter.Actor? get_stage_for_screen (Meta.Screen screen);
331
 
#if HAS_MUTTER38
332
293
                [CCode (cheader_filename = "meta/compositor-mutter.h", cname = "meta_get_top_window_group_for_screen")]
333
294
                public static unowned Clutter.Actor? get_top_window_group_for_screen (Meta.Screen screen);
334
 
#endif
335
295
                [CCode (cheader_filename = "meta/compositor-mutter.h", cname = "meta_get_window_actors")]
336
296
                public static unowned GLib.List<weak Meta.WindowActor>? get_window_actors (Meta.Screen screen);
337
297
                [CCode (cheader_filename = "meta/compositor-mutter.h", cname = "meta_get_window_group_for_screen")]
344
304
                public void maximize_window (Meta.Window window, Meta.Rectangle old_rect, Meta.Rectangle new_rect);
345
305
                [CCode (cheader_filename = "meta/main.h")]
346
306
                public static unowned Meta.Compositor @new (Meta.Display display);
347
 
#if HAS_MUTTER38
348
307
                public void queue_frame_drawn (Meta.Window window, bool no_delay_frame);
349
 
#endif
350
308
                public void remove_window (Meta.Window window);
351
 
#if HAS_MUTTER38
352
309
                public void set_updates_frozen (Meta.Window window, bool updates_frozen);
353
 
#else
354
 
                public void set_updates (Meta.Window window, bool updates);
355
 
#endif
356
310
#if HAS_MUTTER312
357
311
                public void show_tile_preview (Meta.Screen screen, Meta.Window window, Meta.Rectangle tile_rect, int tile_monitor_number);
358
312
#endif
364
318
                public void switch_workspace (Meta.Screen screen, Meta.Workspace from, Meta.Workspace to, Meta.MotionDirection direction);
365
319
                public void sync_screen_size (Meta.Screen screen, uint width, uint height);
366
320
                public void sync_stack (Meta.Screen screen, GLib.List<Meta.WindowActor> stack);
367
 
#if HAS_MUTTER38
368
321
                public void sync_window_geometry (Meta.Window window, bool did_placement);
369
 
#else
370
 
                public void sync_window_geometry (Meta.Window window);
371
 
#endif
372
322
                public void unmanage_screen (Meta.Screen screen);
373
323
                public void unmaximize_window (Meta.Window window, Meta.Rectangle old_rect, Meta.Rectangle new_rect);
374
324
#if !HAS_MUTTER312
400
350
                [CCode (has_construct_function = false)]
401
351
                protected Display ();
402
352
                public void add_ignored_crossing_serial (ulong serial);
403
 
#if HAS_MUTTER38
404
353
                public uint add_keybinding (string name, GLib.Settings settings, Meta.KeyBindingFlags flags, owned Meta.KeyHandlerFunc handler);
405
 
#else
406
 
                public bool add_keybinding (string name, GLib.Settings settings, Meta.KeyBindingFlags flags, owned Meta.KeyHandlerFunc handler);
407
 
#endif
408
354
                public bool begin_grab_op (Meta.Screen screen, Meta.Window window, Meta.GrabOp op, bool pointer_already_grabbed, bool frame_action, int button, ulong modmask, uint32 timestamp, int root_x, int root_y);
409
355
                public void clear_mouse_mode ();
410
356
                public void end_grab_op (uint32 timestamp);
411
357
                public void focus_the_no_focus_window (Meta.Screen screen, uint32 timestamp);
412
 
#if !HAS_MUTTER38
413
 
                public X.Atom get_atom (Meta.Atom meta_atom);
414
 
#endif
415
 
#if HAS_MUTTER38
416
358
                public void freeze_keyboard (X.Window window, uint32 timestamp);
417
 
#endif
418
359
                public unowned Meta.Compositor get_compositor ();
419
360
                public void get_compositor_version (int major, int minor);
420
361
                public uint32 get_current_time ();
423
364
                public unowned Meta.Window get_focus_window ();
424
365
                public Meta.GrabOp get_grab_op ();
425
366
                public uint get_ignored_modifier_mask ();
426
 
#if HAS_MUTTER38
427
367
                public uint get_keybinding_action (uint keycode, ulong mask);
428
 
#else
429
 
                public Meta.KeyBindingAction get_keybinding_action (uint keycode, ulong mask);
430
 
#endif
431
368
                public uint32 get_last_user_time ();
432
369
                public X.Window get_leader_window ();
433
370
                public unowned GLib.SList<Meta.Screen> get_screens ();
436
373
                public GLib.List<weak Meta.Window> get_tab_list (Meta.TabList type, Meta.Screen screen, Meta.Workspace? workspace);
437
374
                public unowned Meta.Window get_tab_next (Meta.TabList type, Meta.Screen screen, Meta.Workspace workspace, Meta.Window? window, bool backward);
438
375
                public unowned X.Display get_xdisplay ();
439
 
#if HAS_MUTTER38
440
376
                public int get_xinput_opcode ();
441
377
                public uint grab_accelerator (string accelerator);
442
 
#endif
443
378
                public bool has_shape ();
444
379
                public unowned Meta.Group lookup_group (X.Window group_leader);
445
380
                public bool remove_keybinding (string name);
450
385
                public void set_input_focus_window (Meta.Window window, bool focus_frame, uint32 timestamp);
451
386
                public GLib.SList<weak Meta.Window> sort_windows_by_stacking (GLib.SList<Meta.Window> windows);
452
387
                public bool supports_extended_barriers ();
453
 
#if HAS_MUTTER38
454
388
                public void unfreeze_keyboard (uint32 timestamp);
455
 
#endif
456
389
                public bool ungrab_accelerator (uint action_id);
457
 
#if HAS_MUTTER38
458
390
                public void ungrab_keyboard (uint32 timestamp);
459
 
#endif
460
391
                public void unmanage_screen (Meta.Screen screen, uint32 timestamp);
461
392
                public bool xserver_time_is_before (uint32 time1, uint32 time2);
462
393
                public bool xwindow_is_a_no_focus_window (X.Window xwindow);
463
394
#if HAS_MUTTER310
464
395
                public signal void accelerator_activated (uint object, uint p0, uint p1);
465
 
#elif HAS_MUTTER38
 
396
#else
466
397
                public signal void accelerator_activated (uint object, uint p0);
467
398
#endif
468
399
                public signal void grab_op_begin (Meta.Screen object, Meta.Window p0, Meta.GrabOp p1);
509
440
                public uint get_mask ();
510
441
                public Meta.VirtualModifier get_modifiers ();
511
442
                public unowned string get_name ();
512
 
#if HAS_MUTTER38
513
443
                public bool is_builtin ();
514
 
#endif
515
444
                [CCode (cheader_filename = "meta/keybindings.h", cname = "meta_keybindings_set_custom_handler")]
516
445
                public static bool set_custom_handler (string name, owned Meta.KeyHandlerFunc? handler);
517
446
#if !HAS_MUTTER312
541
470
                [NoWrapper]
542
471
                public virtual void hide_tile_preview ();
543
472
#endif
544
 
#if HAS_MUTTER38
545
473
                [NoWrapper]
546
474
                public virtual bool keybinding_filter (Meta.KeyBinding binding);
547
 
#endif
548
475
                [NoWrapper]
549
476
                public virtual void kill_switch_workspace ();
550
477
                [NoWrapper]
551
478
                public virtual void kill_window_effects (Meta.WindowActor actor);
552
 
#if HAS_MUTTER36
553
479
                public static void manager_set_plugin_type (GLib.Type gtype);
554
 
#endif
555
480
                [NoWrapper]
556
481
                public virtual void map (Meta.WindowActor actor);
557
482
                public void map_completed (Meta.WindowActor actor);
573
498
                [NoWrapper]
574
499
                public virtual void switch_workspace (int from, int to, Meta.MotionDirection direction);
575
500
                public void switch_workspace_completed ();
576
 
#if !HAS_MUTTER36
577
 
                public static void type_register (GLib.Type plugin_type);
578
 
#endif
579
501
                [NoWrapper]
580
502
                public virtual void unmaximize (Meta.WindowActor actor, int x, int y, int width, int height);
581
503
                public void unmaximize_completed (Meta.WindowActor actor);
593
515
                [CCode (has_construct_function = false)]
594
516
                protected Screen ();
595
517
                public unowned Meta.Workspace? append_new_workspace (bool activate, uint32 timestamp);
596
 
#if HAS_MUTTER38
597
518
                public void focus_default_window (uint32 timestamp);
598
 
#endif
599
519
                public static unowned Meta.Screen? for_x_screen (X.Screen xscreen);
600
520
                public unowned Meta.Workspace get_active_workspace ();
601
521
                public int get_active_workspace_index ();
605
525
#endif
606
526
                public unowned Meta.Display get_display ();
607
527
                public Meta.Rectangle get_monitor_geometry (int monitor);
608
 
#if HAS_MUTTER38
609
528
                public bool get_monitor_in_fullscreen (int monitor);
610
529
                public int get_monitor_index_for_rect (Meta.Rectangle rect);
611
 
#endif
612
530
                public int get_n_monitors ();
613
531
                public int get_n_workspaces ();
614
532
                public int get_primary_monitor ();
630
548
                [NoAccessorMethod]
631
549
                public bool keyboard_grabbed { get; }
632
550
                public int n_workspaces { get; }
633
 
#if HAS_MUTTER38
634
551
                public signal void in_fullscreen_changed ();
635
 
#endif
636
552
                public signal void monitors_changed ();
637
553
                public signal void restacked ();
638
554
                public signal void startup_sequence_changed (void* object);
662
578
                public ShapedTexture ();
663
579
#endif
664
580
                public Cairo.Surface get_image (Cairo.RectangleInt clip);
665
 
#if HAS_MUTTER38
666
581
                public unowned Cogl.Texture get_texture ();
667
 
#else
668
 
                public unowned Cogl.Handle get_texture ();
669
 
#endif
670
582
#if !HAS_MUTTER312
671
583
#if HAS_MUTTER310
672
584
                public void set_clip_region (Cairo.Region clip_region);
678
590
#if HAS_MUTTER312
679
591
                public void set_input_shape_region (Cairo.Region shape_region);
680
592
#endif
681
 
#if HAS_MUTTER38
682
593
                public void set_mask_texture (Cogl.Texture mask_texture);
683
 
#else
684
 
                public void set_mask_texture (Cogl.Handle mask_texture);
685
 
#endif
686
594
#if HAS_MUTTER310
687
595
                public void set_opaque_region (owned Cairo.Region opaque_region);
688
596
#endif
725
633
#else
726
634
                public void change_workspace_by_index (int space_index, bool append, uint32 timestamp);
727
635
#endif
728
 
#if HAS_MUTTER38
729
636
                public void check_alive (uint32 timestamp);
730
 
#endif
731
637
#if HAS_MUTTER312
732
638
                public Meta.Rectangle client_rect_to_frame_rect (Meta.Rectangle client_rect);
733
639
#endif
741
647
#if HAS_MUTTER312
742
648
                public Meta.Rectangle frame_rect_to_client_rect (Meta.Rectangle frame_rect);
743
649
#endif
744
 
#if HAS_MUTTER38
745
650
                [CCode (array_length_pos = 0.1, array_length_type = "gsize")]
746
651
                public int[] get_all_monitors ();
747
 
#endif
748
652
                public unowned string get_client_machine ();
749
653
                public unowned GLib.Object get_compositor_private ();
750
654
                public unowned string get_description ();
785
689
                public X.Atom get_window_type_atom ();
786
690
                public unowned string get_wm_class ();
787
691
                public unowned string get_wm_class_instance ();
788
 
#if HAS_MUTTER38
789
692
                public Meta.Rectangle get_work_area_all_monitors ();
790
693
                public Meta.Rectangle get_work_area_current_monitor ();
791
694
                public Meta.Rectangle get_work_area_for_monitor (int which_monitor);
792
 
#endif
793
695
                public unowned Meta.Workspace get_workspace ();
794
696
                public X.Window get_xwindow ();
795
697
                public void group_leader_changed ();
802
704
                public bool is_mapped ();
803
705
#endif
804
706
                public bool is_modal ();
805
 
#if HAS_MUTTER38
806
707
                public bool is_monitor_sized ();
807
 
#endif
808
708
                public bool is_on_all_workspaces ();
809
709
                public bool is_on_primary_monitor ();
810
710
                public bool is_override_redirect ();
811
711
                public bool is_remote ();
812
 
#if HAS_MUTTER38
813
712
                public bool is_screen_sized ();
814
 
#endif
815
713
                public bool is_shaded ();
816
714
                public bool is_skip_taskbar ();
817
715
                public void kill ();
818
 
#if HAS_MUTTER38
819
716
                public bool located_on_workspace (Meta.Workspace workspace);
820
 
#endif
821
717
                public void lower ();
822
718
                public void make_above ();
823
719
                public void make_fullscreen ();
828
724
                public void move_resize_frame (bool user_op, int root_x_nw, int root_y_nw, int w, int h);
829
725
                public void move_to_monitor (int monitor);
830
726
                public void raise ();
831
 
#if HAS_MUTTER38
832
727
                public bool requested_bypass_compositor ();
833
728
                public bool requested_dont_bypass_compositor ();
834
 
#endif
835
729
                public void resize (bool user_op, int w, int h);
836
730
                public void set_compositor_private (GLib.Object priv);
837
731
                public void set_demands_attention ();
838
 
#if HAS_MUTTER38
839
732
                public void set_icon_geometry (Meta.Rectangle? rect);
840
 
#endif
841
733
                public void shade (uint32 timestamp);
842
734
                public bool showing_on_its_workspace ();
843
735
                public void shutdown_group ();
904
796
                public signal void workspace_changed (int object);
905
797
        }
906
798
        [CCode (cheader_filename = "meta/meta-window-actor.h", type_id = "meta_window_actor_get_type ()")]
907
 
#if HAS_MUTTER38
908
799
        public class WindowActor : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
909
 
#else
910
 
        public class WindowActor : Clutter.Group, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
911
 
#endif
912
800
                [CCode (has_construct_function = false)]
913
801
                protected WindowActor ();
914
802
#if !HAS_MUTTER310
947
835
                public unowned Meta.Workspace get_neighbor (Meta.MotionDirection direction);
948
836
                public unowned Meta.Screen get_screen ();
949
837
                public Meta.Rectangle get_work_area_all_monitors ();
950
 
#if HAS_MUTTER38
951
838
                public Meta.Rectangle get_work_area_for_monitor (int which_monitor);
952
 
#endif
953
839
                public int index ();
954
840
                public GLib.List<weak Meta.Window> list_windows ();
955
841
                public void set_builtin_struts (GLib.SList<Meta.Strut> struts);
1045
931
                public Meta.Rectangle rect;
1046
932
                public Meta.Side side;
1047
933
        }
1048
 
#if HAS_MUTTER38
1049
934
        [CCode (cheader_filename = "meta/meta-background.h", cprefix = "META_BACKGROUND_EFFECTS_", type_id = "meta_background_effects_get_type ()")]
1050
935
        [Flags]
1051
936
        public enum BackgroundEffects {
1060
945
                NEGATIVE_X,
1061
946
                NEGATIVE_Y
1062
947
        }
1063
 
#else
1064
 
        [CCode (cheader_filename = "meta/display.h", cprefix = "META_ATOM_", type_id = "meta_atom_get_type ()")]
1065
 
        public enum Atom {
1066
 
                FIRST
1067
 
        }
1068
 
#endif
1069
948
        [CCode (cheader_filename = "meta/common.h", cprefix = "META_BUTTON_FUNCTION_", type_id = "meta_button_function_get_type ()")]
1070
949
        public enum ButtonFunction {
1071
950
                MENU,
1273
1152
                WORKSPACE_RIGHT,
1274
1153
                WORKSPACE_UP,
1275
1154
                WORKSPACE_DOWN,
1276
 
#if HAS_MUTTER38
1277
1155
                SWITCH_APPLICATIONS,
1278
1156
                SWITCH_APPLICATIONS_BACKWARD,
1279
 
#endif
1280
1157
                SWITCH_GROUP,
1281
1158
                SWITCH_GROUP_BACKWARD,
1282
1159
                SWITCH_WINDOWS,
1369
1246
        [CCode (cheader_filename = "meta/util.h", cprefix = "META_LATER_", type_id = "meta_later_type_get_type ()")]
1370
1247
        public enum LaterType {
1371
1248
                RESIZE,
1372
 
#if HAS_MUTTER38
1373
1249
                CALC_SHOWING,
1374
1250
                CHECK_FULLSCREEN,
1375
1251
                SYNC_STACK,
1376
 
#endif
1377
1252
                BEFORE_REDRAW,
1378
1253
                IDLE
1379
1254
        }
1461
1336
#if !HAS_MUTTER312
1462
1337
                NO_TAB_POPUP,
1463
1338
#endif
1464
 
#if HAS_MUTTER38
1465
1339
                DRAGGABLE_BORDER_WIDTH,
1466
1340
                AUTO_MAXIMIZE;
1467
 
#else
1468
 
                DRAGGABLE_BORDER_WIDTH;
1469
 
#endif
1470
1341
                [CCode (cheader_filename = "meta/main.h")]
1471
1342
                public static unowned string to_string (Meta.Preference pref);
1472
1343
        }
1484
1355
                TOP,
1485
1356
                BOTTOM
1486
1357
        }
1487
 
#if !HAS_MUTTER36
1488
 
        [CCode (cheader_filename = "meta/main.h", cprefix = "META_SNIPPET_HOOK_", type_id = "meta_snippet_hook_get_type ()")]
1489
 
        public enum SnippetHook {
1490
 
                VERTEX,
1491
 
                VERTEX_TRANSFORM,
1492
 
                FRAGMENT,
1493
 
                TEXTURE_COORD_TRANSFORM,
1494
 
                LAYER_FRAGMENT,
1495
 
                TEXTURE_LOOKUP
1496
 
        }
1497
 
#endif
1498
1358
        [CCode (cheader_filename = "meta/common.h", cprefix = "META_LAYER_", type_id = "meta_stack_layer_get_type ()")]
1499
1359
        public enum StackLayer {
1500
1360
                DESKTOP,
1582
1442
        public const int PRIORITY_REDRAW;
1583
1443
        [CCode (cheader_filename = "meta/main.h", cname = "META_PRIORITY_RESIZE")]
1584
1444
        public const int PRIORITY_RESIZE;
1585
 
#if HAS_MUTTER38
1586
1445
        [CCode (cheader_filename = "meta/main.h", cname = "META_VIRTUAL_CORE_KEYBOARD_ID")]
1587
1446
        public const int VIRTUAL_CORE_KEYBOARD_ID;
1588
1447
        [CCode (cheader_filename = "meta/main.h", cname = "META_VIRTUAL_CORE_POINTER_ID")]
1589
1448
        public const int VIRTUAL_CORE_POINTER_ID;
1590
 
#endif
1591
1449
        [CCode (cheader_filename = "meta/main.h")]
1592
1450
        public static void exit (Meta.ExitCode code);
1593
1451
        [CCode (cheader_filename = "meta/main.h")]
1598
1456
        public static void init ();
1599
1457
        [CCode (cheader_filename = "meta/main.h")]
1600
1458
        public static void quit (Meta.ExitCode code);
1601
 
#if HAS_MUTTER38
1602
1459
        [CCode (cheader_filename = "meta/main.h")]
1603
1460
        public static void register_with_session ();
1604
 
#endif
1605
1461
        [CCode (cheader_filename = "meta/main.h")]
1606
1462
        public static int run ();
1607
1463
        [CCode (cheader_filename = "meta/main.h")]