wlmaker
|
#include <libbase/libbase.h>
#include <wlr/util/log.h>
#include <limits.h>
#include <regex.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include "clip.h"
#include "dock.h"
#include "server.h"
#include "task_list.h"
Macros | |
#define | _POSIX_C_SOURCE 200112L |
setenv() is a POSIX extension. | |
Functions | |
static void | wlr_to_bs_log (enum wlr_log_importance importance, const char *fmt, va_list args) |
void | handle_quit (wlmaker_server_t *server_ptr, void *arg_ptr) |
void | new_terminal (wlmaker_server_t *server_ptr, void *arg_ptr) |
void | prev_workspace (wlmaker_server_t *server_ptr, void *arg_ptr) |
void | next_workspace (wlmaker_server_t *server_ptr, void *arg_ptr) |
void | lower_view (wlmaker_server_t *server_ptr, void *arg_ptr) |
void | raise_view (wlmaker_server_t *server_ptr, void *arg_ptr) |
void | toggle_fullscreen (wlmaker_server_t *server_ptr, void *arg_ptr) |
void | toggle_maximize (wlmaker_server_t *server_ptr, void *arg_ptr) |
int | main (int argc, char *argv[]) |
Variables | |
static const char * | autostarted_commands [] |
static regex_t | wlmaker_wlr_log_regex |
static const char * | wlmaker_wlr_log_regex_string |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
void handle_quit | ( | wlmaker_server_t * | server_ptr, |
void * | arg_ptr ) |
Quits the server.
void lower_view | ( | wlmaker_server_t * | server_ptr, |
void * | arg_ptr ) |
Lowers the currently-active view, if any.
int main | ( | int | argc, |
char * | argv[] ) |
The main program.
void new_terminal | ( | wlmaker_server_t * | server_ptr, |
void * | arg_ptr ) |
Creates a new terminal.
void next_workspace | ( | wlmaker_server_t * | server_ptr, |
void * | arg_ptr ) |
Switches to next workspace.
void prev_workspace | ( | wlmaker_server_t * | server_ptr, |
void * | arg_ptr ) |
Switches to previous workspace.
void raise_view | ( | wlmaker_server_t * | server_ptr, |
void * | arg_ptr ) |
Raises the currently-active view, if any.
void toggle_fullscreen | ( | wlmaker_server_t * | server_ptr, |
void * | arg_ptr ) |
Toggles fullscreen view for the activated view.
void toggle_maximize | ( | wlmaker_server_t * | server_ptr, |
void * | arg_ptr ) |
Toggles maximization for the activated view.
|
static |
Wraps the wlr_log calls on bs_log.
importance | |
fmt | |
args |
|
static |
Set of commands to be executed on startup.
|
static |
Compiled regular expression for extracting file & line no. from wlr_log.
|
static |
Regular expression string for extracting file & line no. from wlr_log.